For building instruction take a look at docker folder README.md
- Change pom version
- Run deploy-and-push.sh
- Run push.sh
- Update Portainer
Using NoSQL database, we can use save the collection we all information is need from that collection or use an
annotation @DBRef
to refer to one other collection.
These API use both of them.
The API is using Cache to improve the performance when consume some data. The resources configured to manage the cache are:
@CachePut("furnas")
-POST /api/v1/vision-to-vision
- When save new data, the cache will be updated@Cacheable("furnas")
-GET /api/v1/vision/name/{name}/all
- When request a vision by name, the data will be cached
Based in: https://www.baeldung.com/spring-boot-evict-cache