Skip to content

Commit e8b88c3

Browse files
- Should be 8 failing.
1 parent 111e68a commit e8b88c3

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

test/registry/src/aws/v0.1.0/services/cloud_control.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,28 @@ paths:
523523
description: Success
524524
components:
525525
x-stackQL-resources:
526+
resource_raw:
527+
name: resource
528+
x-cfn-schema-name: ResourceDescription
529+
x-example-where-clause: WHERE region = 'us-east-1' AND data__TypeName = '<TypeName>' AND data__Identifier = '<Identifier>'
530+
x-type: native
531+
methods:
532+
get_resource_raw:
533+
operation:
534+
$ref: '#/paths/~1?Action=GetResource&Version=2021-09-30/post'
535+
request:
536+
mediaType: application/x-amz-json-1.0
537+
response:
538+
mediaType: application/json
539+
openAPIDocKey: '200'
540+
id: aws.cloud_control.resource_raw
541+
sqlVerbs:
542+
delete: []
543+
insert: []
544+
select:
545+
- $ref: '#/components/x-stackQL-resources/resource_raw/methods/get_resource_raw'
546+
update: []
547+
title: resource_raw
526548
resource:
527549
name: resource
528550
x-cfn-schema-name: ResourceDescription
@@ -732,6 +754,7 @@ components:
732754
ClientToken:
733755
type: string
734756
DesiredState:
757+
x-stackQL-stringOnly: true
735758
allOf:
736759
- $ref: '#/components/schemas/Properties'
737760
- description: <p>Structured data format representing the desired state

test/robot/functional/stackql_mocked_from_cmd_line.robot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ AWS Cloud Control Log Group Insert Simple
549549

550550
AWS Cloud Control Log Group Insert Simple Rely on Annotation
551551
${inputStr} = Catenate
552-
... INSERT INTO aws.cloud_control.resource
552+
... INSERT INTO aws.cloud_control.resources
553553
... (data__TypeName, region, data__DesiredState)
554554
... SELECT 'AWS::Logs::LogGroup',
555555
... 'ap-southeast-1',

0 commit comments

Comments
 (0)