This is a microservice project with one endpoint: Get articles from GNews API.
The port dedicated to this service is 9090.
To call the endpoints, set both "Accept" and "Content-type" headers to "application/json".
This project lacks unit and functional tests.
The caching could be improved by more advaced strategies like using an in-memory cache like Redis.
The endpoint lacks pagination since the third party REST API only provides paid pagination.
This project lacks a Fault Tolerance strategy such as Resilience4J as well as Distributed tracing Pattern.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Web
- Spring REST Docs
- Spring Boot Actuator
The following guides illustrate how to use some features concretely: