Skip to content

Commit

Permalink
Upgrade to smithy core to latest (#2271)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahvita authored Sep 12, 2023
1 parent 7692b7d commit a5fcf9f
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 3 deletions.
4 changes: 2 additions & 2 deletions codegen/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
smithyVersion=1.27.2
smithyGradleVersion=0.6.0
smithyVersion=1.37.0
smithyGradleVersion=0.7.0
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,45 @@ static void generateHttpProtocolTests(GenerationContext context) {
})
.build());

Set<HttpProtocolUnitTestGenerator.SkipTest> inputSkipTests = new TreeSet<>(SetUtils.of());
// skip request compression tests, not yet implemented in the SDK
Set<HttpProtocolUnitTestGenerator.SkipTest> inputSkipTests = new TreeSet<>(SetUtils.of(
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.json10#JsonRpc10"))
.operation(ShapeId.from("aws.protocoltests.json10#PutWithContentEncoding"))
.addTestName("SDKAppliedContentEncoding_awsJson1_0")
.addTestName("SDKAppendsGzipAndIgnoresHttpProvidedEncoding_awsJson1_0")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.json#JsonProtocol"))
.operation(ShapeId.from("aws.protocoltests.json#PutWithContentEncoding"))
.addTestName("SDKAppliedContentEncoding_awsJson1_1")
.addTestName("SDKAppendsGzipAndIgnoresHttpProvidedEncoding_awsJson1_1")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.query#AwsQuery"))
.operation(ShapeId.from("aws.protocoltests.query#PutWithContentEncoding"))
.addTestName("SDKAppliedContentEncoding_awsQuery")
.addTestName("SDKAppendsGzipAndIgnoresHttpProvidedEncoding_awsQuery")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.ec2#AwsEc2"))
.operation(ShapeId.from("aws.protocoltests.ec2#PutWithContentEncoding"))
.addTestName("SDKAppliedContentEncoding_ec2Query")
.addTestName("SDKAppendsGzipAndIgnoresHttpProvidedEncoding_ec2Query")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.restjson#RestJson"))
.operation(ShapeId.from("aws.protocoltests.restjson#PutWithContentEncoding"))
.addTestName("SDKAppliedContentEncoding_restJson1")
.addTestName("SDKAppendedGzipAfterProvidedEncoding_restJson1")
.build(),
HttpProtocolUnitTestGenerator.SkipTest.builder()
.service(ShapeId.from("aws.protocoltests.restxml#RestXml"))
.operation(ShapeId.from("aws.protocoltests.restxml#PutWithContentEncoding"))
.addTestName("SDKAppliedContentEncoding_restXml")
.addTestName("SDKAppendedGzipAfterProvidedEncoding_restXml")
.build()
));

Set<HttpProtocolUnitTestGenerator.SkipTest> outputSkipTests = new TreeSet<>(SetUtils.of(
// REST-JSON optional (SHOULD) test cases
Expand Down

0 comments on commit a5fcf9f

Please sign in to comment.