https://github.com/qaware/cloud-native-weather-javaee
A simple weather REST service using Payara Micro, JavaEE and Microprofile APIs.
https://github.com/qaware/cloud-native-weather-javaee
cloud-native docker github-actions hacktoberfest javaee8 kustomize microservice skaffold tilt
Last synced: 6 months ago
JSON representation
A simple weather REST service using Payara Micro, JavaEE and Microprofile APIs.
- Host: GitHub
- URL: https://github.com/qaware/cloud-native-weather-javaee
- Owner: qaware
- License: mit
- Created: 2022-06-27T22:06:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-21T00:08:54.000Z (over 1 year ago)
- Last Synced: 2025-03-23T19:11:13.478Z (7 months ago)
- Topics: cloud-native, docker, github-actions, hacktoberfest, javaee8, kustomize, microservice, skaffold, tilt
- Language: Java
- Homepage:
- Size: 770 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cloud-native Weather Service with JavaEE
This example implements a simple weather REST service using Payara Micro, JavaEE and Microprofile APIs.

## Build and run locally
```bash
$ mvn package
$ tilt up
$ skaffold dev --no-prune=false --cache-artifacts=false
```## Exercise the application
```bash
$ 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
```## Maintainer
M.-Leander Reimer (@lreimer),
## License
This software is provided under the Apache v2.0 open source license, read the `LICENSE`
file for details.