Summary

In this chapter, the application of Groovy script to logging and Groovy policies was described and illustrated. With this the relationship to the framework in which policies were introduced, and how the framework enabled behaviors such as manipulating the API call payloads and headers.

With that foundation of knowledge, a couple of Groovy policies where configured to illustrate these ideas. The Groovy part of the chapter also drilled into more depth about using the language to build a custom policy. The idea of the PlatformTest service was introduced and an implementation was deployed to help test the example policies.

The second half of the chapter went on to the development of custom Java policies. This time rather than defining ...

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.