万本电子书0元读

万本电子书0元读

顶部广告

Implementing Oracle API Platform Cloud Service电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Andrew Bell,Sander Rensen,Luis Weir,Phil Wilkins

出  版  社:Packt Publishing

出版时间:2018-05-31

字       数:46.9万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Work with the newest Oracle API Platform Cloud Service to interface with the increasingly complex array of services your clients want. About This Book ? Understand the architecture and functionality of the new Oracle API Cloud Service Platform ? Understand typical use cases for the new platform and how it can work for you ? Design your own APIs, then deploy and customize your APIs ? Implement Oauth 2.0 policy and custom policies ? Migrate from Oracle 12c solutions to the new Oracle API platform Who This Book Is For This book is for all Oracle developers who are working or plan to work with the Oracle API Platform Cloud Service. What You Will Learn ? Get an overview of the Oracle API Cloud Service Platform ? See typical use cases of the Oracle API Cloud Service Platform ? Design your own APIs using Apiary ? Build and run microservices ? Set up API gateways with the new API platform from Oracle ? Customize developer portals ? Configuration management ? Implement Oauth 2.0 policies ? Implement custom policies ? Get a policy SDK overview ? Transition from Oracle API Management 12c to the new Oracle API platform In Detail 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. Style and approach This book provides comprehensive coverage of all aspects of Oracle API development using the new Oracle API Platform Cloud Service. All aspects of the new Oracle API Platform Cloud Service are considered and your practical, working Oracle situations are examined to give you have hands-on experience using the new API platform from Oracle.
目录展开

Title Page

Copyright and Credits

Implementing Oracle API Platform Cloud Service

Packt Upsell

Why subscribe?

PacktPub.com

Foreword

Contributors

About the authors

About the reviewers

Packt is searching for authors like you

Acknowledgments by All Authors

Preface

What is an API?

3rd generation APIs

What this book covers

How we have approached this book

What you need for this book

Who is the book for?

Conventions

Reader feedback

Customer support

Downloading the example code

Download the color images

Errata

Piracy

Questions

Platform Overview

What is the Oracle API platform?

Evolution of Oracle's API offering

Platform architecture

Components description

Management portal

APIs page

The API implementation page

The implementation section

The deployment section

The publication section

The grants section

Registration section

The analytics section

Applications page

The settings section

Grants section

The gateways page

Settings section

Properties section

Nodes section

Deployments section

Grants section

The analytics section

The services page

The settings section

The grants section

Service accounts page

The settings section

The grants section

The roles page

Users and groups

Platform settings page

General settings section

Developer portal settings section

Development portal

The API page

The API documentation section

API subscription

My applications page

The overview section

Subscribed APIs section

The grants section

The analytics section

Management service REST APIs

API plans

Apiary

The Apiary account

Apiary views

Apiary personal view

Apiary editor

Inspector

Documentation

Testing with Apiary

Apiary settings

People

Apiary team view

APIs

Styles

People

Settings

Billing

Account settings

Summary

Use Case

Scenario

Use case opportunities

IT landscape

Financial processes

Recorded material and related assets

Contracts

Identities

Audit trail

Logical data view

API requirements in detail

Product

Product for partners

Product for composers and artists

Product availability

Structuring the design approach

Exploring OMESA

Single purpose versus multipurpose APIs

Semi-decoupled and fully decoupled

Bounded context

Next steps

Summary

Designing the API

Scenario

The API design-first process

Step 1 – defining the API type

Single-purpose APIs

Multi-purpose APIs

MRA's Media Catalogue API – public and multi-purpose

Step 2 – defining the API's domain semantics

Step 3 – creating the API definition with its main resources

Step 4 – trying the API mock

Step 5 – defining MSON data structures

Step 6 – pushing the API blueprint to GitHub

Step 7 – publishing the API mock in Oracle API platform CS

Step 8 – setting up Dredd for continuous testing of API endpoints against the API blueprint

Summary

Building and Running the Microservice

What is a microservice?

Understanding the technical requirements

Building the Microservice

Step 1 – install Node.js and MongoDB

Step 2 – create the skeleton of the Media Catalogue Microservice

Step 3 – define the structure of the Media Catalogue Microservice

Step 4 – configure the Media Catalogue Microservice

Step 5 – define the data entity

Step 6 – code the interaction with the database

Step 7 – define the controller function

Step 8 – route the incoming request to the new controller function

Step 9 – test the microservice

Step 10 – package and deploy the microservice

Step 11 – updating the API endpoint and re-test using Dredd

Summary

Platform Setup and Gateway Configuration

Platform architecture

The concept of logical and physical gateways

Avoiding network latency for global deployments

Deployment for the use case

How many nodes

How many logical gateways

How much storage?

Gateway design decisions in our use case

One cloud management or several?

Single management instance

Multiple management instances

MRA's approach number of cloud management instances

Firewall or no firewall

Load balancing

Web proxies

Content Delivery Networks (CDNs)

Prerequisites to allow the API platform to be built

Background to the account types

Building the cloud

Default roles and users

Creating users inside API platform

Configuring Oracle traffic director

Network-based access controls

Setting up Apiary

Configure developer portal look and feel

Gateway life cycle and deployment

Gateway configuration

Where to get the logical gateway ID

Configuration JSON properties

Gateway prerequisites

Retrieving the gateway deployment package

Actioning the gateway deployment

Unpacking

Install

Configure

Start

Create

Join

Making the gateway production ready

Linux security

Log analytics

Dealing with certificates

Gateway lockdown

Summary

Defining Policies for APIs

Background

Common security threats

Denial-of-service attacks (DoS)

Payload attacks

Role of the gateway

HTTP and HTTPS

Throttling

Implementing APIs for MRA

Understanding policies

General guidelines for designing policies

Request and response pipeline policies

Defining polices

Inbound policies

Outbound policies

Defining rate limiting policies

API rate limiting policies

Steps to create a rate limiting policy

Application rate limiting policies

Creating an application rate policy

Testing the policy

Lightweight authorization checks

Creating an API key policy

Testing the API key

Logging

Enabling logging

Interface filtering

Creating an interface filter

Testing the policy

Cross origin resource sharing (CORS)

Creating a CORS policy

Testing the CORS policy

Gateway-based routing

Creating a gateway-based routing policy

Resource-based routing

Groovy policies

Response policies

API policy iterations

Monitoring APIs

Summary

Testing APIs with API Fortress

What is API Fortress?

Test management

Monitoring

Continuous deployment

Tools

Test the MRA Media Catalogue API

Create Media Catalogue test case

The GetArtistById test case

Test using the Jenkins plugin

Summary

Implementing OAuth 2.0

OAuth 2.0 overview

Client credentials

Resource owner password

Implicit

Authorization code

MRA use case

Implementation steps

Step 1 – obtaining an Oracle identity cloud account

Step 2 – configuring an Oracle identity cloud resource server

Step 3 – configuring an Oracle identity cloud client application

Step 4 – adding users and groups to client application

Step 5 – configuring the API platform gateway

Step 6 – applying OAuth 2.0 policies to APIs

Summary

Implementing Custom Policies

What is Groovy?

Why provide Groovy for logging?

How Groovy custom policies work?

APIs to access call data

How to reject an API call in a Groovy policy?

Recognizing Groovy errors

Groovy policy illustration

Addressing a problem with a simple Groovy policy

Building our API

Run the test

Implementing a Groovy policy for an API response

A closer look at Groovy language limitations

Custom Java policies

Composition of a custom Java policy

Creating a custom policy for MRA

Getting geolocation information

Simplifying the development process

Using an IDE

Build properties

Build process

Presentation definition

Supporting JavaScript

Localization of the UI

UI Backend for validating configuration

Backend implementation

API runtime

Metadata

Additional libraries

Deployment

Current constraints

Custom policies – which policy type to use?

Summary

Moving from API Management 12c to APIP CS

Oracle API management suite 12c

Oracle API manager 12c overview

Oracle API gateway 11g

Oracle API Platform Cloud Service

Mapping of personas and roles

Architectural differences

Strategy for transitioning APIs from OAPIM 12c to APIP CS

API re-implementation design

Service implementation

API definition and API-first design

API creation/policy implementation

API testing

API switch-over strategy

Defining API policies

Adding API documentation

Deploying endpoints

Testing the API

Publication of the API

Analytics

Summary

Another book You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部