Skip to content

pdincau/hello-bz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello BZ

Trivial java application to greet people in BZ.

How to test

mvn clean test

How to build

mvn clean package

How to run

java -jar -Dhttp.server.port=${PORT} target/hello-bz-jar-with-dependencies.jar

Default port is 8080.

How to create docker image

docker build -t pdincau/hello-bz .

How to run docker image

docker run --rm=true -it -p 8080:8080 --name hello-bz pdincau/hello-bz

Greeting route

You can check the health of the service by calling:

curl localhost:${PORT}/hello?name=yourname

Healthcheck route

You can check the health of the service by calling:

curl localhost:${PORT}/ping

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published