Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Implementing Oracle API Platform Cloud Service

You're reading from   Implementing Oracle API Platform Cloud Service Design, deploy, and manage your APIs in Oracle's new API Platform

Arrow left icon
Product type Paperback
Published in May 2018
Publisher
ISBN-13 9781788478656
Length 518 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (4):
Arrow left icon
Luis Weir Luis Weir
Author Profile Icon Luis Weir
Luis Weir
Philip Wilkins Philip Wilkins
Author Profile Icon Philip Wilkins
Philip Wilkins
Andrew Bell Andrew Bell
Author Profile Icon Andrew Bell
Andrew Bell
Sander Rensen Sander Rensen
Author Profile Icon Sander Rensen
Sander Rensen
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

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...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image