Creating a microservice for Service Consumer
The Service Consumer microservice exposes APIs for end users to register as a consumer of the Helping Hands application. To look up registered services and place an order, the user of the application must be registered as a Consumer. As per the workflow of Service Consumer defined in Chapter 3, Microservices for Helping Hands Application, it requires the following APIs to create new consumers, get consumer profiles, and update consumer details:
URI | Description |
| Gets the details of the consumer with the specified |
| Creates a new consumer with the specified ID. |
| Creates a new consumer and returns the ID. |
| Deletes the consumer with the specified ID. |
Adding routes
Pedestal routes are added for each of the identified APIs...