Skip to content

Commit de575fb

Browse files
author
AWS
committed
AWS SSO Identity Store Update: Remove incorrect endpoint tests
1 parent 9de1bb9 commit de575fb

File tree

3 files changed

+28
-66
lines changed

3 files changed

+28
-66
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 SSO Identity Store",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

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

Lines changed: 22 additions & 22 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,18 +212,17 @@
216212
},
217213
"supportsFIPS"
218214
]
219-
}
215+
},
216+
true
220217
]
221218
}
222219
],
223-
"type": "tree",
224220
"rules": [
225221
{
226222
"conditions": [
227223
{
228224
"fn": "stringEquals",
229225
"argv": [
230-
"aws-us-gov",
231226
{
232227
"fn": "getAttr",
233228
"argv": [
@@ -236,7 +231,8 @@
236231
},
237232
"name"
238233
]
239-
}
234+
},
235+
"aws-us-gov"
240236
]
241237
}
242238
],
@@ -256,14 +252,16 @@
256252
},
257253
"type": "endpoint"
258254
}
259-
]
255+
],
256+
"type": "tree"
260257
},
261258
{
262259
"conditions": [],
263260
"error": "FIPS is enabled but this partition does not support FIPS",
264261
"type": "error"
265262
}
266-
]
263+
],
264+
"type": "tree"
267265
},
268266
{
269267
"conditions": [
@@ -277,7 +275,6 @@
277275
]
278276
}
279277
],
280-
"type": "tree",
281278
"rules": [
282279
{
283280
"conditions": [
@@ -297,7 +294,6 @@
297294
]
298295
}
299296
],
300-
"type": "tree",
301297
"rules": [
302298
{
303299
"conditions": [],
@@ -308,14 +304,16 @@
308304
},
309305
"type": "endpoint"
310306
}
311-
]
307+
],
308+
"type": "tree"
312309
},
313310
{
314311
"conditions": [],
315312
"error": "DualStack is enabled but this partition does not support DualStack",
316313
"type": "error"
317314
}
318-
]
315+
],
316+
"type": "tree"
319317
},
320318
{
321319
"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/identitystore/src/main/resources/codegen-resources/endpoint-tests.json

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -338,17 +338,6 @@
338338
"UseDualStack": true
339339
}
340340
},
341-
{
342-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
343-
"expect": {
344-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
345-
},
346-
"params": {
347-
"Region": "us-iso-east-1",
348-
"UseFIPS": true,
349-
"UseDualStack": true
350-
}
351-
},
352341
{
353342
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
354343
"expect": {
@@ -362,17 +351,6 @@
362351
"UseDualStack": false
363352
}
364353
},
365-
{
366-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
367-
"expect": {
368-
"error": "DualStack is enabled but this partition does not support DualStack"
369-
},
370-
"params": {
371-
"Region": "us-iso-east-1",
372-
"UseFIPS": false,
373-
"UseDualStack": true
374-
}
375-
},
376354
{
377355
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
378356
"expect": {
@@ -386,17 +364,6 @@
386364
"UseDualStack": false
387365
}
388366
},
389-
{
390-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
391-
"expect": {
392-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
393-
},
394-
"params": {
395-
"Region": "us-isob-east-1",
396-
"UseFIPS": true,
397-
"UseDualStack": true
398-
}
399-
},
400367
{
401368
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
402369
"expect": {
@@ -410,17 +377,6 @@
410377
"UseDualStack": false
411378
}
412379
},
413-
{
414-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
415-
"expect": {
416-
"error": "DualStack is enabled but this partition does not support DualStack"
417-
},
418-
"params": {
419-
"Region": "us-isob-east-1",
420-
"UseFIPS": false,
421-
"UseDualStack": true
422-
}
423-
},
424380
{
425381
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
426382
"expect": {

0 commit comments

Comments
 (0)