/rest-client-http-interface-cron

Using RestClient from Spring Framework 6.1, HTTP interfaces and scheduling methods

Primary LanguageJava

RestClient, HTTP interfaces and CRON


Projeto para praticar os conceitos de RestClient, HTTP Interfaces and CRON

🧐 Sobre

Projeto que utiliza RestClient do Spring Framework 6.1 em conjunto com HTTP Interfaces. Dois serviços implementados: articles e blog. Articles é um CRUD simples, onde se pode criar, remover, atualizar e deletar artigos. Para popular a lista de artigos, uma consulta à API Loripsum é feita a cada 10 segundos com uso de @Scheduled. O serviço de Blog irá então consultar API de artigos por meio de RestClient e o uso de HTTP Interface.

🧐 About

Project using Spring Framework 6.1's RestClient and HTTP Interfaces. Two services were implemented: articles e blog. Articles is a simple CRUD, where you can create, remove, update and delete articles. To populate the list of articles, a request to Loripsum API is made every 10 seconds using @Scheduled annotation. The Blog service will make requests to the article API usign RestClient and HTTP Interface.