Working on restful microservices in the Micronaut framework
In order to learn about restful microservices in the Micronaut framework, we will continue working on the pet-clinic
application. The following table summarizes the changes we will be making on each of the microservices in the pet-clinic
application:
In each microservice, we will get hands-on with adding HTTP endpoints for performing CRUD operations on the data objects owned by them.
In our hands-on discussions, we will focus on the following:
- DTOs: How DTOs can be used to encapsulate outgoing and incoming payloads for restful endpoints
- Services: How services liaison with database repositories for any controller requests
- Controllers: How controllers provide a standard restful interface for the external world in the Micronaut framework
Adding to Figure 2.2 of Chapter 2, Working on the Data Access, the following...