This example implements a simple weather REST service using Payara Micro, JavaEE and Microprofile APIs.
$ mvn package
$ tilt up
$ skaffold dev --no-prune=false --cache-artifacts=false
$ curl -X GET http://localhost:18080/api/weather\?city\=Rosenheim
{"city":"Rosenheim","weather":"Sunshine"}
$ curl -X GET http://localhost:18080/
$ curl -X GET http://localhost:18080/metrics
$ curl -X GET http://localhost:18080/health
$ curl -X GET http://localhost:18080/health/ready
$ curl -X GET http://localhost:18080/health/live
M.-Leander Reimer (@lreimer), [email protected]
This software is provided under the Apache v2.0 open source license, read the LICENSE
file for details.