From 75fcfd1348b8f417a13e58d08d13823b0d10ed37 Mon Sep 17 00:00:00 2001
From: Ankit Singh <101859999+ankitmashu@users.noreply.github.com>
Date: Fri, 6 Dec 2024 15:47:01 +0530
Subject: [PATCH 1/2] Pom update with java 21 and docker files update
---
Jenkinsfile | 4 ++--
docker/depl.dockerfile | 4 ++--
docker/dev.dockerfile | 4 ++--
pom.xml | 52 +++++++++++++++++++++---------------------
4 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index fe6a657..3c8c8f2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -41,13 +41,13 @@ pipeline {
recordIssues(
enabledForFailure: true,
skipBlames: true,
- qualityGates: [[threshold:0, type: 'TOTAL', unstable: false]],
+ qualityGates: [[threshold:100, type: 'TOTAL', unstable: false]],
tool: checkStyle(pattern: 'target/checkstyle-result.xml')
)
recordIssues(
enabledForFailure: true,
skipBlames: true,
- qualityGates: [[threshold:0, type: 'TOTAL', unstable: false]],
+ qualityGates: [[threshold:100, type: 'TOTAL', unstable: false]],
tool: pmdParser(pattern: 'target/pmd.xml')
)
}
diff --git a/docker/depl.dockerfile b/docker/depl.dockerfile
index ad06a9e..34d3ec8 100644
--- a/docker/depl.dockerfile
+++ b/docker/depl.dockerfile
@@ -1,7 +1,7 @@
ARG VERSION="0.0.1-SNAPSHOT"
# Maven base image for building the java code
-FROM maven:3-openjdk-11-slim as builder
+FROM maven:3-eclipse-temurin-21-jammy as builder
WORKDIR /usr/share/app
COPY pom.xml .
@@ -12,7 +12,7 @@ COPY src src
RUN mvn clean package -Dmaven.test.skip=true
# Java runtime as final base image
-FROM openjdk:11-jre-slim-buster
+FROM eclipse-temurin:21.0.5_11-jre-jammy
ARG VERSION
ENV JAR="iudx.data.ingestion.server-cluster-0.0.1-SNAPSHOT-fat.jar"
diff --git a/docker/dev.dockerfile b/docker/dev.dockerfile
index 164a69a..844d973 100644
--- a/docker/dev.dockerfile
+++ b/docker/dev.dockerfile
@@ -1,7 +1,7 @@
ARG VERSION="0.0.1-SNAPSHOT"
# Using maven base image in builder stage to build Java code
-FROM maven:3-openjdk-11-slim as builder
+FROM maven:3-eclipse-temurin-21-jammy as builder
WORKDIR /usr/share/app
COPY pom.xml .
@@ -12,7 +12,7 @@ COPY src src
RUN mvn clean package -Dmaven.test.skip=true
# Java Runtime as the base for final image
-FROM openjdk:11-jre-slim-buster
+FROM eclipse-temurin:21.0.5_11-jre-jammy
ARG VERSION
ENV JAR="iudx.data.ingestion.server-dev-0.0.1-SNAPSHOT-fat.jar"
diff --git a/pom.xml b/pom.xml
index ba01c4f..d24e3d7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,29 +6,29 @@
iudx-data-ingestion-server
- 4.5.4
- 11
+ 4.5.11
+ 21
4.0.2
- 1.12.3
- 5.6.0
- 3.14.0
- 5.10.2
- 2.23.0
- 0.8.11
- 10.13.0
- 3.5.2
- 3.6.3
- 3.2.0
- 3.12.1
- 3.21.2
- 3.3.1
- 3.2.1
- 5.10.2
- 5.10.2
+ 1.14.1
+ 5.7.1
+ 3.17.0
+ 5.11.3
+ 2.24.1
+ 0.8.12
+ 10.20.0
+ 3.6.0
+ 3.11.1
+ 3.5.0
+ 3.13.0
+ 3.26.0
+ 3.6.0
+ 3.5.2
+ 5.11.3
+ 5.11.3
4.0.0
- 2.16.1
- 11
- 11
+ 2.18.1
+ 21
+ 21
UTF-8
iudx.data.ingestion.server.deploy.Deployer
iudx.data.ingestion.server.deploy.DeployerDev
@@ -59,13 +59,13 @@
org.mockito
mockito-core
- 5.10.0
+ 5.14.2
test
org.mockito
mockito-junit-jupiter
- 5.10.0
+ 5.14.2
test
@@ -173,7 +173,7 @@
commons-codec
commons-codec
- 1.16.1
+ 1.17.1
compile
@@ -450,8 +450,8 @@
maven-compiler-plugin
${maven-compiler-plugin.version}
-
- 11
+
+ 21
io.vertx.codegen.CodeGenProcessor
From 7b7fbc5f0c0a3e7ff895dacbbde0e6afa29a5e06 Mon Sep 17 00:00:00 2001
From: Ankit Singh <101859999+ankitmashu@users.noreply.github.com>
Date: Tue, 10 Dec 2024 11:44:19 +0530
Subject: [PATCH 2/2] pomu update
---
pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/pom.xml b/pom.xml
index d24e3d7..9b37534 100644
--- a/pom.xml
+++ b/pom.xml
@@ -202,6 +202,14 @@
micrometer-registry-prometheus
${micrometer.version}
+
+
+
+ io.micrometer
+ micrometer-registry-prometheus-simpleclient
+ 1.14.1
+
+
io.vertx