Skip to content

Commit e63d304

Browse files
authored
Merge pull request #60 from reactiverse/upgrade/prepare-1.2.0
(upgrade) v1.2.0
2 parents 08d929d + a0f44e4 commit e63d304

File tree

16 files changed

+52
-29
lines changed

16 files changed

+52
-29
lines changed

.github/workflows/ci-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Gradle
2121
uses: gradle/gradle-build-action@v2
2222
with:
23-
gradle-version: 7.4
23+
gradle-version: current
2424

2525
- name: Get Project version
2626
id: get_version
@@ -34,7 +34,7 @@ jobs:
3434
- name: Publish Release to Sonatype
3535
uses: gradle/gradle-build-action@v2
3636
with:
37-
gradle-version: 7.4
37+
gradle-version: current
3838
arguments: assemble publish -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{secrets.SIGNING_PASSWORD}} -Psigning.secretKeyRingFile=/tmp/secring.gpg -PossrhUsername=${{secrets.SONATYPE_NEXUS_USERNAME}} -PossrhPassword=${{secrets.SONATYPE_NEXUS_PASSWORD}} --stacktrace
3939

4040
- name: Create Release in Github

.github/workflows/ci-snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup Gradle
2020
uses: gradle/gradle-build-action@v2
2121
with:
22-
gradle-version: 7.4
22+
gradle-version: current
2323

2424
- name: Get Project version
2525
id: get_version
@@ -33,7 +33,7 @@ jobs:
3333
- name: Publish Snapshot to Sonatype
3434
uses: gradle/gradle-build-action@v2
3535
with:
36-
gradle-version: 7.4
36+
gradle-version: current
3737
arguments: assemble publish -Psigning.keyId=${{secrets.SIGNING_KEY_ID}} -Psigning.password=${{secrets.SIGNING_PASSWORD}} -Psigning.secretKeyRingFile=/tmp/secring.gpg -PossrhUsername=${{secrets.SONATYPE_NEXUS_USERNAME}} -PossrhPassword=${{secrets.SONATYPE_NEXUS_PASSWORD}} --stacktrace
3838

3939
- name: Create Release in Github

.github/workflows/ci-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
java: [ 8, 11, 17 ]
10+
java: [ 8, 11, 17, 19 ] # LTS versions + latest version
1111
name: "Run tests with JDK ${{ matrix.java }}"
1212
steps:
1313
- uses: actions/checkout@v3
@@ -22,5 +22,5 @@ jobs:
2222

2323
- uses: gradle/gradle-build-action@v2
2424
with:
25-
gradle-version: 7.4
25+
gradle-version: current
2626
arguments: test -Dtests.integration=localstack

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Artifacts are published [here](https://search.maven.org/artifact/io.reactiverse/
1212

1313
| Project | Vert.x | AWS sdk |
1414
|---------|--------|----------|
15+
| 1.2.0 | 4.4.0 | 2.20.2 |
1516
| 1.1.0 | 4.2.4 | 2.17.129 |
1617
| 1.0.0 | 4.0.0 | 2.15.45 |
1718
| 0.7.0 | 3.9.4 | 2.15.23 |

build.gradle.kts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
val vertxVersion = "4.2.4"
2-
val awsSdkVersion = "2.17.129"
1+
val vertxVersion = "4.4.0"
2+
val awsSdkVersion = "2.20.22"
33
val junit5Version = "5.8.2"
44
val logbackVersion = "1.2.10"
5+
val localstackVersion = "0.2.22"
56
val integrationOption = "tests.integration"
67

78
group = "io.reactiverse"
8-
version = "1.1.0"
9+
version = "1.2.0"
910

1011
plugins {
1112
`java-library`
@@ -48,7 +49,7 @@ dependencies {
4849

4950
testImplementation("io.vertx:vertx-junit5:$vertxVersion")
5051
testImplementation("io.vertx:vertx-rx-java2:$vertxVersion")
51-
testImplementation("cloud.localstack:localstack-utils:0.2.20")
52+
testImplementation("cloud.localstack:localstack-utils:$localstackVersion")
5253
testImplementation("ch.qos.logback:logback-classic:$logbackVersion")
5354
testImplementation("ch.qos.logback:logback-core:$logbackVersion")
5455
testImplementation("software.amazon.awssdk:aws-sdk-java:$awsSdkVersion")
@@ -126,7 +127,7 @@ tasks {
126127
}
127128

128129
withType<Wrapper> {
129-
gradleVersion = "7.4"
130+
gradleVersion = "8.0"
130131
}
131132

132133
withType<JavaCompile> {

gradle/wrapper/gradle-wrapper.jar

1.71 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

gradlew

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
8080
esac
8181
done
8282

83-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84-
85-
APP_NAME="Gradle"
83+
# This is normally unused
84+
# shellcheck disable=SC2034
8685
APP_BASE_NAME=${0##*/}
86+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

8888
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147+
# shellcheck disable=SC3045
146148
MAX_FD=$( ulimit -H -n ) ||
147149
warn "Could not query maximum file descriptor limit"
148150
esac
149151
case $MAX_FD in #(
150152
'' | soft) :;; #(
151153
*)
154+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155+
# shellcheck disable=SC3045
152156
ulimit -n "$MAX_FD" ||
153157
warn "Could not set maximum file descriptor limit to $MAX_FD"
154158
esac
@@ -205,6 +209,12 @@ set -- \
205209
org.gradle.wrapper.GradleWrapperMain \
206210
"$@"
207211

212+
# Stop when "xargs" is not available.
213+
if ! command -v xargs >/dev/null 2>&1
214+
then
215+
die "xargs is not available"
216+
fi
217+
208218
# Use "xargs" to parse quoted args.
209219
#
210220
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.

gradlew.bat

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@rem limitations under the License.
1515
@rem
1616

17-
@if "%DEBUG%" == "" @echo off
17+
@if "%DEBUG%"=="" @echo off
1818
@rem ##########################################################################
1919
@rem
2020
@rem Gradle startup script for Windows
@@ -25,7 +25,8 @@
2525
if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
28-
if "%DIRNAME%" == "" set DIRNAME=.
28+
if "%DIRNAME%"=="" set DIRNAME=.
29+
@rem This is normally unused
2930
set APP_BASE_NAME=%~n0
3031
set APP_HOME=%DIRNAME%
3132

@@ -40,7 +41,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome
4041

4142
set JAVA_EXE=java.exe
4243
%JAVA_EXE% -version >NUL 2>&1
43-
if "%ERRORLEVEL%" == "0" goto execute
44+
if %ERRORLEVEL% equ 0 goto execute
4445

4546
echo.
4647
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
@@ -75,13 +76,15 @@ set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
7576

7677
:end
7778
@rem End local scope for the variables with windows NT shell
78-
if "%ERRORLEVEL%"=="0" goto mainEnd
79+
if %ERRORLEVEL% equ 0 goto mainEnd
7980

8081
:fail
8182
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
8283
rem the _cmd.exe /c_ return code!
83-
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
84-
exit /b 1
84+
set EXIT_CODE=%ERRORLEVEL%
85+
if %EXIT_CODE% equ 0 set EXIT_CODE=1
86+
if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
87+
exit /b %EXIT_CODE%
8588

8689
:mainEnd
8790
if "%OS%"=="Windows_NT" endlocal

src/test/java/io/reactiverse/awssdk/integration/apigateway/VertxApiGatewaySpec.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package io.reactiverse.awssdk.integration.apigateway;
22

33
import cloud.localstack.Localstack;
4+
import cloud.localstack.ServiceName;
45
import cloud.localstack.docker.LocalstackDockerExtension;
56
import cloud.localstack.docker.annotation.LocalstackDockerProperties;
67
import io.reactiverse.awssdk.VertxSdkClient;
@@ -40,7 +41,7 @@
4041
import static org.junit.jupiter.api.Assertions.assertEquals;
4142

4243
@EnabledIfSystemProperty(named = "tests.integration", matches = "localstack")
43-
@LocalstackDockerProperties(services = { "apigateway" }, imageTag = "0.12.2")
44+
@LocalstackDockerProperties(services = { ServiceName.API_GATEWAY }, imageTag = "1.4.0")
4445
@ExtendWith(VertxExtension.class)
4546
@ExtendWith(LocalstackDockerExtension.class)
4647
public class VertxApiGatewaySpec extends LocalStackBaseSpec {

0 commit comments

Comments
 (0)