Skip to content

Commit

Permalink
Smithy upgrade (#2407)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahvita committed Dec 5, 2023
1 parent b8307d1 commit baa4447
Show file tree
Hide file tree
Showing 29 changed files with 4,438 additions and 76 deletions.
11 changes: 11 additions & 0 deletions .changelog/225527fb002548209347a0fdb79f6dca.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "225527fb-0025-4820-9347-a0fdb79f6dca",
"type": "feature",
"description": "Upgrade smithy core",
"modules": [
"internal/protocoltest/awsrestjson",
"internal/protocoltest/jsonrpc10",
"internal/protocoltest/restxml",
"service/internal/integrationtest"
]
}
2 changes: 1 addition & 1 deletion codegen/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
smithyVersion=1.39.0
smithyVersion=1.41.1
smithyGradleVersion=0.7.0
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,20 @@ static void generateHttpProtocolTests(GenerationContext context) {
.operation(ShapeId.from("aws.protocoltests.restxml#HttpPayloadWithUnion"))
.addTestName("RestXmlHttpPayloadWithUnion")
.addTestName("RestXmlHttpPayloadWithUnsetUnion")
.build(),


HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithDefaults"))
.addTestName("AwsJson10ClientPopulatesDefaultValuesInInput")
.addTestName("AwsJson10ClientSkipsTopLevelDefaultValuesInInput")
.addTestName("AwsJson10ClientUsesExplicitlyProvidedMemberValuesOverDefaults")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithNestedStructure"))
.addTestName("AwsJson10ClientPopulatesNestedDefaultValuesWhenMissing")
.build()
));

Expand Down Expand Up @@ -180,6 +194,23 @@ static void generateHttpProtocolTests(GenerationContext context) {
.service(ShapeId.from("aws.protocoltests.json#JsonProtocol"))
.operation(ShapeId.from("aws.protocoltests.json#JsonUnions"))
.addTestName("AwsJson11DeserializeIgnoreType")
.build(),

HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithDefaults"))
.addTestName("AwsJson10ClientPopulatesDefaultsValuesWhenMissingInResponse")
.addTestName("AwsJson10ClientIgnoresDefaultValuesIfMemberValuesArePresentInResponse")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithNestedStructure"))
.addTestName("AwsJson10ClientPopulatesNestedDefaultsWhenMissingInResponseBody")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
.operation(ShapeId.from("aws.protocoltests.json10#OperationWithRequiredMembers"))
.addTestName("AwsJson10ClientErrorCorrectsWhenServerFailsToSerializeRequiredValues")
.build()
));

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

163 changes: 163 additions & 0 deletions internal/protocoltest/jsonrpc10/api_op_OperationWithDefaults.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit baa4447

Please sign in to comment.