From a593f459e15f873205e99ca29197494fbe18fba3 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Wed, 8 Oct 2025 19:25:17 +0530 Subject: [PATCH 01/19] Update pom.xml --- pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 6bebf532..641aaf71 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.edurekademo.tutorial addressbook war - 2.0 + 3.4 Vaadin Addressbook example @@ -162,10 +162,10 @@ org.apache.maven.plugins maven-compiler-plugin - 3.2 + 3.10.1 - 1.8 - 1.8 + 17 + 17 From d3e2b12efb018ddfde765c5270d200a4b409508d Mon Sep 17 00:00:00 2001 From: avinash581 Date: Wed, 8 Oct 2025 19:33:49 +0530 Subject: [PATCH 02/19] Update pom.xml --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index 641aaf71..1b97e7ce 100644 --- a/pom.xml +++ b/pom.xml @@ -173,6 +173,12 @@ jetty-maven-plugin 9.2.3.v20140905 + plugin> + org.apache.maven.plugins + maven-war-plugin + 3.4 + + org.apache.maven.plugins From 1232679aa8219c27ee52decd10afb9cb8de52afb Mon Sep 17 00:00:00 2001 From: avinash581 Date: Wed, 8 Oct 2025 19:36:34 +0530 Subject: [PATCH 03/19] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1b97e7ce..265bd059 100644 --- a/pom.xml +++ b/pom.xml @@ -173,7 +173,7 @@ jetty-maven-plugin 9.2.3.v20140905 - plugin> + org.apache.maven.plugins maven-war-plugin 3.4 From 0ee713c7d52eacd9463e4a610d531108525b6193 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Wed, 8 Oct 2025 19:40:31 +0530 Subject: [PATCH 04/19] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 265bd059..39933db3 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.edurekademo.tutorial addressbook war - 3.4 + 2.0 Vaadin Addressbook example From cd522455ba0edb9fd163c3f3eed511541cacc0be Mon Sep 17 00:00:00 2001 From: avinash581 Date: Wed, 8 Oct 2025 19:41:45 +0530 Subject: [PATCH 05/19] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 39933db3..d15edb31 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@ org.apache.maven.plugins maven-war-plugin - 3.4 + 3.3.2 From 69b3dd2cae1cd85257c11ab07427651fcc6ccf12 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Sat, 8 Nov 2025 23:51:47 +0530 Subject: [PATCH 06/19] Update Maven compiler plugin to use Java 21 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d15edb31..a58e6072 100644 --- a/pom.xml +++ b/pom.xml @@ -164,8 +164,8 @@ maven-compiler-plugin 3.10.1 - 17 - 17 + 21 + 21 From 115b0a090c6fa0601c411a4a555e031e2e3265d9 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Sun, 14 Dec 2025 14:28:10 +0530 Subject: [PATCH 07/19] Update maven-war-plugin version to 3.8.7 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a58e6072..2b24e331 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@ org.apache.maven.plugins maven-war-plugin - 3.3.2 + 3.8.7 From bd63a0306522c82f86d90c6147a0d786abf92080 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Sun, 14 Dec 2025 14:33:29 +0530 Subject: [PATCH 08/19] Update Maven plugin versions in pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 2b24e331..ca828b94 100644 --- a/pom.xml +++ b/pom.xml @@ -280,7 +280,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 1.0 + 3.8.7 enforce-versions @@ -305,7 +305,7 @@ maven-project-info-reports-plugin - 2.7 + 3.8.7 org.jacoco From 7f21f3fdf9a665bbf21723d4cf22aaf2654b2ea8 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Sun, 14 Dec 2025 14:35:50 +0530 Subject: [PATCH 09/19] Downgrade maven-enforcer-plugin version to 3.2.1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ca828b94..805cab68 100644 --- a/pom.xml +++ b/pom.xml @@ -280,7 +280,7 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.8.7 + 3.2.1 enforce-versions From 3d4961bdb81001ce4a57ee718f5f3bd67bd9aab7 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Sun, 14 Dec 2025 22:29:05 +0530 Subject: [PATCH 10/19] Downgrade maven-war-plugin version to 3.3.2 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 805cab68..573db895 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@ org.apache.maven.plugins maven-war-plugin - 3.8.7 + 3.3.2 From a92915ac5e700b1f6146480c5dc0bc05f259fdcf Mon Sep 17 00:00:00 2001 From: avinash581 Date: Sun, 14 Dec 2025 23:47:48 +0530 Subject: [PATCH 11/19] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4324eba4..2b625e58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ # test FROM bitnami/tomcat ENV ALLOW_EMPTY_PASSWORD=yes -COPY addressbook.war /opt/bitnami/tomcat/webapps_default/addressbook.war +COPY target/addressbook.war /opt/bitnami/tomcat/webapps_default/addressbook.war From fe915f11d706f1ecb2ab920d2f855cce055ba8e6 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Mon, 15 Dec 2025 00:16:13 +0530 Subject: [PATCH 12/19] Update container image in deployment.yaml --- deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.yaml b/deployment.yaml index ab6ace49..6863ac13 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -19,7 +19,7 @@ spec: app: mydeploy spec: containers: - - image: rajendrait99/addressbook:1.0 + - image: avinashreddi123456/practice_123:17 name: addressbook ports: - containerPort: 8080 From c3678d4a40d2fb560f1796db28f732703310583a Mon Sep 17 00:00:00 2001 From: avinash581 Date: Thu, 25 Dec 2025 22:52:19 +0530 Subject: [PATCH 13/19] Change Java source and target version to 11 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 573db895..0898aa0d 100644 --- a/pom.xml +++ b/pom.xml @@ -164,8 +164,8 @@ maven-compiler-plugin 3.10.1 - 21 - 21 + 11 + 11 From 920a63a0195a2cd194ff9426b59588010c681d86 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Wed, 31 Dec 2025 19:19:25 +0530 Subject: [PATCH 14/19] Create service.yaml for mydeploy service --- service.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 service.yaml diff --git a/service.yaml b/service.yaml new file mode 100644 index 00000000..9f831ed7 --- /dev/null +++ b/service.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +kind: Service +metadata: + name: mydeploy-service +spec: + type: NodePort + selector: + app: mydeploy + ports: + - port: 80 + targetPort: 8080 + nodePort: 30080 From 41c55bd6bda040dd9da274c0da530ba796116d3c Mon Sep 17 00:00:00 2001 From: avinash581 Date: Fri, 2 Jan 2026 17:20:50 +0530 Subject: [PATCH 15/19] Update deployment.yaml --- deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.yaml b/deployment.yaml index 6863ac13..09e5ccab 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -19,7 +19,7 @@ spec: app: mydeploy spec: containers: - - image: avinashreddi123456/practice_123:17 + - image: ${ECR_PRIVATE_REPO_URI}:${IMAGE_TAG} name: addressbook ports: - containerPort: 8080 From 15df6d34136138d9965f9b0a5b93508a62a2bc22 Mon Sep 17 00:00:00 2001 From: avinash581 Date: Fri, 2 Jan 2026 17:30:09 +0530 Subject: [PATCH 16/19] Update deployment.yaml --- deployment.yaml | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index 09e5ccab..5f896e55 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -2,29 +2,37 @@ apiVersion: apps/v1 kind: Deployment metadata: - creationTimestamp: null + name: mydeploy labels: app: mydeploy - name: mydeploy spec: replicas: 1 selector: matchLabels: app: mydeploy - strategy: {} + strategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% template: metadata: - creationTimestamp: null labels: app: mydeploy spec: containers: - - image: ${ECR_PRIVATE_REPO_URI}:${IMAGE_TAG} - name: addressbook + - name: addressbook + image: your_ecr_repo_uri:your_image_tag ports: - containerPort: 8080 - resources: {} env: - - name: ALLOW_EMPTY_PASSWORD - value: "yes" -status: {} + - name: ALLOW_EMPTY_PASSWORD + value: "yes" + resources: + requests: + cpu: "100m" + memory: "128Mi" + limits: + cpu: "500m" + memory: "512Mi" + From 95985cf341ed7afa3a255f59bdd3aed9d40a457e Mon Sep 17 00:00:00 2001 From: avinash581 Date: Fri, 2 Jan 2026 17:36:05 +0530 Subject: [PATCH 17/19] Add imagePullSecrets to deployment configuration --- deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deployment.yaml b/deployment.yaml index 5f896e55..2fe28f2d 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -20,6 +20,8 @@ spec: labels: app: mydeploy spec: + imagePullSecrets: + - name: ecr-secret containers: - name: addressbook image: your_ecr_repo_uri:your_image_tag From 495954b3a36be2e72e2371c73b2befbd6728c11c Mon Sep 17 00:00:00 2001 From: avinash581 Date: Fri, 2 Jan 2026 17:40:40 +0530 Subject: [PATCH 18/19] Update container image URI in deployment.yaml --- deployment.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deployment.yaml b/deployment.yaml index 2fe28f2d..6cd4559a 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -1,4 +1,3 @@ -# test apiVersion: apps/v1 kind: Deployment metadata: @@ -24,7 +23,7 @@ spec: - name: ecr-secret containers: - name: addressbook - image: your_ecr_repo_uri:your_image_tag + image: 123456789012.dkr.ecr.us-east-1.amazonaws.com/addressbook:latest ports: - containerPort: 8080 env: @@ -37,4 +36,3 @@ spec: limits: cpu: "500m" memory: "512Mi" - From 28ce0f1d8bc937226fca641a21444b8f7b9ca45a Mon Sep 17 00:00:00 2001 From: avinash581 Date: Sat, 3 Jan 2026 10:39:53 +0530 Subject: [PATCH 19/19] Update deployment.yaml --- deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment.yaml b/deployment.yaml index 6cd4559a..0eb7b978 100644 --- a/deployment.yaml +++ b/deployment.yaml @@ -23,7 +23,7 @@ spec: - name: ecr-secret containers: - name: addressbook - image: 123456789012.dkr.ecr.us-east-1.amazonaws.com/addressbook:latest + image: bitnami/tomcat:latest ports: - containerPort: 8080 env: