Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
91ad7ce
build: upgrade to Java 25 and Spring Boot 4.1.2
devin-ai-integration[bot] Nov 19, 2026
9cc277f
docs: update Java/Spring Boot references for Java 25 upgrade
devin-ai-integration[bot] Nov 19, 2026
b0e5c00
build: bump Maven wrapper to 3.9.16, enforce Java 25, add GitHub Acti…
devin-ai-integration[bot] Nov 19, 2026
702fd5b
refactor: adopt modern Java idioms in service, controller and securit…
devin-ai-integration[bot] Nov 19, 2026
2ad904b
test: add parity test harness for Java 25 upgrade
devin-ai-integration[bot] Nov 19, 2026
974f460
fix: drop MySQL8Dialect removed in Hibernate 7 (auto-detected)
devin-ai-integration[bot] Nov 19, 2026
2f2863d
Merge remote-tracking branch 'origin/devin/java25-docs-deploy' into d…
devin-ai-integration[bot] Nov 19, 2026
584bea7
Merge remote-tracking branch 'origin/devin/java25-build-ci' into devi…
devin-ai-integration[bot] Nov 19, 2026
ac63e82
Merge remote-tracking branch 'origin/devin/java25-parity-tests' into …
devin-ai-integration[bot] Nov 19, 2026
c6a04f9
build(docker): move image to Maven + Temurin 25 (JRE alpine runtime)
devin-ai-integration[bot] Nov 19, 2026
95165c6
Merge remote-tracking branch 'origin/devin/java25-modern-java-refacto…
devin-ai-integration[bot] Nov 19, 2026
085bc5e
feature: modernize persistence layer for Java 25 / Hibernate 7
devin-ai-integration[bot] Nov 19, 2026
1de22a1
Merge remote-tracking branch 'origin/devin/java25-persistence' into d…
devin-ai-integration[bot] Nov 19, 2026
e6e2cd4
Merge remote-tracking branch 'origin/devin/java25-containers' into de…
devin-ai-integration[bot] Nov 19, 2026
fbbc192
fix(deps): override jackson 3.1.8 and logback 1.6.5 for Snyk CVEs
devin-ai-integration[bot] Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build

on:
push:
branches: [DevOps]
pull_request:

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up JDK 25
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '25'
cache: maven

- name: Build and test
run: ./mvnw -B clean verify
20 changes: 2 additions & 18 deletions .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
wrapperVersion=3.3.2
wrapperVersion=3.3.4
distributionType=only-script
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.7/apache-maven-3.9.7-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# Stage 1
#----------------------------------

# Import docker image with maven installed
FROM maven:3.8.3-openjdk-17 as builder
# Import docker image with maven and JDK 25 installed
FROM maven:3.9-eclipse-temurin-25 AS builder

# Add maintainer, so that new user will understand who had written this Dockerfile
MAINTAINER Madhup Pandey<madhuppandey2908@gmail.com>
LABEL maintainer="Madhup Pandey <madhuppandey2908@gmail.com>"

# Add labels to the image to filter out if we have multiple application running
LABEL app=bankapp
Expand All @@ -25,7 +25,7 @@ RUN mvn clean install -DskipTests=true
#--------------------------------------

# Import small size java image
FROM eclipse-temurin:17-jre-alpine as deployer
FROM eclipse-temurin:25-jre-alpine AS deployer

# Copy build from stage 1 (builder)
COPY --from=builder /src/target/*.jar /src/target/bankapp.jar
Expand Down
4 changes: 3 additions & 1 deletion README-K8S.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,11 @@ sudo su
> [!Note]
> Make sure the ssh-public-key "eks-nodegroup-key is available in your aws account"
- <b>Install Jenkins</b>
> [!Note]
> This JRE only runs the Jenkins server (Jenkins supports Java 21). The bankapp itself is built and run on Java 25 inside its Docker image, so the Jenkins host does not need JDK 25.
```bash
sudo apt update -y
sudo apt install fontconfig openjdk-17-jre -y
sudo apt install fontconfig openjdk-21-jre -y

sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \
https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## End-to-End Bank Application Deployment using DevSecOps on AWS EKS
- This is a multi-tier bank an application written in Java (Springboot).
- This is a multi-tier bank an application written in Java 25 (Spring Boot 4.1).

![Login diagram](images/login.png)
![Transactions diagram](images/transactions.png)
Expand All @@ -14,6 +14,10 @@
- ArgoCD (CD)
- AWS EKS (Kubernetes)
- Helm (Monitoring using grafana and prometheus)

## Requirements
- JDK 25 (the app targets Java 25 / Spring Boot 4.1; the Docker image builds and runs on Java 25)
- Maven via the bundled wrapper (`./mvnw clean test`, `./mvnw spring-boot:run`); no separate Maven install needed

### Steps to deploy:

Expand Down Expand Up @@ -87,9 +91,11 @@ sudo su
> [!Note]
> Make sure the ssh-public-key "eks-nodegroup-key is available in your aws account"
- <b>Install Jenkins</b>
> [!Note]
> This JRE only runs the Jenkins server (Jenkins supports Java 21). The bankapp itself is built and run on Java 25 inside its Docker image, so the Jenkins host does not need JDK 25.
```bash
sudo apt update -y
sudo apt install fontconfig openjdk-17-jre -y
sudo apt install fontconfig openjdk-21-jre -y

sudo wget -O /usr/share/keyrings/jenkins-keyring.asc \
https://pkg.jenkins.io/debian-stable/jenkins.io-2023.key
Expand Down
52 changes: 44 additions & 8 deletions mvnw

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading