A sample Spring-based application
Find a file
2024-10-18 20:29:39 +02:00
.devcontainer Update the DevContainer configuration 2024-08-14 09:27:13 +01:00
.github Merge remote-tracking branch 'origin/Features' into Features 2024-10-18 20:29:39 +02:00
.mvn/wrapper Update maven and gradle wrapper 2024-09-30 21:41:01 +01:00
gradle graddle wrapper 2024-10-17 12:24:56 +02:00
src update README 2024-10-18 19:25:01 +02:00
.editorconfig Add Gradle files indentation to .editorconfig 2024-02-20 17:14:43 +00:00
.gitattributes Gradle wrapper files should have correct line endings 2024-02-29 14:35:20 +00:00
.gitignore Update maven and gradle wrapper 2024-09-30 21:41:01 +01:00
.gitpod.yml Add devcontainer and gitpod 2022-06-09 11:24:17 +01:00
build.gradle io.spring.javaformat:spring-javaformat-checkstyle 2024-10-17 11:31:18 +02:00
docker-compose.yml Updated db containers, and dependencies 2024-09-30 21:41:01 +01:00
Dockerfile add docker file 2024-10-18 11:44:35 +02:00
gradlew Update maven and gradle wrapper 2024-09-30 21:41:01 +01:00
gradlew.bat Update maven and gradle wrapper 2024-09-30 21:41:01 +01:00
LICENSE.txt Add license file 2021-10-05 16:49:36 +01:00
mvnw Upgrade to Maven 3.9.7 2024-05-26 20:17:34 +02:00
mvnw.cmd Upgrade to Maven 3.9.7 2024-05-26 20:17:34 +02:00
pom.xml update README 2024-10-18 19:25:01 +02:00
readme.md Merge remote-tracking branch 'origin/Features' into Features 2024-10-18 20:29:39 +02:00
settings.gradle Make build work with Gradle 2021-12-16 11:25:09 +00:00


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:

  1. Build: Compile the project using Maven.
  2. Test: Run tests using Maven to ensure code quality and reliability.
  3. Dockerize: Build and tag the Docker container for deployment.
  4. Security Scan: Launch a vulnerability scan to maintain robust security standards.

Instruction to use the repo

  1. Create 4 variables
    • JF_URL : The url of your JFrog server
    • JF_USER : The user authorize to use xray
    • JF_ACCESS_TOKEN : your token to connect to Artifactory
    • JF_REPO : your artifactory repo (ex: myrepo.jfrog.io)
  2. Authorize Github Actions. The github action will only execute on your main branch.

Docker Instructions

The Dockerfile is located in the root directory of the repo. 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.