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)

Building the Microservice

The next step in the API design-first approach is to build the Media Catalogue Microservice. This follows from the Design and Try phases as explained in Chapter 3, Designing the API. The aim of the Design and Try phases is to design and test the API, using Apiary, repeatedly until the API Blueprint is approved between the client and API designer. The API Blueprint is then used as a starting point to build the microservice:

The built, test, and validation of the Media Catalogue Microservice is explained in the following steps:

  1. Install Node.js and MongoDB
  2. Create the skeleton of the Media Catalogue Microservice
  3. Define the structure of the Media Catalogue Microservice
  4. Configure the Media Catalogue Microservice
  5. Define the data entity
  6. Code the interaction with the database
  7. Define the controller function
  8. Route the incoming request to the new controller function...