Skip to content

Commit ac0ae52

Browse files
Merge pull request #1035 from aws/staging/e22f55d9-e611-4098-a8c3-8b362f41c98c
Pull request: release <- staging/e22f55d9-e611-4098-a8c3-8b362f41c98c
2 parents 903976e + 274631f commit ac0ae52

File tree

293 files changed

+637
-486
lines changed

Some content is hidden

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

293 files changed

+637
-486
lines changed

.changes/2.15.25.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"version": "2.15.25",
3+
"date": "2020-11-10",
4+
"entries": [
5+
{
6+
"type": "feature",
7+
"category": "Amazon Elastic Compute Cloud",
8+
"contributor": "",
9+
"description": "This release adds support for Gateway Load Balancer VPC endpoints and VPC endpoint services"
10+
},
11+
{
12+
"type": "feature",
13+
"category": "Amazon Simple Systems Manager (SSM)",
14+
"contributor": "",
15+
"description": "Add SessionId as a filter for DescribeSessions API"
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Elastic Load Balancing",
20+
"contributor": "",
21+
"description": "Added support for Gateway Load Balancers, which make it easy to deploy, scale, and run third-party virtual networking appliances."
22+
},
23+
{
24+
"type": "feature",
25+
"category": "Auto Scaling",
26+
"contributor": "",
27+
"description": "Documentation updates and corrections for Amazon EC2 Auto Scaling API Reference and SDKs."
28+
},
29+
{
30+
"type": "bugfix",
31+
"category": "AWS SDK for Java v2",
32+
"contributor": "",
33+
"description": "Replaced class loading from Thread.currentThread().getContextClassLoader() to ClassLoaderHelper in ProfileCredentialsUtils and WebIdentityCredentialsUtils, since it was causing Class not found error."
34+
},
35+
{
36+
"type": "bugfix",
37+
"category": "AWS SDK for Java v2",
38+
"contributor": "@frosforever",
39+
"description": "Fix default client error to have spaces between words."
40+
}
41+
]
42+
}

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,30 @@
1+
# __2.15.25__ __2020-11-10__
2+
## __AWS SDK for Java v2__
3+
- ### Bugfixes
4+
- Fix default client error to have spaces between words.
5+
- Contributed by: @frosforever
6+
- Replaced class loading from Thread.currentThread().getContextClassLoader() to ClassLoaderHelper in ProfileCredentialsUtils and WebIdentityCredentialsUtils, since it was causing Class not found error.
7+
8+
## __Amazon Elastic Compute Cloud__
9+
- ### Features
10+
- This release adds support for Gateway Load Balancer VPC endpoints and VPC endpoint services
11+
12+
## __Amazon Simple Systems Manager (SSM)__
13+
- ### Features
14+
- Add SessionId as a filter for DescribeSessions API
15+
16+
## __Auto Scaling__
17+
- ### Features
18+
- Documentation updates and corrections for Amazon EC2 Auto Scaling API Reference and SDKs.
19+
20+
## __Elastic Load Balancing__
21+
- ### Features
22+
- Added support for Gateway Load Balancers, which make it easy to deploy, scale, and run third-party virtual networking appliances.
23+
24+
## __Contributors__
25+
Special thanks to the following contributors to this release:
26+
27+
@frosforever
128
# __2.15.24__ __2020-11-09__
229
## __AWS DataSync__
330
- ### Features

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To automatically manage module versions (currently all modules have the same ver
4949
<dependency>
5050
<groupId>software.amazon.awssdk</groupId>
5151
<artifactId>bom</artifactId>
52-
<version>2.15.24</version>
52+
<version>2.15.25</version>
5353
<type>pom</type>
5454
<scope>import</scope>
5555
</dependency>
@@ -83,12 +83,12 @@ Alternatively you can add dependencies for the specific services you use only:
8383
<dependency>
8484
<groupId>software.amazon.awssdk</groupId>
8585
<artifactId>ec2</artifactId>
86-
<version>2.15.24</version>
86+
<version>2.15.25</version>
8787
</dependency>
8888
<dependency>
8989
<groupId>software.amazon.awssdk</groupId>
9090
<artifactId>s3</artifactId>
91-
<version>2.15.24</version>
91+
<version>2.15.25</version>
9292
</dependency>
9393
```
9494

@@ -100,7 +100,7 @@ You can import the whole SDK into your project (includes *ALL* services). Please
100100
<dependency>
101101
<groupId>software.amazon.awssdk</groupId>
102102
<artifactId>aws-sdk-java</artifactId>
103-
<version>2.15.24</version>
103+
<version>2.15.25</version>
104104
</dependency>
105105
```
106106

archetypes/archetype-lambda/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>archetypes</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetype-lambda</artifactId>

archetypes/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>aws-sdk-java-pom</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626
<artifactId>archetypes</artifactId>

aws-sdk-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<groupId>software.amazon.awssdk</groupId>
1919
<artifactId>aws-sdk-java-pom</artifactId>
20-
<version>2.15.24</version>
20+
<version>2.15.25</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>aws-sdk-java</artifactId>

bom-internal/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>aws-sdk-java-pom</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

bom/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<parent>
1818
<groupId>software.amazon.awssdk</groupId>
1919
<artifactId>aws-sdk-java-pom</artifactId>
20-
<version>2.15.24</version>
20+
<version>2.15.25</version>
2121
<relativePath>../pom.xml</relativePath>
2222
</parent>
2323
<artifactId>bom</artifactId>

build-tools/src/main/resources/software/amazon/awssdk/checkstyle-suppressions.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,9 @@
4242
<!-- Assumes getter/setter match JSON property -->
4343
<suppress checks="AbbreviationAsWordInName"
4444
files=".*[\\/]software[\\/]amazon[\\/]awssdk[\\/]services[\\/]s3[\\/]event[\\/]S3EventNotification.java$"/>
45+
46+
<!-- Ignore usage of Thread.currentThread().getContextClassLoader for ClassLoaderHelper.!-->
47+
<suppress checks="Regexp"
48+
files=".*ClassLoaderHelper\.java$"/>
49+
4550
</suppressions>

build-tools/src/main/resources/software/amazon/awssdk/checkstyle.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,14 @@
373373
<property name="ignoreComments" value="true"/>
374374
</module>
375375

376+
<!-- Checks that we don't use Thread.currentThread().getContextClassLoader() directly -->
377+
<module name="Regexp">
378+
<property name="format" value="Thread\s*\.\s*currentThread\s*\(\s*\)\s*(\.|::)\s*getContextClassLoader"/>
379+
<property name="illegalPattern" value="true"/>
380+
<property name="message" value="Use software.amazon.awssdk.core.internal.util.ClassLoaderHelper Class to load the class."/>
381+
<property name="ignoreComments" value="true"/>
382+
</module>
383+
376384
<!-- Checks that we don't use plural enum names -->
377385
<module name="software.amazon.awssdk.buildtools.checkstyle.PluralEnumNames"/>
378386

bundle/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.15.24</version>
24+
<version>2.15.25</version>
2525
</parent>
2626
<artifactId>bundle</artifactId>
2727
<packaging>jar</packaging>

codegen-lite-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>aws-sdk-java-pom</artifactId>
25-
<version>2.15.24</version>
25+
<version>2.15.25</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-lite-maven-plugin</artifactId>

codegen-lite/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.15.24</version>
24+
<version>2.15.25</version>
2525
</parent>
2626
<artifactId>codegen-lite</artifactId>
2727
<name>AWS Java SDK :: Code Generator Lite</name>

codegen-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>aws-sdk-java-pom</artifactId>
25-
<version>2.15.24</version>
25+
<version>2.15.25</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<artifactId>codegen-maven-plugin</artifactId>

codegen/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>software.amazon.awssdk</groupId>
2323
<artifactId>aws-sdk-java-pom</artifactId>
24-
<version>2.15.24</version>
24+
<version>2.15.25</version>
2525
</parent>
2626
<artifactId>codegen</artifactId>
2727
<name>AWS Java SDK :: Code Generator</name>

core/annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/arns/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/auth/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.15.24</version>
25+
<version>2.15.25</version>
2626
</parent>
2727

2828
<artifactId>auth</artifactId>

core/auth/src/main/java/software/amazon/awssdk/auth/credentials/internal/ProfileCredentialsUtils.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import software.amazon.awssdk.auth.credentials.ProcessCredentialsProvider;
3838
import software.amazon.awssdk.auth.credentials.StaticCredentialsProvider;
3939
import software.amazon.awssdk.auth.credentials.SystemPropertyCredentialsProvider;
40+
import software.amazon.awssdk.core.internal.util.ClassLoaderHelper;
4041
import software.amazon.awssdk.profiles.Profile;
4142
import software.amazon.awssdk.profiles.ProfileProperty;
4243
import software.amazon.awssdk.utils.SdkAutoCloseable;
@@ -252,8 +253,8 @@ private IllegalStateException noSourceCredentialsException() {
252253
*/
253254
private ChildProfileCredentialsProviderFactory stsCredentialsProviderFactory() {
254255
try {
255-
Class<?> stsCredentialsProviderFactory = Class.forName(STS_PROFILE_CREDENTIALS_PROVIDER_FACTORY, true,
256-
Thread.currentThread().getContextClassLoader());
256+
Class<?> stsCredentialsProviderFactory = ClassLoaderHelper.loadClass(STS_PROFILE_CREDENTIALS_PROVIDER_FACTORY,
257+
getClass());
257258
return (ChildProfileCredentialsProviderFactory) stsCredentialsProviderFactory.getConstructor().newInstance();
258259
} catch (ClassNotFoundException e) {
259260
throw new IllegalStateException("To use assumed roles in the '" + name + "' profile, the 'sts' service module must "

core/auth/src/main/java/software/amazon/awssdk/auth/credentials/internal/WebIdentityCredentialsUtils.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.lang.reflect.InvocationTargetException;
1919
import software.amazon.awssdk.annotations.SdkInternalApi;
2020
import software.amazon.awssdk.auth.credentials.WebIdentityTokenCredentialsProviderFactory;
21+
import software.amazon.awssdk.core.internal.util.ClassLoaderHelper;
2122

2223
/**
2324
* Utility class used to configure credential providers based on JWT web identity tokens.
@@ -39,8 +40,8 @@ private WebIdentityCredentialsUtils() {
3940
*/
4041
public static WebIdentityTokenCredentialsProviderFactory factory() {
4142
try {
42-
Class<?> stsCredentialsProviderFactory = Class.forName(STS_WEB_IDENTITY_CREDENTIALS_PROVIDER_FACTORY, true,
43-
Thread.currentThread().getContextClassLoader());
43+
Class<?> stsCredentialsProviderFactory = ClassLoaderHelper.loadClass(STS_WEB_IDENTITY_CREDENTIALS_PROVIDER_FACTORY,
44+
WebIdentityCredentialsUtils.class);
4445
return (WebIdentityTokenCredentialsProviderFactory) stsCredentialsProviderFactory.getConstructor().newInstance();
4546
} catch (ClassNotFoundException e) {
4647
throw new IllegalStateException("To use web identity tokens, the 'sts' service module must be on the class path.", e);

core/aws-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.15.24</version>
25+
<version>2.15.25</version>
2626
</parent>
2727

2828
<artifactId>aws-core</artifactId>

core/metrics-spi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>core</artifactId>
77
<groupId>software.amazon.awssdk</groupId>
8-
<version>2.15.24</version>
8+
<version>2.15.25</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>aws-sdk-java-pom</artifactId>
2323
<groupId>software.amazon.awssdk</groupId>
24-
<version>2.15.24</version>
24+
<version>2.15.25</version>
2525
</parent>
2626

2727
<artifactId>core</artifactId>

core/profiles/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.15.24</version>
25+
<version>2.15.25</version>
2626
</parent>
2727

2828
<artifactId>profiles</artifactId>

core/protocols/aws-cbor-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/protocols/aws-ion-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/protocols/aws-json-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/protocols/aws-query-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/protocols/aws-xml-protocol/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/protocols/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>core</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/protocols/protocol-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>protocols</artifactId>
2222
<groupId>software.amazon.awssdk</groupId>
23-
<version>2.15.24</version>
23+
<version>2.15.25</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

core/regions/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>software.amazon.awssdk</groupId>
2424
<artifactId>core</artifactId>
25-
<version>2.15.24</version>
25+
<version>2.15.25</version>
2626
</parent>
2727

2828
<artifactId>regions</artifactId>

0 commit comments

Comments
 (0)