This application contains the following:
- Spring Boot actuator, devtools and web starters.
- Lombok dependency and annotation processing.
- Actuator endpoints for info, health and metrics.
- Enabled junit5 and explicit exclusion of junit4.
- DB2, Oracle and H2 database driver dependencies
- Inclusion of GIT properties in actuator info endpoint
- Swagger2
- clone this repo
- open a command window and navigate to
spring-boot-project-starter
directory - build and run the application:
./gradlew bootRun
- verify the application is running using
http://localhost:8080/actuator/health
- Swagger UI should be displayed at
http://localhost:8080
- open a command window and navigate to
spring-boot-project-starter
directory - create the deploy artifact using
./gradlew clean bootJar
- verify
build/libs/spring-boot-project-starter.jar
exists - deploy to PCF using
cf push