{ API GATEWAY SETUP INTRODUCTION The API Gateway runtime points to the backend APIs and services that you define and abstracts them into a layer that the Anypoint Platform manages. Consumer applications invoke your services. APIs route to the endpoints that the gateway exposes to enforce runtime policies and collect and track analytics data. The API Gateway acts as a dedicated orchestration layer for all your backend APIs to separate orchestration from implementation concerns. The gateway leverages the governance capabilities of the API Manager, so that you can apply throttling, security, and other policies to your APIs.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
{
API GATEWAY SETUPINTRODUCTIONThe API Gateway runtime points to the backend APIs and services that you define and abstracts them into a layer that the Anypoint Platform manages. Consumer applications invoke your services. APIs route to the endpoints that the gateway exposes to enforce runtime policies and collect and track analytics data. The API Gateway acts as a dedicated orchestration layer for all your backend APIs to separate orchestration from implementation concerns. The gateway leverages the governance capabilities of the API Manager, so that you can apply throttling, security, and other policies to your APIs.
Pre requisites AnypointStudio 3.6.0+ Jdk 1.7 APIKit Cloudhub account
Process Here, I am going to create a POC
(Addition of 2 numbers) in Mule (3.6), deploy the application in Cloud and apply proxy for the same.
#%RAML 0.8---title: Addition of two numbersbaseUri: http://addition-api/apiversion: 1.0 /Addition/{num1}/{num2}: displayName: Provide input Details here get: description: Enter input details responses: 200: body: application/json:
Step 2 Deploy and test the above POC in cloud: Login to the anypoint.mulesoft.com (cloudhub).
https://anypoint.mulesoft.com/login/#/signin
Go to Runtime Manager tab and deploy the above POC.
Click Deploy application tab, upload the zip file (POC) and deploy the application.
Provide application name, zip file, runtime version and deploy the application.