diff --git a/.github/workflows/build-and-test.yaml b/.github/workflows/build-and-test.yaml index 2fd7ed4c..9554020e 100644 --- a/.github/workflows/build-and-test.yaml +++ b/.github/workflows/build-and-test.yaml @@ -4,4 +4,6 @@ on: [pull_request, push, workflow_dispatch] jobs: build: uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-build-and-test.yaml@v2 + with: + java_version: "21" secrets: inherit diff --git a/.github/workflows/release-docker-image.yaml b/.github/workflows/release-docker-image.yaml index e1a2f0ad..f70add86 100644 --- a/.github/workflows/release-docker-image.yaml +++ b/.github/workflows/release-docker-image.yaml @@ -49,6 +49,7 @@ jobs: with: release_type: ${{ inputs.release_type }} vulnerability_severity: ${{ inputs.vulnerability_severity }} + java_version: 21 secrets: inherit e2e-test: diff --git a/.github/workflows/validate-image.yaml b/.github/workflows/validate-image.yaml index 9496e527..9b34105d 100644 --- a/.github/workflows/validate-image.yaml +++ b/.github/workflows/validate-image.yaml @@ -23,4 +23,5 @@ jobs: with: failure_severity: ${{ inputs.failure_severity || 'CRITICAL,HIGH' }} fail_on_error: ${{ inputs.fail_on_error || true }} + java_version: "21" secrets: inherit diff --git a/Dockerfile b/Dockerfile index 516099f6..d9a2c498 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ -# sha from https://hub.docker.com/layers/amd64/eclipse-temurin/11.0.22_7-jre-alpine/images/sha256-d7a82981336958683f147f17396fe2219cb1072a5853e8a8ef16d07f0535343a?context=explore -FROM eclipse-temurin@sha256:564eb67091b2cda82952299b4be52bf1b039289234b52f46057fe1286c173b71 +# sha from https://hub.docker.com/layers/amd64/eclipse-temurin/21.0.3_9-jre-alpine/images/sha256-3c40389d278c7129d9032c5f3ce68fb150c2869b5e107ea801b150a2ae653253?context=explore +FROM eclipse-temurin@sha256:3c40389d278c7129d9032c5f3ce68fb150c2869b5e107ea801b150a2ae653253 WORKDIR /app EXPOSE 8088 diff --git a/pom.xml b/pom.xml index e7c468dc..e9c84c87 100644 --- a/pom.xml +++ b/pom.xml @@ -2,288 +2,310 @@ - 4.0.0 + 4.0.0 - com.uid2 - uid2-core - 2.17.0 + com.uid2 + uid2-core + 2.17.2-alpha-46-SNAPSHOT - - UTF-8 + + UTF-8 - 3.8.1 - 3.2.4 - 2.22.2 - 3.0.0 + 3.8.1 + 3.2.4 + 2.22.2 + 3.0.0 - 4.5.3 - 1.0.22 - 1.1.0 - 5.9.2 + 4.5.3 + 1.0.22 + 1.12.2 + 5.10.3 - com.uid2.core.vertx.CoreVerticle - io.vertx.core.Launcher + com.uid2.core.vertx.CoreVerticle + io.vertx.core.Launcher - 7.17.0 - ${project.version} - + 7.18.0 + ${project.version} + - - - snapshots-repo - https://s01.oss.sonatype.org/content/repositories/snapshots - false - true - - + + + snapshots-repo + https://s01.oss.sonatype.org/content/repositories/snapshots + + false + + + true + + + + maven_central + Maven Central + https://repo.maven.apache.org/maven2/ + + - - - - io.vertx - vertx-stack-depchain - ${vertx.version} - pom - import - - - software.amazon.awssdk - bom - 2.20.109 - pom - import - - - + + + + io.vertx + vertx-stack-depchain + ${vertx.version} + pom + import + + + software.amazon.awssdk + bom + 2.27.2 + pom + import + + + com.azure + azure-sdk-bom + 1.2.26 + pom + import + + + - - - com.uid2 - uid2-shared - ${uid2-shared.version} - - - io.vertx - vertx-core - - - io.vertx - vertx-config - ${vertx.version} - - - io.vertx - vertx-web - ${vertx.version} - - - io.vertx - vertx-web-client - ${vertx.version} - - - com.google.auth - google-auth-library-oauth2-http - 1.14.0 - - - io.vertx - vertx-junit5 - test - - - org.junit.jupiter - junit-jupiter-api - ${junit-jupiter.version} - test - - - org.junit.jupiter - junit-jupiter-engine - ${junit-jupiter.version} - test - - - org.mockito - mockito-inline - 5.2.0 - test - - - io.vertx - vertx-micrometer-metrics - ${vertx.version} - - - co.nstant.in - cbor - 0.9 - - - com.amazonaws - aws-java-sdk-s3 - 1.12.701 - - - io.micrometer - micrometer-registry-prometheus - ${micrometer.version} - - - ch.qos.logback - logback-core - 1.4.12 - - - ch.qos.logback - logback-classic - 1.4.12 - - - com.github.loki4j - loki-logback-appender - 1.2.0 - - - commons-codec - commons-codec - 1.15 - - - software.amazon.awssdk - secretsmanager - - - software.amazon.awssdk - kms - - - software.amazon.awssdk - sts - + + + com.uid2 + uid2-shared + ${uid2-shared.version} + + + io.vertx + vertx-core + + + io.vertx + vertx-config + ${vertx.version} + + + io.vertx + vertx-web + ${vertx.version} + + + io.vertx + vertx-web-client + ${vertx.version} + + + com.google.auth + google-auth-library-oauth2-http + 1.23.0 + + + io.vertx + vertx-micrometer-metrics + ${vertx.version} + + + co.nstant.in + cbor + 0.9 + + + com.amazonaws + aws-java-sdk-s3 + 1.12.765 + + + io.micrometer + micrometer-registry-prometheus + ${micrometer.version} + + + ch.qos.logback + logback-core + 1.5.6 + + + ch.qos.logback + logback-classic + 1.5.6 + + + com.github.loki4j + loki-logback-appender + 1.5.1 + + + commons-codec + commons-codec + 1.17.0 + + + software.amazon.awssdk + secretsmanager + + + software.amazon.awssdk + kms + + + software.amazon.awssdk + sts + + + io.vertx + vertx-junit5 + test + + + org.junit.jupiter + junit-jupiter-api + ${junit-jupiter.version} + test + + + org.junit.jupiter + junit-jupiter-engine + ${junit-jupiter.version} + test + + + org.mockito + mockito-core + 5.12.0 + test + - + - - - - org.jacoco - jacoco-maven-plugin - 0.8.8 - - - - prepare-agent - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.11.0 - - 11 - 11 - - - - org.apache.maven.plugins - maven-source-plugin - 3.2.1 - - - attach-sources - - jar - - - - - - io.reactiverse - vertx-maven-plugin - ${vertx-maven-plugin.version} - - - vmp - - initialize - package - - - - - true - - -Djava.security.egd=file:/dev/./urandom - - - - - org.apache.maven.plugins - maven-assembly-plugin - 3.3.0 - - - - jar-with-dependencies - - - - - com.uid2.core.Main - - - - - - make-assembly - - package - - single - - - - - - org.codehaus.mojo - properties-maven-plugin - 1.0.0 - - - generate-resources - - write-project-properties - - - ${project.build.outputDirectory}/${project.artifactId}.properties - - - - - - org.codehaus.mojo - exec-maven-plugin - ${exec-maven-plugin.version} - - - default-cli - - java - - - com.uid2.core.Main - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - + + + + org.jacoco + jacoco-maven-plugin + 0.8.12 + + + + prepare-agent + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.12.1 + + 21 + 21 + 21 + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + + jar + + + + + + io.reactiverse + vertx-maven-plugin + ${vertx-maven-plugin.version} + + + vmp + + initialize + package + + + + + true + + -Djava.security.egd=file:/dev/./urandom + + + + + org.apache.maven.plugins + maven-assembly-plugin + 3.3.0 + + + + jar-with-dependencies + + + + + com.uid2.core.Main + + + + + + make-assembly + + package + + single + + + + + + org.codehaus.mojo + properties-maven-plugin + 1.0.0 + + + generate-resources + + write-project-properties + + + ${project.build.outputDirectory}/${project.artifactId}.properties + + + + + + org.codehaus.mojo + exec-maven-plugin + ${exec-maven-plugin.version} + + + default-cli + + java + + + com.uid2.core.Main + + + + + + org.apache.maven.plugins + maven-surefire-plugin + ${maven-surefire-plugin.version} + + + com.azure.tools + azure-sdk-build-tool + 1.0.0 + + +