From 8beee0dae592eb9a9db232e096ca00652bd391a9 Mon Sep 17 00:00:00 2001 From: Gabriel Roldan Date: Thu, 11 Jul 2024 16:58:58 -0300 Subject: [PATCH] Upgrade to Java 21 and update dependencies * Upgrade to Java 21 * spring boot:2.7.18 * spring cloud:2021.0.9 * lombok:1.18.34 * org.json:json:20240303 * logback:1.2.13 --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/docker.yml | 2 +- .github/workflows/pull-request.yml | 2 +- gateway/pom.xml | 6 +++--- pom.xml | 22 +++++++++++++++++++--- 5 files changed, 25 insertions(+), 9 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 72f61608..30f4f670 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -41,7 +41,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'adopt' - java-version: '11' + java-version: '21' cache: 'maven' - name: Initialize CodeQL diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index a5e7cce7..905eaba4 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -22,7 +22,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'adopt' - java-version: '11' + java-version: '21' cache: 'maven' - name: "Build gateway" diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 32ad62d9..53fd33ea 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -16,7 +16,7 @@ jobs: uses: actions/setup-java@v2 with: distribution: 'adopt' - java-version: '11' + java-version: '21' cache: 'maven' - name: "Build gateway" diff --git a/gateway/pom.xml b/gateway/pom.xml index 53777875..a30e7110 100644 --- a/gateway/pom.xml +++ b/gateway/pom.xml @@ -10,7 +10,7 @@ gateway geOrchestra application gateway - 11 + 21 ${project.version} georchestra/gateway:${imageTag} @@ -123,7 +123,7 @@ org.json json - 20230618 + 20240303 org.testcontainers @@ -194,7 +194,7 @@ - [11,) + [${java.version},) [3.6.3,) diff --git a/pom.xml b/pom.xml index 20239a00..a9d46164 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.springframework.boot spring-boot-starter-parent - 2.7.12 + 2.7.18 @@ -19,7 +19,7 @@ 1.0.1-SNAPSHOT 24.0.1-SNAPSHOT - 2021.0.7 + 2021.0.9 2.10.0 false format @@ -28,10 +28,26 @@ ${fmt.skip} ${project.version} georchestra/gateway:${imageTag} - 1.18.30 + 1.18.34 + 1.2.13 + + org.yaml + snakeyaml + 2.2 + + + ch.qos.logback + logback-core + ${logback.version} + + + ch.qos.logback + logback-classic + ${logback.version} + org.springframework.cloud spring-cloud-dependencies