- To get weather info use
GET /wheather/{city}
- displays City name, temperature and time when data was pulled from api
- No error handlers are implemented
- No exception erros are handled
- Unit test are missing
- Implements Factory for changable API classes
Includes Dockerfile for running the applicationbuild_and_run.sh
- access
localhost:8080/weather/Ostrava
- DOES NOT WORK
java.net.UnknownHostException: api.openweathermap.org
- API key configurable via
resources/application.properties
filepersonal API key included
mvn clean install
java -jar target/openweatherapp.war
`localhost:8080/weather/Ostrava`