Skip to content

Commit 9c8c9c5

Browse files
author
AWS
committed
AWS IoT Things Graph Update: Remove incorrect endpoint tests
1 parent 39b659d commit 9c8c9c5

File tree

4 files changed

+40
-87
lines changed

4 files changed

+40
-87
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS IoT Things Graph",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

services/iotthingsgraph/src/main/resources/codegen-resources/endpoint-rule-set.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -83,7 +82,8 @@
8382
},
8483
"type": "endpoint"
8584
}
86-
]
85+
],
86+
"type": "tree"
8787
},
8888
{
8989
"conditions": [
@@ -96,7 +96,6 @@
9696
]
9797
}
9898
],
99-
"type": "tree",
10099
"rules": [
101100
{
102101
"conditions": [
@@ -110,7 +109,6 @@
110109
"assign": "PartitionResult"
111110
}
112111
],
113-
"type": "tree",
114112
"rules": [
115113
{
116114
"conditions": [
@@ -133,7 +131,6 @@
133131
]
134132
}
135133
],
136-
"type": "tree",
137134
"rules": [
138135
{
139136
"conditions": [
@@ -168,7 +165,6 @@
168165
]
169166
}
170167
],
171-
"type": "tree",
172168
"rules": [
173169
{
174170
"conditions": [],
@@ -179,14 +175,16 @@
179175
},
180176
"type": "endpoint"
181177
}
182-
]
178+
],
179+
"type": "tree"
183180
},
184181
{
185182
"conditions": [],
186183
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
187184
"type": "error"
188185
}
189-
]
186+
],
187+
"type": "tree"
190188
},
191189
{
192190
"conditions": [
@@ -200,14 +198,12 @@
200198
]
201199
}
202200
],
203-
"type": "tree",
204201
"rules": [
205202
{
206203
"conditions": [
207204
{
208205
"fn": "booleanEquals",
209206
"argv": [
210-
true,
211207
{
212208
"fn": "getAttr",
213209
"argv": [
@@ -216,11 +212,11 @@
216212
},
217213
"supportsFIPS"
218214
]
219-
}
215+
},
216+
true
220217
]
221218
}
222219
],
223-
"type": "tree",
224220
"rules": [
225221
{
226222
"conditions": [],
@@ -231,14 +227,16 @@
231227
},
232228
"type": "endpoint"
233229
}
234-
]
230+
],
231+
"type": "tree"
235232
},
236233
{
237234
"conditions": [],
238235
"error": "FIPS is enabled but this partition does not support FIPS",
239236
"type": "error"
240237
}
241-
]
238+
],
239+
"type": "tree"
242240
},
243241
{
244242
"conditions": [
@@ -252,7 +250,6 @@
252250
]
253251
}
254252
],
255-
"type": "tree",
256253
"rules": [
257254
{
258255
"conditions": [
@@ -272,7 +269,6 @@
272269
]
273270
}
274271
],
275-
"type": "tree",
276272
"rules": [
277273
{
278274
"conditions": [],
@@ -283,14 +279,16 @@
283279
},
284280
"type": "endpoint"
285281
}
286-
]
282+
],
283+
"type": "tree"
287284
},
288285
{
289286
"conditions": [],
290287
"error": "DualStack is enabled but this partition does not support DualStack",
291288
"type": "error"
292289
}
293-
]
290+
],
291+
"type": "tree"
294292
},
295293
{
296294
"conditions": [
@@ -326,9 +324,11 @@
326324
},
327325
"type": "endpoint"
328326
}
329-
]
327+
],
328+
"type": "tree"
330329
}
331-
]
330+
],
331+
"type": "tree"
332332
},
333333
{
334334
"conditions": [],

services/iotthingsgraph/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -221,17 +221,6 @@
221221
"UseDualStack": false
222222
}
223223
},
224-
{
225-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
226-
"expect": {
227-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
228-
},
229-
"params": {
230-
"Region": "us-iso-east-1",
231-
"UseFIPS": true,
232-
"UseDualStack": true
233-
}
234-
},
235224
{
236225
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
237226
"expect": {
@@ -245,17 +234,6 @@
245234
"UseDualStack": false
246235
}
247236
},
248-
{
249-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
250-
"expect": {
251-
"error": "DualStack is enabled but this partition does not support DualStack"
252-
},
253-
"params": {
254-
"Region": "us-iso-east-1",
255-
"UseFIPS": false,
256-
"UseDualStack": true
257-
}
258-
},
259237
{
260238
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
261239
"expect": {
@@ -269,17 +247,6 @@
269247
"UseDualStack": false
270248
}
271249
},
272-
{
273-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
274-
"expect": {
275-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
276-
},
277-
"params": {
278-
"Region": "us-isob-east-1",
279-
"UseFIPS": true,
280-
"UseDualStack": true
281-
}
282-
},
283250
{
284251
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
285252
"expect": {
@@ -293,17 +260,6 @@
293260
"UseDualStack": false
294261
}
295262
},
296-
{
297-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
298-
"expect": {
299-
"error": "DualStack is enabled but this partition does not support DualStack"
300-
},
301-
"params": {
302-
"Region": "us-isob-east-1",
303-
"UseFIPS": false,
304-
"UseDualStack": true
305-
}
306-
},
307263
{
308264
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
309265
"expect": {

services/iotthingsgraph/src/main/resources/codegen-resources/service-2.json

Lines changed: 14 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
"endpointPrefix":"iotthingsgraph",
66
"jsonVersion":"1.1",
77
"protocol":"json",
8+
"protocols":["json"],
89
"serviceFullName":"AWS IoT Things Graph",
910
"serviceId":"IoTThingsGraph",
1011
"signatureVersion":"v4",
1112
"signingName":"iotthingsgraph",
1213
"targetPrefix":"IotThingsGraphFrontEndService",
13-
"uid":"iotthingsgraph-2018-09-06"
14+
"uid":"iotthingsgraph-2018-09-06",
15+
"auth":["aws.auth#sigv4"]
1416
},
1517
"operations":{
1618
"AssociateEntityToThing":{
@@ -665,8 +667,7 @@
665667
},
666668
"AssociateEntityToThingResponse":{
667669
"type":"structure",
668-
"members":{
669-
}
670+
"members":{}
670671
},
671672
"CreateFlowTemplateRequest":{
672673
"type":"structure",
@@ -792,13 +793,11 @@
792793
},
793794
"DeleteFlowTemplateResponse":{
794795
"type":"structure",
795-
"members":{
796-
}
796+
"members":{}
797797
},
798798
"DeleteNamespaceRequest":{
799799
"type":"structure",
800-
"members":{
801-
}
800+
"members":{}
802801
},
803802
"DeleteNamespaceResponse":{
804803
"type":"structure",
@@ -824,8 +823,7 @@
824823
},
825824
"DeleteSystemInstanceResponse":{
826825
"type":"structure",
827-
"members":{
828-
}
826+
"members":{}
829827
},
830828
"DeleteSystemTemplateRequest":{
831829
"type":"structure",
@@ -839,8 +837,7 @@
839837
},
840838
"DeleteSystemTemplateResponse":{
841839
"type":"structure",
842-
"members":{
843-
}
840+
"members":{}
844841
},
845842
"DependencyRevision":{
846843
"type":"structure",
@@ -903,8 +900,7 @@
903900
},
904901
"DeprecateFlowTemplateResponse":{
905902
"type":"structure",
906-
"members":{
907-
}
903+
"members":{}
908904
},
909905
"DeprecateSystemTemplateRequest":{
910906
"type":"structure",
@@ -918,8 +914,7 @@
918914
},
919915
"DeprecateSystemTemplateResponse":{
920916
"type":"structure",
921-
"members":{
922-
}
917+
"members":{}
923918
},
924919
"DescribeNamespaceRequest":{
925920
"type":"structure",
@@ -974,8 +969,7 @@
974969
},
975970
"DissociateEntityFromThingResponse":{
976971
"type":"structure",
977-
"members":{
978-
}
972+
"members":{}
979973
},
980974
"Enabled":{"type":"boolean"},
981975
"EntityDescription":{
@@ -1314,8 +1308,7 @@
13141308
},
13151309
"GetNamespaceDeletionStatusRequest":{
13161310
"type":"structure",
1317-
"members":{
1318-
}
1311+
"members":{}
13191312
},
13201313
"GetNamespaceDeletionStatusResponse":{
13211314
"type":"structure",
@@ -2089,8 +2082,7 @@
20892082
},
20902083
"TagResourceResponse":{
20912084
"type":"structure",
2092-
"members":{
2093-
}
2085+
"members":{}
20942086
},
20952087
"TagValue":{
20962088
"type":"string",
@@ -2168,8 +2160,7 @@
21682160
},
21692161
"UntagResourceResponse":{
21702162
"type":"structure",
2171-
"members":{
2172-
}
2163+
"members":{}
21732164
},
21742165
"UpdateFlowTemplateRequest":{
21752166
"type":"structure",

0 commit comments

Comments
 (0)