Skip to content

Commit 8ac715b

Browse files
authored
Refactor I&A signer modules to reduce API surface (#4403)
* Refactor signer modules * Update builders, remove redundant interfaces * Address comments about UX with errors
1 parent 15c6835 commit 8ac715b

File tree

79 files changed

+724
-1697
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+724
-1697
lines changed

core/http-auth-aws-crt/pom.xml

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -39,53 +39,12 @@
3939
<artifactId>annotations</artifactId>
4040
<version>${awsjavasdk.version}</version>
4141
</dependency>
42-
<dependency>
43-
<groupId>software.amazon.awssdk</groupId>
44-
<artifactId>http-auth-spi</artifactId>
45-
<version>${awsjavasdk.version}</version>
46-
</dependency>
47-
<dependency>
48-
<groupId>software.amazon.awssdk</groupId>
49-
<artifactId>identity-spi</artifactId>
50-
<version>${awsjavasdk.version}</version>
51-
</dependency>
52-
<dependency>
53-
<groupId>software.amazon.awssdk</groupId>
54-
<artifactId>http-auth-aws</artifactId>
55-
<version>${awsjavasdk.version}</version>
56-
</dependency>
57-
<dependency>
58-
<groupId>software.amazon.awssdk</groupId>
59-
<artifactId>http-client-spi</artifactId>
60-
<version>${awsjavasdk.version}</version>
61-
</dependency>
62-
<dependency>
63-
<groupId>software.amazon.awssdk</groupId>
64-
<artifactId>utils</artifactId>
65-
<version>${awsjavasdk.version}</version>
66-
</dependency>
6742
<dependency>
6843
<groupId>software.amazon.awssdk.crt</groupId>
6944
<artifactId>aws-crt</artifactId>
7045
<version>${awscrt.version}</version>
7146
</dependency>
7247

73-
<dependency>
74-
<groupId>org.mockito</groupId>
75-
<artifactId>mockito-core</artifactId>
76-
<scope>test</scope>
77-
</dependency>
78-
<dependency>
79-
<groupId>org.junit.jupiter</groupId>
80-
<artifactId>junit-jupiter</artifactId>
81-
<scope>test</scope>
82-
</dependency>
83-
<dependency>
84-
<groupId>org.assertj</groupId>
85-
<artifactId>assertj-core</artifactId>
86-
<scope>test</scope>
87-
</dependency>
88-
8948
</dependencies>
9049

9150
<build>
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
/*
2+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License").
5+
* You may not use this file except in compliance with the License.
6+
* A copy of the License is located at
7+
*
8+
* http://aws.amazon.com/apache2.0
9+
*
10+
* or in the "license" file accompanying this file. This file is distributed
11+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12+
* express or implied. See the License for the specific language governing
13+
* permissions and limitations under the License.
14+
*/
15+
16+
package software.amazon.awssdk.http.auth.aws.crt;
17+
18+
import software.amazon.awssdk.annotations.SdkProtectedApi;
19+
20+
/**
21+
* This is a place-holder class for this module, http-auth-aws-crt. In the event that we decide to move CRT-v4a signer
22+
* logic back to this dedicated module, no issues will arise. This module should be an optional dependency in consumers
23+
* (http-auth-aws), and should bring in the required dependencies (aws-crt).
24+
*/
25+
@SdkProtectedApi
26+
public class HttpAuthAwsCrt {
27+
}

core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/internal/chunkedencoding/Chunk.java

Lines changed: 0 additions & 44 deletions
This file was deleted.

core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/internal/chunkedencoding/ChunkExtensionProvider.java

Lines changed: 0 additions & 36 deletions
This file was deleted.

core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/internal/chunkedencoding/ChunkHeaderProvider.java

Lines changed: 0 additions & 31 deletions
This file was deleted.

core/http-auth-aws-crt/src/main/java/software/amazon/awssdk/http/auth/aws/crt/internal/chunkedencoding/ChunkInputStream.java

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)