Steps to run this project:
- You need docker and docker-compose installed on your machine.
- Run
mvn clean package
and wait download and install of all dependencies - In other terminal tab run
docker-compose up
and wait until docker up services ( Postgres, Sonar and Prometheus ) - Run
mvn clean verify sonar:sonar
to resgitry application code on sonar quality gate - Run
mvn liberty:run
and wait until OpenLiberty to up apllication - Visit http://localhost:9080/open-api/ui for API documentation
- Visit http://localhost:9080/metrics for system metrics
- visit http://localhost:9080/health to see system health
- visit http://localhost:9090/ to see Prometheus UI
- visit http://localhost:9000/ to see Sonar Quality Gate