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 an API and applying and a little script applied, a custom policy had been taken and examined. As the policy and the tooling to accelerate the...