Skip to content

Commit d5149dd

Browse files
author
AWS
committed
Amazon Pinpoint SMS and Voice Service Update: Remove incorrect endpoint tests
1 parent 83bd8e6 commit d5149dd

File tree

4 files changed

+715
-689
lines changed

4 files changed

+715
-689
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": "Amazon Pinpoint SMS and Voice Service",
4+
"contributor": "",
5+
"description": "Remove incorrect endpoint tests"
6+
}

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

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
]
4141
}
4242
],
43-
"type": "tree",
4443
"rules": [
4544
{
4645
"conditions": [
@@ -59,7 +58,6 @@
5958
},
6059
{
6160
"conditions": [],
62-
"type": "tree",
6361
"rules": [
6462
{
6563
"conditions": [
@@ -87,13 +85,14 @@
8785
},
8886
"type": "endpoint"
8987
}
90-
]
88+
],
89+
"type": "tree"
9190
}
92-
]
91+
],
92+
"type": "tree"
9393
},
9494
{
9595
"conditions": [],
96-
"type": "tree",
9796
"rules": [
9897
{
9998
"conditions": [
@@ -106,7 +105,6 @@
106105
]
107106
}
108107
],
109-
"type": "tree",
110108
"rules": [
111109
{
112110
"conditions": [
@@ -120,7 +118,6 @@
120118
"assign": "PartitionResult"
121119
}
122120
],
123-
"type": "tree",
124121
"rules": [
125122
{
126123
"conditions": [
@@ -143,7 +140,6 @@
143140
]
144141
}
145142
],
146-
"type": "tree",
147143
"rules": [
148144
{
149145
"conditions": [
@@ -178,11 +174,9 @@
178174
]
179175
}
180176
],
181-
"type": "tree",
182177
"rules": [
183178
{
184179
"conditions": [],
185-
"type": "tree",
186180
"rules": [
187181
{
188182
"conditions": [],
@@ -193,16 +187,19 @@
193187
},
194188
"type": "endpoint"
195189
}
196-
]
190+
],
191+
"type": "tree"
197192
}
198-
]
193+
],
194+
"type": "tree"
199195
},
200196
{
201197
"conditions": [],
202198
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
203199
"type": "error"
204200
}
205-
]
201+
],
202+
"type": "tree"
206203
},
207204
{
208205
"conditions": [
@@ -216,14 +213,12 @@
216213
]
217214
}
218215
],
219-
"type": "tree",
220216
"rules": [
221217
{
222218
"conditions": [
223219
{
224220
"fn": "booleanEquals",
225221
"argv": [
226-
true,
227222
{
228223
"fn": "getAttr",
229224
"argv": [
@@ -232,15 +227,14 @@
232227
},
233228
"supportsFIPS"
234229
]
235-
}
230+
},
231+
true
236232
]
237233
}
238234
],
239-
"type": "tree",
240235
"rules": [
241236
{
242237
"conditions": [],
243-
"type": "tree",
244238
"rules": [
245239
{
246240
"conditions": [],
@@ -251,16 +245,19 @@
251245
},
252246
"type": "endpoint"
253247
}
254-
]
248+
],
249+
"type": "tree"
255250
}
256-
]
251+
],
252+
"type": "tree"
257253
},
258254
{
259255
"conditions": [],
260256
"error": "FIPS is enabled but this partition does not support FIPS",
261257
"type": "error"
262258
}
263-
]
259+
],
260+
"type": "tree"
264261
},
265262
{
266263
"conditions": [
@@ -274,7 +271,6 @@
274271
]
275272
}
276273
],
277-
"type": "tree",
278274
"rules": [
279275
{
280276
"conditions": [
@@ -294,11 +290,9 @@
294290
]
295291
}
296292
],
297-
"type": "tree",
298293
"rules": [
299294
{
300295
"conditions": [],
301-
"type": "tree",
302296
"rules": [
303297
{
304298
"conditions": [],
@@ -309,20 +303,22 @@
309303
},
310304
"type": "endpoint"
311305
}
312-
]
306+
],
307+
"type": "tree"
313308
}
314-
]
309+
],
310+
"type": "tree"
315311
},
316312
{
317313
"conditions": [],
318314
"error": "DualStack is enabled but this partition does not support DualStack",
319315
"type": "error"
320316
}
321-
]
317+
],
318+
"type": "tree"
322319
},
323320
{
324321
"conditions": [],
325-
"type": "tree",
326322
"rules": [
327323
{
328324
"conditions": [],
@@ -333,18 +329,22 @@
333329
},
334330
"type": "endpoint"
335331
}
336-
]
332+
],
333+
"type": "tree"
337334
}
338-
]
335+
],
336+
"type": "tree"
339337
}
340-
]
338+
],
339+
"type": "tree"
341340
},
342341
{
343342
"conditions": [],
344343
"error": "Invalid Configuration: Missing Region",
345344
"type": "error"
346345
}
347-
]
346+
],
347+
"type": "tree"
348348
}
349349
]
350350
}

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

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,6 @@
156156
"UseDualStack": false
157157
}
158158
},
159-
{
160-
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack enabled",
161-
"expect": {
162-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
163-
},
164-
"params": {
165-
"Region": "us-iso-east-1",
166-
"UseFIPS": true,
167-
"UseDualStack": true
168-
}
169-
},
170159
{
171160
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
172161
"expect": {
@@ -180,17 +169,6 @@
180169
"UseDualStack": false
181170
}
182171
},
183-
{
184-
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack enabled",
185-
"expect": {
186-
"error": "DualStack is enabled but this partition does not support DualStack"
187-
},
188-
"params": {
189-
"Region": "us-iso-east-1",
190-
"UseFIPS": false,
191-
"UseDualStack": true
192-
}
193-
},
194172
{
195173
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
196174
"expect": {
@@ -204,17 +182,6 @@
204182
"UseDualStack": false
205183
}
206184
},
207-
{
208-
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack enabled",
209-
"expect": {
210-
"error": "FIPS and DualStack are enabled, but this partition does not support one or both"
211-
},
212-
"params": {
213-
"Region": "us-isob-east-1",
214-
"UseFIPS": true,
215-
"UseDualStack": true
216-
}
217-
},
218185
{
219186
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
220187
"expect": {
@@ -228,17 +195,6 @@
228195
"UseDualStack": false
229196
}
230197
},
231-
{
232-
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack enabled",
233-
"expect": {
234-
"error": "DualStack is enabled but this partition does not support DualStack"
235-
},
236-
"params": {
237-
"Region": "us-isob-east-1",
238-
"UseFIPS": false,
239-
"UseDualStack": true
240-
}
241-
},
242198
{
243199
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
244200
"expect": {

0 commit comments

Comments
 (0)