This is just a sample dropwizard application to run and mess around with
{root}/hello-world/v1 {root}/hello-world/v1/name {root}/hello-world/v1/hello
- run
mvn install - run
./run - Hit endpoints with whatever you want:
curl http://localhost:8080/hello-world/v1siege http://localhost:8080/hello-world/name
- Install habitat
- run
hab studio enter - Within the studio run
build - Within the studio run
hab pkg export docker brentm5/hello-dropwizard - Open another terminal shell and run
docker run -P brentm5/hello-dropwizard - Its up and running via habitat and docker