mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 06:45:50 +00:00
A sample Spring-based application
.devcontainer | ||
.github/workflows | ||
.mvn/wrapper | ||
gradle/wrapper | ||
src | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.gitpod.yml | ||
build.gradle | ||
docker-compose.yml | ||
Dockerfile | ||
gradlew | ||
gradlew.bat | ||
LICENSE.txt | ||
mvnw | ||
mvnw.cmd | ||
pom.xml | ||
readme.md | ||
settings.gradle |
JFrog Spring PetClinic
This repository is a customized fork of the original Spring PetClinic.
Modifications
The following enhancements and changes have been made to the original project:
- Upgrade to JVM 21: The project now runs on the latest JVM version 21 for improved performance and compatibility.
- Security Improvements: Resolved dependency issues related to:
Continuous Integration (CI) Pipeline
A robust CI pipeline has been set up with the following automated steps:
- Build: Compile the project using Maven.
- Test: Run tests using Maven to ensure code quality and reliability.
- Dockerize: Build and tag the Docker container for deployment.
- Security Scan: Launch a vulnerability scan to maintain robust security standards.
Docker Instructions
The Dockerfile
is located in the root directory. You can run the application locally on a Linux environment using Docker with the following command:
docker run -d -p 8080:8080 rodi26.jfrog.io/rodi26-docker-local/jfrog-spring-petclinic:latest
This command will start the application in detached mode, making it accessible on port 8080.