Spring Boot Web Application Example for bld
Based on the Spring Guides' Spring Boot web application example. Please be sure to read the guide for a sampling of how Spring Boot can help you accelerate application development.
This template is using the Spring Boot Helper Extension for bld.
To compile the web application, issue the following command:
./bld compileTo run the compiled web application, issue the following command:
./bld runTo access the web application, issue the follow command:
curl localhost:8080To access the web application services:
curl localhost:8080/actuator/health
curl localhost:8080/actuator/info
curl -X POST localhost:8080/actuator/shutdownTo run the compiled web application tests, issue the following command:
./bld testTo build and launch the executable JAR, issue the following commands:
./bld compile bootjar
java -jar build/dist/demoapplication-0.1.0-boot.jarTo build and launch the executable WAR, issue the following commands:
./bld compile bootwar
java -jar build/dist/demoapplication-0.1.0-boot.war