January 2018
Intermediate to advanced
336 pages
7h 56m
English
Once the request is authenticated and authorized by the Auth interceptor, it should be validated against the data model of the microservice. This validation logic can also be implemented as a Pedestal interceptor that can review the input parameters specified with the request and make sure that it conforms to the data model. If the request parameters are valid, this interceptor should forward the request to the next interceptor in the chain with the required details, else it should terminate the chain and return a HTTP 400 Bad Request response.
The data model validation interceptor can also add additional details to the request. For example, if the request contains just the service ID, this interceptor can pull ...
Read now
Unlock full access