Addressing a problem with a simple Groovy policy

Before working through the steps to create and execute this policy the purpose of the Groovy script needs to be understood. In Chapter 2, Use Case, the fictional company MRA was introduced. The approach to delivering the functionality for MRA have followed a microservice approach as illustrated by Chapter 4, Building and Running the Microservice. MRA have now reached a stage that they have a number of microservices and tracking how things are being executed is starting to become a challenge as microservices cascade API calls. This is not a new problem for IT and has existed for as long as we've had distributed systems.

A common approach to tackle this problem is to add to the HTTP header a ...

Get Implementing Oracle API Platform Cloud Service now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.