/quarkus-hello-world

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

quarkus hello world

  • HelloService returns a parametrized greeting message
  • HelloWorldController exposes endpoints
  • smallrye health check extension installed, view endpoints:
    • /q/health
    • /q/health/live - The application is up and running.
    • /q/health/ready - The application is ready to serve requests.
    • /q/health/started - The application is started.
    • /q/health - Accumulating all health check procedures in the application.
  • micrometer health check extension installed, view endpoints:
    • /q/metrics
    • /q/metrics/gauge

how to run

  • mvn quarkus:dev

or

  • mvn clean install
  • cd target\quarkus-app
  • java -jar $artifact-name.jar