Book Image

Implementing Oracle API Platform Cloud Service

By : Andrew Bell, Sander Rensen, Luis Weir, Phil Wilkins
Book Image

Implementing Oracle API Platform Cloud Service

By: Andrew Bell, Sander Rensen, Luis Weir, Phil Wilkins

Overview of this book

Implementing Oracle API Platform Cloud Service moves from theory to practice using the newest Oracle API management platform. This critical new platform for Oracle developers allows you to interface the complex array of services your clients expect in the modern world. First, you'll learn about Oracle’s new platform and get an overview of it, then you'll see a use case showing the functionality and use of this new platform for Oracle customers. Next, you’ll see the power of Apiary and begin designing your own APIs. From there, you’ll build and run microservices and set up the Oracle API gateways. Moving on, you’ll discover how to customize the developer portal and publish your own APIs. You’ll spend time looking at configuration management on the new platform, and implementing the Oauth 2.0 policy, as well as custom policies. The latest finance modules from Oracle will be examined, with some of the third party alternatives in sight as well. This broad-scoped book completes your journey with a clear examination of how to transition APIs from Oracle API Management 12c to the new Oracle API Platform, so that you can step into the future confidently.
Table of Contents (12 chapters)

Implementing Custom Policies

There are occasions when out of the box policies won't be able to provide the behaviors required of the API platform as they are rather unusual or specific to the context in which the platform is being used. These scenarios maybe addressed through the use of a callout a policy that invokes a separately managed piece of logic. However, this approach could be cumbersome in some cases, such as:

  • Applying special payload validation rules
  • Routing based on runtime conditions, for example, using a microservice registry to handle help determine the URI of a service instance to call
  • Dynamically segmenting the workload based on the attributes of an API call

Therefore, it becomes necessary to have the means to create a custom policy or in special cases even create a bespoke or use a third party provided policy.

Within the API platform, there is custom and...