Skip to content
/ HelidonSE Public template
generated from ak-git/SimpleApp

Simple HelidonSE Application with Gradle and Docker support

License

Notifications You must be signed in to change notification settings

ak-git/HelidonSE

Repository files navigation

Simple HelidonSE Application with Gradle and Docker support

A simple service to greet you. Examples:

Get default greeting message:

http://localhost:8080/simple-greet

curl -X GET http://localhost:8080/simple-greet

http://localhost:8080/greet

curl -X GET http://localhost:8080/greet

Get greeting message for Joe:

http://localhost:8080/greet/Joe

curl -X GET http://localhost:8080/greet/Joe

Change greeting

curl -X PUT -d 'Howdy' http://localhost:8080/greet/greeting

Run using Gradle

./gradlew run -t
./gradlew version
./gradlew version | grep Version | awk '{ print $2 }'

Update version and add git tag

git tag 2025.02

Update dependencies

./gradlew dependencyUpdates

Check dependencies

./gradlew buildHealth

Run docker image

docker run --rm -p 8080:8080 a002k/helidon-se
docker run -d --name helidon-se --rm -p 8080:8080 a002k/helidon-se
  • -i Keep STDIN open even if not attached
  • --rm Remove container after stop
  • -d Detach mode, Run container in background and print container ID

and follow -f logs

docker logs -f helidon-se

to stop

docker stop helidon-se

Run docker image as docker-compose

docker compose run -d --name helidon-se --rm helidon-se

and follow -f logs

docker compose logs -f helidon-se

to stop

docker compose down

Github Action Badge

Coverage Maintainability Rating Reliability Rating Security Rating

Bugs Code Smells Duplicated Lines (%) Vulnerabilities