Trivial java application to greet people in BZ.
mvn clean test
mvn clean package
java -jar -Dhttp.server.port=${PORT} target/hello-bz-jar-with-dependencies.jar
Default port is 8080.
docker build -t pdincau/hello-bz i
docker run --rm=true -it -p 8080:8080 --name hello-bz pdincau/hello-bz
You can check the health of the service by calling:
curl localhost:${PORT}/hello?yourname
You can check the health of the service by calling:
curl localhost:${PORT}/ping