From ec663623dec8b41ea1af712c83e17eedf1966038 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Thu, 11 Sep 2025 19:22:04 +0530 Subject: [PATCH 01/31] added changes --- .github/workflows/ci.yml | 17 ++++++++++ .github/workflows/deploy-and-test-cluster.yml | 31 ------------------- .github/workflows/gradle-build.yml | 31 ------------------- .github/workflows/maven-build.yml | 29 ----------------- 4 files changed, 17 insertions(+), 91 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .github/workflows/deploy-and-test-cluster.yml delete mode 100644 .github/workflows/gradle-build.yml delete mode 100644 .github/workflows/maven-build.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000000..d1f3ec9cf99 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,17 @@ +name: cibuild&package +on: + pull_request: + branches: + main +jobs: + maven: + runs-on: ubuntu-latest + steps: + - name: resuableaction + uses: actions/checkout@v5 + - uses: actions/setup-java@v5 + with: + distribution: "temurin" + java-version: "21" + - name: mavenbuild + run: maven clean package \ No newline at end of file diff --git a/.github/workflows/deploy-and-test-cluster.yml b/.github/workflows/deploy-and-test-cluster.yml deleted file mode 100644 index 7353a604bba..00000000000 --- a/.github/workflows/deploy-and-test-cluster.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Deploy and Test Cluster - -on: - push: - branches: [main] - paths: - - 'k8s/**' - pull_request: - branches: [main] - paths: - - 'k8s/**' - -jobs: - deploy-and-test-cluster: - runs-on: ubuntu-latest - steps: - - name: Check out the repository - uses: actions/checkout@v2 - - - name: Create k8s Kind Cluster - uses: helm/kind-action@v1 - - - name: Deploy application - run: | - kubectl apply -f k8s/ - - - name: Wait for Pods to be ready - run: | - kubectl wait --for=condition=ready pod -l app=demo-db --timeout=180s - kubectl wait --for=condition=ready pod -l app=petclinic --timeout=180s - diff --git a/.github/workflows/gradle-build.yml b/.github/workflows/gradle-build.yml deleted file mode 100644 index c24c121b1e6..00000000000 --- a/.github/workflows/gradle-build.yml +++ /dev/null @@ -1,31 +0,0 @@ -# This workflow will build a Java project with Gradle, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-gradle - -name: Java CI with Gradle - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - java: [ '17' ] - - steps: - - uses: actions/checkout@v4 - - name: Set up JDK ${{matrix.java}} - uses: actions/setup-java@v4 - with: - java-version: ${{matrix.java}} - distribution: 'adopt' - cache: maven - - name: Setup Gradle - uses: gradle/actions/setup-gradle@v4 - - name: Build with Gradle - run: ./gradlew build diff --git a/.github/workflows/maven-build.yml b/.github/workflows/maven-build.yml deleted file mode 100644 index a1ec4dab78c..00000000000 --- a/.github/workflows/maven-build.yml +++ /dev/null @@ -1,29 +0,0 @@ -# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time -# For more information see: https://docs.github.com/en/actions/use-cases-and-examples/building-and-testing/building-and-testing-java-with-maven - -name: Java CI with Maven - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - build: - - runs-on: ubuntu-latest - strategy: - matrix: - java: [ '17' ] - - steps: - - uses: actions/checkout@v4 - - name: Set up JDK ${{matrix.java}} - uses: actions/setup-java@v4 - with: - java-version: ${{matrix.java}} - distribution: 'adopt' - cache: maven - - name: Build with Maven Wrapper - run: ./mvnw -B verify From 17b99ea914957f684dd7a61cd87f94844fdfd8be Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Thu, 11 Sep 2025 19:32:51 +0530 Subject: [PATCH 02/31] added changes1 --- k8s/petclinic.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/petclinic.yml b/k8s/petclinic.yml index a5677cd06a6..6f5448ed2ff 100644 --- a/k8s/petclinic.yml +++ b/k8s/petclinic.yml @@ -9,7 +9,7 @@ spec: - port: 80 targetPort: 8080 selector: - app: petclinic + app: petclini --- apiVersion: apps/v1 From ffeb0eef2003bb6ba6433cc4312633b55e15e5b4 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Mon, 15 Sep 2025 14:38:20 +0530 Subject: [PATCH 03/31] pull request --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1f865c56f2d..0fdc7a03463 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,9 @@ [See the presentation here](https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application) ## Run Petclinic locally + + Spring Petclinic is a [Spring Boot](https://spring.io/guides/gs/spring-boot) application built using [Maven](https://spring.io/guides/gs/maven/) or [Gradle](https://spring.io/guides/gs/gradle/). You can build a jar file and run it from the command line (it should work just as well with Java 17 or newer): ```bash From 0c23c58af9089f2a9af27108e7359433a6723b1b Mon Sep 17 00:00:00 2001 From: Nandyalasuryanarayana Date: Thu, 11 Sep 2025 19:29:53 +0530 Subject: [PATCH 04/31] Create main.yml Signed-off-by: Nandyalasuryanarayana --- .github/workflows/main.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 00000000000..8b51e2efdfd --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: cibuild&package +on: + pull_request: + branches: + main +jobs: + maven: + runs-on: ubuntu-latest + steps: + - name: resuableaction + uses: actions/checkout@v5 + - uses: actions/setup-java@v5 + with: + distribution: "temurin" + java-version: "21" + - name: mavenbuild + run: maven clean package From 7e43dd5cd8b78106f2f4f5be61f3ef901b869a98 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Thu, 11 Sep 2025 19:39:16 +0530 Subject: [PATCH 05/31] added changes to WF --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1f3ec9cf99..99c1f6de3ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,4 +14,4 @@ jobs: distribution: "temurin" java-version: "21" - name: mavenbuild - run: maven clean package \ No newline at end of file + run: mvn clean package \ No newline at end of file From bac9bf48644ddad2db2cb6e673a0166900b8464d Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Mon, 15 Sep 2025 12:38:49 +0530 Subject: [PATCH 06/31] added changes for variables --- .github/workflows/ci.yml | 2 +- .github/workflows/main.yml | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99c1f6de3ec..890c49e99ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,4 +14,4 @@ jobs: distribution: "temurin" java-version: "21" - name: mavenbuild - run: mvn clean package \ No newline at end of file + run: mvn ${{ vars.Goal }} \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 8b51e2efdfd..00000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: cibuild&package -on: - pull_request: - branches: - main -jobs: - maven: - runs-on: ubuntu-latest - steps: - - name: resuableaction - uses: actions/checkout@v5 - - uses: actions/setup-java@v5 - with: - distribution: "temurin" - java-version: "21" - - name: mavenbuild - run: maven clean package From 014d4117d63bbb9f6ab6dd3ac62655378d51aaad Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Mon, 15 Sep 2025 12:42:08 +0530 Subject: [PATCH 07/31] commit changes for variables --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 890c49e99ec..3635e01f2b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: cibuild&package on: - pull_request: + push: branches: main jobs: From 63501d381611108bb352d170ee03b0026dfcdf58 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Mon, 15 Sep 2025 14:13:27 +0530 Subject: [PATCH 08/31] added changes --- .github/workflows/ci.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3635e01f2b4..b3dc2f446c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ on: main jobs: maven: - runs-on: ubuntu-latest + runs-on: ubuntu-latest steps: - name: resuableaction uses: actions/checkout@v5 @@ -13,5 +13,17 @@ jobs: with: distribution: "temurin" java-version: "21" + cache: maven - name: mavenbuild - run: mvn ${{ vars.Goal }} \ No newline at end of file + run: mvn ${{ vars.Goal }} + - name: Publish Test Results + uses: EnricoMi/publish-unit-test-result-action@v2 + with: + files: | + **/target/surefire-reports/*.xml + + + + + + \ No newline at end of file From 2fbb07b955a32b0dbb81256c0d468e04ebb15e46 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Mon, 15 Sep 2025 14:24:40 +0530 Subject: [PATCH 09/31] upload files --- .github/workflows/ci.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3dc2f446c8..a21a8a4f257 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,6 +3,11 @@ on: push: branches: main + workflow_dispatch: + +permissions: + checks: write + contents: read jobs: maven: runs-on: ubuntu-latest @@ -21,8 +26,11 @@ jobs: with: files: | **/target/surefire-reports/*.xml - - + - name: upload artifacts for testers + uses: actions/upload-artifact@v4 + with: + name: my-artifact + path: '**/target/*.jar' From ecee1420a85833f7d03667a9477688f3a314c957 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Mon, 15 Sep 2025 14:31:50 +0530 Subject: [PATCH 10/31] pullrequest --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a21a8a4f257..b702cdeee3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: cibuild&package on: - push: + pull_request: branches: main workflow_dispatch: From c733bb5432ea40d8a6f4be585670aee37e09f8be Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 14:45:19 +0530 Subject: [PATCH 11/31] remove wf --- .github/workflows/ci.yml | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index b702cdeee3c..00000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: cibuild&package -on: - pull_request: - branches: - main - workflow_dispatch: - -permissions: - checks: write - contents: read -jobs: - maven: - runs-on: ubuntu-latest - steps: - - name: resuableaction - uses: actions/checkout@v5 - - uses: actions/setup-java@v5 - with: - distribution: "temurin" - java-version: "21" - cache: maven - - name: mavenbuild - run: mvn ${{ vars.Goal }} - - name: Publish Test Results - uses: EnricoMi/publish-unit-test-result-action@v2 - with: - files: | - **/target/surefire-reports/*.xml - - name: upload artifacts for testers - uses: actions/upload-artifact@v4 - with: - name: my-artifact - path: '**/target/*.jar' - - - - \ No newline at end of file From 778ca4687228e411bf4fa9a38c539362c1ca63e5 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 15:28:18 +0530 Subject: [PATCH 12/31] Added again wf --- .github/workflows/ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000000..eb64177bcfa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,19 @@ +name: "same workflow" +on: + push: + branches: + main +jobs: + job1: + runs-on: ubuntu-latest + steps: + - name: copy code using actions + uses: actions/checkout@v5 + - name: setup jdk + uses: actions/setup-java@v5 + with: + distribution: 'temurin' + java-version: '21' + - name: setup jre + uses: advanced-security/maven-dependency-submission-action@v3 + \ No newline at end of file From 509db8512c101fd32115b9c092ebd335454299eb Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 15:36:42 +0530 Subject: [PATCH 13/31] added changes --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eb64177bcfa..daf78c2ec3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,5 +15,5 @@ jobs: distribution: 'temurin' java-version: '21' - name: setup jre - uses: advanced-security/maven-dependency-submission-action@v3 + run: mvn package \ No newline at end of file From ccb39a0ab8138b7731e8007e310278f677a50fe4 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 15:47:20 +0530 Subject: [PATCH 14/31] added tests actions --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index daf78c2ec3c..04dc15492d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,10 @@ jobs: with: distribution: 'temurin' java-version: '21' + cache: maven - name: setup jre run: mvn package + - name: run tests + uses: newrelic/junit-reporter-action@v0.2 + \ No newline at end of file From 314f59e7a41e97cf19d34ce4d1cfd6eda4677e94 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 15:49:21 +0530 Subject: [PATCH 15/31] change the test version --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 04dc15492d8..02b18da70bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,6 @@ jobs: - name: setup jre run: mvn package - name: run tests - uses: newrelic/junit-reporter-action@v0.2 - + uses: newrelic/junit-reporter-action@v0.3.0 + \ No newline at end of file From ec5b5647b0bd5bef1590f00b1c19de267c46e9a3 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 15:58:40 +0530 Subject: [PATCH 16/31] reassign tests and upload artifact --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02b18da70bd..fda9fb1a7bf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,10 @@ jobs: - name: setup jre run: mvn package - name: run tests - uses: newrelic/junit-reporter-action@v0.3.0 + uses: testspace-com/setup-testspace@v1 + - name: package application for testers + uses: actions/upload-artifact@v4 + + \ No newline at end of file From 2f3ddafe78fe65a692acd9948c59f528c14ec542 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 16:19:33 +0530 Subject: [PATCH 17/31] added changes for wf --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fda9fb1a7bf..496166bcd70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,10 +18,10 @@ jobs: - name: setup jre run: mvn package - name: run tests - uses: testspace-com/setup-testspace@v1 + uses: EnricoMi/publish-unit-test-result-action@v2 - name: package application for testers uses: actions/upload-artifact@v4 - + \ No newline at end of file From c4cae652447b8e72fe336e4f72c02e7829eda698 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 16:40:07 +0530 Subject: [PATCH 18/31] configure paths for tests and upload --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 496166bcd70..f46e6ca6311 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,8 +19,13 @@ jobs: run: mvn package - name: run tests uses: EnricoMi/publish-unit-test-result-action@v2 + with: + path: target/surefire-reports/*.xml - name: package application for testers uses: actions/upload-artifact@v4 + with: + files: | + path: /home/runner/work/spring1/spring1/target/spring-petclinic-3.5.0-SNAPSHOT.jar From cd26608cae2aa6eee7a6a99f96e8b95f17824465 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 16:45:11 +0530 Subject: [PATCH 19/31] added changes --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f46e6ca6311..cd402a7e39b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,12 +20,13 @@ jobs: - name: run tests uses: EnricoMi/publish-unit-test-result-action@v2 with: - path: target/surefire-reports/*.xml + files: | + target/surefire-reports/*.xml - name: package application for testers uses: actions/upload-artifact@v4 with: files: | - path: /home/runner/work/spring1/spring1/target/spring-petclinic-3.5.0-SNAPSHOT.jar + path: **/target/spring-petclinic-3.5.0-SNAPSHOT.jar From 3320667c5730861ec6298ea7318ea021a36f3890 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 16:49:35 +0530 Subject: [PATCH 20/31] jar file --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd402a7e39b..9204ed7e5dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: uses: actions/upload-artifact@v4 with: files: | - path: **/target/spring-petclinic-3.5.0-SNAPSHOT.jar + path: **/target/spring-petclinic-3.5.0-SNAPSHOT.jar.original From bcdb40639b7ec50303228b2c8ffb42a111b585af Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 17:00:37 +0530 Subject: [PATCH 21/31] added changes to file path --- .github/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9204ed7e5dc..70c51f7c54b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,9 +25,7 @@ jobs: - name: package application for testers uses: actions/upload-artifact@v4 with: - files: | - path: **/target/spring-petclinic-3.5.0-SNAPSHOT.jar.original - + path: "**/target/*.jar" \ No newline at end of file From 82af1e20469bb99318fd42072a895e533d6cac16 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Tue, 16 Sep 2025 17:37:35 +0530 Subject: [PATCH 22/31] added matrix --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70c51f7c54b..fe3ccbdecfc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,11 @@ on: jobs: job1: runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + java : [17 , 21] + steps: - name: copy code using actions uses: actions/checkout@v5 @@ -13,7 +18,7 @@ jobs: uses: actions/setup-java@v5 with: distribution: 'temurin' - java-version: '21' + java-version: ${{ matrix.java }} cache: maven - name: setup jre run: mvn package From b70675c226e57a4341d664df5b3d391a99ccff88 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanarayana Date: Fri, 19 Sep 2025 10:07:02 +0530 Subject: [PATCH 23/31] Update ci.yml Signed-off-by: Nandyalasuryanarayana --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe3ccbdecfc..51366df2678 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: "same workflow" on: - push: + pullrequest: branches: main jobs: @@ -30,7 +30,8 @@ jobs: - name: package application for testers uses: actions/upload-artifact@v4 with: + name: app-build-${{ matrix.java}} path: "**/target/*.jar" - \ No newline at end of file + From 30a3ab3408b9bd5ee50257d8205a9aa0c7192c2d Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Fri, 19 Sep 2025 10:09:04 +0530 Subject: [PATCH 24/31] added changes --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 51366df2678..31856e0ab51 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: "same workflow" on: - pullrequest: + pull_request: branches: main jobs: @@ -30,7 +30,7 @@ jobs: - name: package application for testers uses: actions/upload-artifact@v4 with: - name: app-build-${{ matrix.java}} + name: app-java-${{ matrix.java }} path: "**/target/*.jar" From 3a3ec63b23c9a523df0ab0435d609e085aa1c1a9 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Fri, 19 Sep 2025 10:14:28 +0530 Subject: [PATCH 25/31] added changes sonar --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 31856e0ab51..ebc787edeab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: - name: package application for testers uses: actions/upload-artifact@v4 with: - name: app-java-${{ matrix.java }} + name: app-java-${{matrix.java}} path: "**/target/*.jar" From 5d3a63d6744a253c948c7e772284b2490105f854 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Fri, 19 Sep 2025 10:33:42 +0530 Subject: [PATCH 26/31] added changes push --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ebc787edeab..230597a5cfb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: "same workflow" on: - pull_request: + push: branches: main jobs: From f506c581a5d07c9e035e9a41d595d6bd8e6f832f Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Fri, 19 Sep 2025 10:35:50 +0530 Subject: [PATCH 27/31] added changes --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 230597a5cfb..fe8e69584d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,6 @@ name: "same workflow" on: - push: + pull_request: branches: main jobs: From c244f86670c1ca56aaf8db4d88fb977aea8faf5f Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Fri, 19 Sep 2025 10:38:54 +0530 Subject: [PATCH 28/31] added changes --- LICENSE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.txt b/LICENSE.txt index ff773796315..9ef402f2a8c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -7,7 +7,7 @@ 1. Definitions. - "License" shall mean the terms and conditions for use, reproduction, + configuration"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by From 835ecd36200826c12a2a47652152995b093971bd Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Fri, 19 Sep 2025 10:47:59 +0530 Subject: [PATCH 29/31] added changses for pr --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0fdc7a03463..89f956464a1 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/spring-projects/spring-petclinic) [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true&ref=main&repo=7517918) ## Understanding the Spring Petclinic application with a few diagrams +#diagrams [See the presentation here](https://speakerdeck.com/michaelisvy/spring-petclinic-sample-application) From bf84c6bccfccd1792160bcebb47f82955e89f37b Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Fri, 19 Sep 2025 12:50:34 +0530 Subject: [PATCH 30/31] added changes for pr --- LICENSE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.txt b/LICENSE.txt index 9ef402f2a8c..8a4935f8df8 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -7,7 +7,7 @@ 1. Definitions. - configuration"License" shall mean the terms and conditions for use, reproduction, + config"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by From 8fd106c8d79934a29ea2c7e9e97a7d4c5acba6a9 Mon Sep 17 00:00:00 2001 From: Nandyalasuryanaraya Date: Fri, 19 Sep 2025 14:57:11 +0530 Subject: [PATCH 31/31] added changes in license --- LICENSE.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.txt b/LICENSE.txt index 8a4935f8df8..4218a3c612e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -7,7 +7,7 @@ 1. Definitions. - config"License" shall mean the terms and conditions for use, reproduction, + configuratione" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by