Groovy policy illustration

Having examined how a Groovy policy works, how to isolate any issues and so on, it is best to put this into practice by developing a couple of Groovy policies. As Chapter 7, Testing APIs with API Fortress introduced many of the standard API policies we won't go down into every little detail.

In the next couple of sections of this chapter, we will go through the process of building an API with a Groovy policy as shown in the following screenshot:

API including a Groovy policy script part

It is often useful, when developing API policy configurations, to have a stub back end that either simply reflects back to the caller ...

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.