Skip to content

Commit bc9fa48

Browse files
fix: move Spring Wildfly example gradle.properties file to correct location (#492)
1 parent 0f8b5aa commit bc9fa48

File tree

12 files changed

+25
-20
lines changed

12 files changed

+25
-20
lines changed

CHANGELOG.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,12 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/#semantic-versioning-200).
55

6-
## [2.2.0] - 2023-6-14
6+
## [2.2.1] - 2023-6-16
7+
8+
### :bug: Fixed
9+
- Move the Spring Wildfly example `gradle.properties` file to `examples/SpringWildflyExample/spring` ([Issue #491](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/491)).
710

11+
## [2.2.0] - 2023-6-14
812
### :magic_wand: Added
913
- Autoscaling and the least connections strategy ([PR #451](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/451)).
1014
- [Target driver dialects](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-the-jdbc-driver/TargetDriverDialects.md) ([PR #452](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/452)).
@@ -14,14 +18,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1418
- Internal connection pool behaviour only verifying password on initial connection. See [Using the Read Write Splitting Plugin Internal Connection Pooling document](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-plugins/UsingTheReadWriteSplittingPlugin.md#internal-connection-pooling) and [code example](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/examples/AWSDriverExample/src/main/java/software/amazon/InternalConnectionPoolPasswordWarning.java).
1519
- Link performance test in table of contents. See [Documentation Table of Contents](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/Documentation.md).
1620
- Cluster URLs are not internally pooled. See [Using Read Write Splitting Plugin Internal Connection Pooling](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-plugins/UsingTheReadWriteSplittingPlugin.md#internal-connection-pooling).
17-
- The `leastConnections` strategy in the [Using Read Write Splitting Plugin Internal Connection Pooling](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-plugins/UsingTheReadWriteSplittingPlugin.md#internal-connection-pooling) at point #3.
21+
- The `leastConnections` strategy in the [Using Read Write Splitting Plugin Internal Connection Pooling](https://github.com/awslabs/aws-advanced-jdbc-wrapper/blob/main/docs/using-the-jdbc-driver/using-plugins/UsingTheReadWriteSplittingPlugin.md#internal-connection-pooling) at point 3.
1822
- Sample code and tutorial for using the driver with:
1923
- [Spring and Hibernate](./examples/SpringHibernateExample/README.md)
2024
- [Spring and Wildfly](./examples/SpringWildflyExample/README.md)
2125
- [Spring and Hikari](./examples/SpringBootHikariExample/README.md)
2226

2327
### :bug: Fixed
24-
- Pruned null connections in connection tracker plugins ([PR #461](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/461))
28+
- Pruned null connections in connection tracker plugins ([PR #461](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/461)).
2529
- HikariCP integration tests and reworked AwsWrapperDataSource by removing property names, introduced a set of simple properties to set database, server name and server port ([PR #468](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/468)).
2630
- Checkstyle failure due to modified license and driver connection provider passing original properties resulting properties being overridden for subsequent connections ([PR #471](https://github.com/awslabs/aws-advanced-jdbc-wrapper/pull/471)).
2731
- IamAuthConnectionPlugin to properly prioritize the override property IAM_DEFAULT_PORT then Hosts port, and then Dialect port ([Issue #473](https://github.com/awslabs/aws-advanced-jdbc-wrapper/issues/473)).
@@ -132,6 +136,7 @@ The Amazon Web Services (AWS) Advanced JDBC Driver allows an application to take
132136
* The [AWS IAM Authentication Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheIamAuthenticationPlugin.md)
133137
* The [AWS Secrets Manager Connection Plugin](./docs/using-the-jdbc-driver/using-plugins/UsingTheAwsSecretsManagerPlugin.md)
134138

139+
[2.2.1]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.2.0...2.2.1
135140
[2.2.0]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.1.2...2.2.0
136141
[2.1.2]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.1.1...2.1.2
137142
[2.1.1]: https://github.com/awslabs/aws-advanced-jdbc-wrapper/compare/2.1.0...2.1.1

benchmarks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ The benchmarks do not measure the performance of target JDBC drivers nor the per
77
## Usage
88
1. Build the benchmarks with the following command `../gradlew jmhJar`.
99
1. the JAR file will be outputted to `build/libs`
10-
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.2.0-jmh.jar`.
10+
2. Run the benchmarks with the following command `java -jar build/libs/benchmarks-2.2.1-jmh.jar`.
1111
1. you may have to update the command based on the exact version of the produced JAR file

docs/GettingStarted.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you are using the AWS JDBC Driver as part of a Gradle project, include the wr
1212

1313
```gradle
1414
dependencies {
15-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.0'
15+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.1'
1616
implementation group: 'org.postgresql', name: 'postgresql', version: '42.5.0'
1717
}
1818
```
@@ -26,13 +26,13 @@ You can use pre-compiled packages that can be downloaded directly from [GitHub R
2626
For example, the following command uses wget to download the wrapper:
2727

2828
```bash
29-
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.2.0/aws-advanced-jdbc-wrapper-2.2.0.jar
29+
wget https://github.com/awslabs/aws-advanced-jdbc-wrapper/releases/download/2.2.1/aws-advanced-jdbc-wrapper-2.2.1.jar
3030
```
3131

3232
Then, the following command adds the AWS JDBC Driver to the CLASSPATH:
3333

3434
```bash
35-
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.2.0.jar
35+
export CLASSPATH=$CLASSPATH:/home/userx/libs/aws-advanced-jdbc-wrapper-2.2.1.jar
3636
```
3737

3838
### As a Maven Dependency
@@ -44,7 +44,7 @@ You can use [Maven's dependency management](https://search.maven.org/search?q=g:
4444
<dependency>
4545
<groupId>software.amazon.jdbc</groupId>
4646
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
47-
<version>2.2.0</version>
47+
<version>2.2.1</version>
4848
</dependency>
4949
</dependencies>
5050
```
@@ -55,15 +55,15 @@ You can use [Gradle's dependency management](https://search.maven.org/search?q=g
5555

5656
```gradle
5757
dependencies {
58-
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.0'
58+
implementation group: 'software.amazon.jdbc', name: 'aws-advanced-jdbc-wrapper', version: '2.2.1'
5959
}
6060
```
6161

6262
To add a Gradle dependency in a Kotlin syntax, use the following configuration:
6363

6464
```kotlin
6565
dependencies {
66-
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.2.0")
66+
implementation("software.amazon.jdbc:aws-advanced-jdbc-wrapper:2.2.1")
6767
}
6868
```
6969

docs/using-the-jdbc-driver/UsingTheJdbcDriver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ If there is an unreleased feature you would like to try, it may be available in
134134
<dependency>
135135
<groupId>software.amazon.jdbc</groupId>
136136
<artifactId>aws-advanced-jdbc-wrapper</artifactId>
137-
<version>2.2.0-SNAPSHOT</version>
137+
<version>2.2.1-SNAPSHOT</version>
138138
<scope>system</scope>
139139
<systemPath>path-to-snapshot-jar</systemPath>
140140
</dependency>

examples/SpringBootHikariExample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this tutorial, you will set up a Spring Boot application using Hikari and the
44

55
> Note: this tutorial was written using the following technologies:
66
> - Spring Boot 2.7.0
7-
> - AWS Advanced JDBC Wrapper 2.2.0
7+
> - AWS Advanced JDBC Wrapper 2.2.1
88
> - Postgresql 42.5.4
99
> - Java 8
1010

examples/SpringHibernateExample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In this tutorial, you will set up a Spring Boot and Hibernate application with t
55
> Note: this tutorial was written using the following technologies:
66
> - Spring Boot 2.7.1
77
> - Hibernate
8-
> - AWS Advanced JDBC Driver 2.2.0
8+
> - AWS Advanced JDBC Driver 2.2.1
99
> - Postgresql 42.5.4
1010
> - Gradle 7
1111
> - Java 11

examples/SpringWildflyExample/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In this tutorial, you will set up a Wildfly and Spring Boot application with the
55
> Note: this tutorial was written using the following technologies:
66
> - Spring Boot 2.7.1
77
> - Wildfly 26.1.1 Final
8-
> - AWS Advanced JDBC Wrapper 2.2.0
8+
> - AWS Advanced JDBC Wrapper 2.2.1
99
> - Postgresql 42.5.4
1010
> - Gradle 7
1111
> - Java 11
@@ -38,7 +38,7 @@ Create a Gradle project with the following project hierarchy:
3838
│ └───main
3939
│ │ │───module.xml
4040
│ │ │───postgresql-42.5.4.jar
41-
│ │ └───aws-advanced-jdbc-wrapper-2.2.0.jar
41+
│ │ └───aws-advanced-jdbc-wrapper-2.2.1.jar
4242
└───standalone
4343
├───configuration
4444
├───amazon
@@ -133,7 +133,7 @@ Since this example uses the PostgreSQL JDBC driver as the target driver, you nee
133133
<module xmlns="urn:jboss:module:1.1" name="software.amazon.jdbc">
134134

135135
<resources>
136-
<resource-root path="aws-advanced-jdbc-wrapper-2.2.0.jar"/>
136+
<resource-root path="aws-advanced-jdbc-wrapper-2.2.1.jar"/>
137137
<resource-root path="postgresql-42.5.4.jar"/>
138138
</resources>
139139
</module>
File renamed without changes.

examples/SpringWildflyExample/wildfly/modules/software/amazon/jdbc/main/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<module xmlns="urn:jboss:module:1.1" name="software.amazon.jdbc">
2020

2121
<resources>
22-
<resource-root path="aws-advanced-jdbc-wrapper-2.2.0.jar"/>
22+
<resource-root path="aws-advanced-jdbc-wrapper-2.2.1.jar"/>
2323
<resource-root path="postgresql-42.5.4.jar"/>
2424
</resources>
2525
</module>

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
aws-advanced-jdbc-wrapper.version.major=2
1616
aws-advanced-jdbc-wrapper.version.minor=2
17-
aws-advanced-jdbc-wrapper.version.subminor=0
17+
aws-advanced-jdbc-wrapper.version.subminor=1
1818
snapshot=false

0 commit comments

Comments
 (0)