Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ec66362
added changes
Nandyalasuryanarayana Sep 11, 2025
17b99ea
added changes1
Nandyalasuryanarayana Sep 11, 2025
ffeb0ee
pull request
Nandyalasuryanarayana Sep 15, 2025
0c23c58
Create main.yml
Nandyalasuryanarayana Sep 11, 2025
7e43dd5
added changes to WF
Nandyalasuryanarayana Sep 11, 2025
bac9bf4
added changes for variables
Nandyalasuryanarayana Sep 15, 2025
014d411
commit changes for variables
Nandyalasuryanarayana Sep 15, 2025
63501d3
added changes
Nandyalasuryanarayana Sep 15, 2025
2fbb07b
upload files
Nandyalasuryanarayana Sep 15, 2025
ecee142
pullrequest
Nandyalasuryanarayana Sep 15, 2025
c733bb5
remove wf
Nandyalasuryanarayana Sep 16, 2025
778ca46
Added again wf
Nandyalasuryanarayana Sep 16, 2025
509db85
added changes
Nandyalasuryanarayana Sep 16, 2025
ccb39a0
added tests actions
Nandyalasuryanarayana Sep 16, 2025
314f59e
change the test version
Nandyalasuryanarayana Sep 16, 2025
ec5b564
reassign tests and upload artifact
Nandyalasuryanarayana Sep 16, 2025
2f3ddaf
added changes for wf
Nandyalasuryanarayana Sep 16, 2025
c4cae65
configure paths for tests and upload
Nandyalasuryanarayana Sep 16, 2025
cd26608
added changes
Nandyalasuryanarayana Sep 16, 2025
3320667
jar file
Nandyalasuryanarayana Sep 16, 2025
bcdb406
added changes to file path
Nandyalasuryanarayana Sep 16, 2025
82af1e2
added matrix
Nandyalasuryanarayana Sep 16, 2025
b70675c
Update ci.yml
Nandyalasuryanarayana Sep 19, 2025
30a3ab3
added changes
Nandyalasuryanarayana Sep 19, 2025
3a3ec63
added changes sonar
Nandyalasuryanarayana Sep 19, 2025
5d3a63d
added changes push
Nandyalasuryanarayana Sep 19, 2025
f506c58
added changes
Nandyalasuryanarayana Sep 19, 2025
c244f86
added changes
Nandyalasuryanarayana Sep 19, 2025
835ecd3
added changses for pr
Nandyalasuryanarayana Sep 19, 2025
bf84c6b
added changes for pr
Nandyalasuryanarayana Sep 19, 2025
8fd106c
added changes in license
Nandyalasuryanarayana Sep 19, 2025
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
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "same workflow"
on:
pull_request:
branches:
main
jobs:
job1:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java : [17 , 21]

steps:
- name: copy code using actions
uses: actions/checkout@v5
- name: setup jdk
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: maven
- name: setup jre
run: mvn package
- name: run tests
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: |
target/surefire-reports/*.xml
- name: package application for testers
uses: actions/upload-artifact@v4
with:
name: app-java-${{matrix.java}}
path: "**/target/*.jar"



31 changes: 0 additions & 31 deletions .github/workflows/deploy-and-test-cluster.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/gradle-build.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/maven-build.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

1. Definitions.

"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
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
[![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)

## 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
Expand Down
2 changes: 1 addition & 1 deletion k8s/petclinic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- port: 80
targetPort: 8080
selector:
app: petclinic
app: petclini

---
apiVersion: apps/v1
Expand Down