8000 Smithy upgrade (#2407) · aws/aws-sdk-go-v2@baa4447 · GitHub
[go: up one dir, main page]

Skip to content

Commit baa4447

Browse files
authored
Smithy upgrade (#2407)
1 parent b8307d1 commit baa4447

29 files changed

+4438
-76
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"id": "225527fb-0025-4820-9347-a0fdb79f6dca",
3+
"type": "feature",
4+
"description": "Upgrade smithy core",
5+
"modules": [
6+
"internal/protocoltest/awsrestjson",
7+
"internal/protocoltest/jsonrpc10",
8+
"internal/protocoltest/restxml",
9+
"service/internal/integrationtest"
10+
]
11+
}

codegen/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
smithyVersion=1.39.0
1+
smithyVersion=1.41.1
22
smithyGradleVersion=0.7.0

codegen/smithy-aws-go-codegen/src/main/java/software/amazon/smithy/aws/go/codegen/AwsProtocolUtils.java

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,20 @@ static void generateHttpProtocolTests(GenerationContext context) {
148148
.operation(ShapeId.from("aws.protocoltests.restxml#HttpPayloadWithUnion"))
149149
.addTestName("RestXmlHttpPayloadWithUnion")
150150
.addTestName("RestXmlHttpPayloadWithUnsetUnion")
151+
.build(),
152+
153+
154+
HttpProtocolUnitTestGenerator.SkipTest.builder()
155+
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
156+
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithDefaults"))
157+
.addTestName("AwsJson10ClientPopulatesDefaultValuesInInput")
158+
.addTestName("AwsJson10ClientSkipsTopLevelDefaultValuesInInput")
159+
.addTestName("AwsJson10ClientUsesExplicitlyProvidedMemberValuesOverDefaults")
160+
.build(),
161+
HttpProtocolUnitTestGenerator.SkipTest.builder()
162+
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
163+
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithNestedStructure"))
164+
.addTestName("AwsJson10ClientPopulatesNestedDefaultValuesWhenMissing")
151165
.build()
152166
));
153167

@@ -180,6 +194,23 @@ static void generateHttpProtocolTests(GenerationContext context) {
180194
.service(ShapeId.from("aws.protocoltests.json#JsonProtocol"))
181195
.operation(ShapeId.from("aws.protocoltests.json#JsonUnions"))
182196
.addTestName("AwsJson11DeserializeIgnoreType")
197+
.build(),
198+
199+
HttpProtocolUnitTestGenerator.SkipTest.builder()
200+
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
201+
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithDefaults"))
202+
.addTestName("AwsJson10ClientPopulatesDefaultsValuesWhenMissingInResponse")
203+
.addTestName("AwsJson10ClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse")
204+
.build(),
205+
HttpProtocolUnitTestGenerator.SkipTest.builder()
206+
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
207+
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithNestedStructure"))
208+
.addTestName("AwsJson10ClientPopulatesNestedDefaultsWhenMissingInResponseBody")
209+
.build(),
210+
HttpProtocolUnitTestGenerator.SkipTest.builder()
211+
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
212+
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithRequiredMembers"))
213+
.addTestName("AwsJson10ClientErrorCorrectsWhenServerFailsToSerializeRequiredValues")
183214
.build()
184215
));
185216

internal/protocoltest/awsrestjson/api_op_HttpEnumPayload_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/protocoltest/awsrestjson/api_op_HttpStringPayload_test.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/protocoltest/jsonrpc10/api_op_OperationWithDefaults.go

Lines changed: 163 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0