SlideShare a Scribd company logo
API PROXY AUTO DISCOVERY
WITH MULESOFT API GATEWAY
Vince Jason Soliza
Pre-requisites
• Anypoint Studio
– Download it here https://www.mulesoft.com/platform/studio
– Install Anypoint Studio plugin API gateway runtime 2.2.0
• API Proxy Project
– http://www.slideshare.net/VinceSoliza/soap-to-rest-api-proxy
When do we need Auto-Discovery
Functionality?
When building or modifying an API project in
Anypoint Studio, it will be easy for the
developers if the application is automatically
discovered or registered in Anypoint Platform
for APIs. For instance, having regular
deployments of the same API, this will save the
effort of typing the same information into the
web application every time and reduce the risk
of a human error to occur.
Where do we begin?
• We begin from what we left off in our previous topic SOAP To REST API
Proxy.
• Login to anypoint platform and then click the gear icon.
• In the organization menu, select the organization to show the
organization info. Copy the organization client_id and client_secret.
• See the API Status is currently unregistered.
Anypoint Studio
with API Gateway runtime
• Link anypoint studio to our organization.
• Open anypoint studio and go to preference.
• Expand Anypoint Studio then select Anypoint Platform for API
• Paste the client_id & secret then click validate.
Anypoint Studio
with API Gateway runtime
Now that we linked anypoint studio to our organization let’s add auto
discovery in our configuration.
• Open proxy.xml then click Configuration XML tab. Write this code just
above the flow.
<api-platform-gw:api id=“54233" apiName=“EchoRESTProxy" version=”1.0” flowRef="proxy" doc:name="API
Autodiscovery”>
</api-platform-gw:api>
xmlns:api-platform-gw=http://www.mulesoft.org/schema/mule/api-platform-gw
http://www.mulesoft.org/schema/mule/api-platform-gw
http://www.mulesoft.org/schema/mule/api-platform-gw/current/mule-api-platform-gw.xsd
Anypoint Studio
with API Gateway runtime
• We can see through the logs that auto discovery is kicking in
INFO 2016-02-22 11:14:15,302 [main]
com.mulesoft.module.client.autodiscovery.AutoDiscoveryDeploymentListener: Source
http://192.168.11.27:8081/api/echo/v1/* registered to API EchoRESTProxy [54233], version 1.0 [56227], org
[a9d53ff2-1234-4a1f-8d1a-b19eb82612cc]
• See how it changed in API Manager. The API Status is now Active.
Summary
The automatic discovery and registration of your API on
the Anypoint Platform occurs when you deploy the
applications to an API Gateway that is paired with your
Anypoint Platform organization. While you can also
register your APIs using the Anypoint Platform web
application or its API, the API auto-discovery feature
gives you an additional option for registering API
endpoints quickly and efficiently. It’s particularly useful
when you’re regularly deploying new versions of the
same API, saving you from the effort of having to type
the same information into the Web application every
time and minimizing the risk of human error.
https://docs.mulesoft.com/anypoint-platform-for-apis/api-auto-discovery
QUESTIONS?
Please leave a comment 

More Related Content

What's hot (20)

PPTX
Web application with mule
Anirban Sen Chowdhary
 
PDF
Miracle mulesoft tech_cloud_hub
kishore ippili
 
PPTX
Mule api management
Bhanu Chandra Nalleboyina
 
PPTX
Testing soapui
Shahid Shaik
 
PPTX
Cloud hub with mule
Son Nguyen
 
PPTX
Mulesoft Calling Flow of Other Applications
kumar gaurav
 
PPTX
Mule esb soap_service
Gennaro Spagnoli
 
PPTX
Get Queue List from Microsoft Azure using Mule ESB
Sanjeet Pandey
 
DOCX
Domain and hostion
university of Gujrat, pakistan
 
PPTX
Mule esb stripe
D.Rajesh Kumar
 
PDF
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
Jitendra Bafna
 
PPTX
rmp
madhwanisneha
 
PPTX
Integration with Salesforce using Mule ESB
Sanjeet Pandey
 
PPTX
Salesforce APIs
Samuel De Rycke
 
PPTX
Azure Mobile Services
Taiseer Joudeh
 
PPTX
Build Modern Web Apps Using ASP.NET Web API and AngularJS
Taiseer Joudeh
 
PPTX
Anypoint Platform Deployment Strategies
Govind Mulinti
 
PPTX
Mule integration with linkedin
Khasim Saheb
 
PPTX
Apinizer - Full API Lifecycle and Integration Platform
Mustafa Yildiz
 
PPTX
Integration with Sercice-Now using Mule ESB
Sanjeet Pandey
 
Web application with mule
Anirban Sen Chowdhary
 
Miracle mulesoft tech_cloud_hub
kishore ippili
 
Mule api management
Bhanu Chandra Nalleboyina
 
Testing soapui
Shahid Shaik
 
Cloud hub with mule
Son Nguyen
 
Mulesoft Calling Flow of Other Applications
kumar gaurav
 
Mule esb soap_service
Gennaro Spagnoli
 
Get Queue List from Microsoft Azure using Mule ESB
Sanjeet Pandey
 
Domain and hostion
university of Gujrat, pakistan
 
Mule esb stripe
D.Rajesh Kumar
 
MuleSoft Surat Virtual Meetup#4 - Anypoint Monitoring and MuleSoft dataloader.io
Jitendra Bafna
 
Integration with Salesforce using Mule ESB
Sanjeet Pandey
 
Salesforce APIs
Samuel De Rycke
 
Azure Mobile Services
Taiseer Joudeh
 
Build Modern Web Apps Using ASP.NET Web API and AngularJS
Taiseer Joudeh
 
Anypoint Platform Deployment Strategies
Govind Mulinti
 
Mule integration with linkedin
Khasim Saheb
 
Apinizer - Full API Lifecycle and Integration Platform
Mustafa Yildiz
 
Integration with Sercice-Now using Mule ESB
Sanjeet Pandey
 

Viewers also liked (7)

PPTX
SOAP To REST API Proxy
Vince Soliza
 
PPTX
Apply Rate Limiting Policy
Vince Soliza
 
PPTX
MuleSoft Consuming Soap Web Service - CXF Proxy-Client Module
Vince Soliza
 
PPTX
Mulesoft Consuming Web Service - Web Service Consumer
Vince Soliza
 
PPTX
MuleSoft Consuming Soap Web Service - CXF jax-ws-client Module
Vince Soliza
 
PPTX
App & API Monitoring: Building a 5-Star Reputation for your Apps
Apigee | Google Cloud
 
PPTX
APIs: The New Security Layer
Apigee | Google Cloud
 
SOAP To REST API Proxy
Vince Soliza
 
Apply Rate Limiting Policy
Vince Soliza
 
MuleSoft Consuming Soap Web Service - CXF Proxy-Client Module
Vince Soliza
 
Mulesoft Consuming Web Service - Web Service Consumer
Vince Soliza
 
MuleSoft Consuming Soap Web Service - CXF jax-ws-client Module
Vince Soliza
 
App & API Monitoring: Building a 5-Star Reputation for your Apps
Apigee | Google Cloud
 
APIs: The New Security Layer
Apigee | Google Cloud
 
Ad

Similar to API Proxy Auto Discovery (20)

PPTX
Api complete life cycle with api security
pqrs1234
 
PPTX
The anypoint platform for API's
Achyuta Lakshmi
 
PPTX
Creating a mule project with raml and api
Bhargav Ranjit
 
PPTX
MuleSoft Meetup June 2022 - Munich, Germany
MulesoftMunichMeetup
 
PPTX
Kochi MuleSoft Meetup-7-November-2021
Supriya Pawar
 
PPTX
Mulesoft Indore meetup #1
Pradhan Yash Sharma
 
PDF
MuleSoft_NZ_Meetup_9
MizuhoHoshino
 
PPTX
Microservices Best Practices
MuleSoft
 
PDF
Varanasi_Meetup_Universal API Managment.pdf
Santosh Ojha
 
PDF
MuleSoft Surat Virtual Meetup#38 - Deep Dive into Anypoint API Proxy Options ...
Jitendra Bafna
 
PPTX
Raleigh MuleSoft Meetup - October
Savannah Cole
 
PPTX
Exploring Universal API Management And Flex Gateway
shyamraj55
 
PDF
Melbourne Virtual MuleSoft Meetup June 2022
Daniel Soffner
 
PPTX
Managing APIs with MuleSoft
Guilherme Pereira Silva
 
PDF
Uncover the Flex Gateway with a Demonstration (1).pdf
PankajGoyal164048
 
PDF
Uncover the Flex Gateway with a Demonstration (1).pdf
Pankaj Goyal
 
PDF
Slides Cosenza MuleSoft Meetup - Flex Gateway
AndreaCapolei1
 
PPTX
Anypoint platform for API's glossary
Achyuta Lakshmi
 
PPTX
Apimanagement
chandu1443
 
PDF
Mule : Building Blocks for Microservices
Anirudh Pandit
 
Api complete life cycle with api security
pqrs1234
 
The anypoint platform for API's
Achyuta Lakshmi
 
Creating a mule project with raml and api
Bhargav Ranjit
 
MuleSoft Meetup June 2022 - Munich, Germany
MulesoftMunichMeetup
 
Kochi MuleSoft Meetup-7-November-2021
Supriya Pawar
 
Mulesoft Indore meetup #1
Pradhan Yash Sharma
 
MuleSoft_NZ_Meetup_9
MizuhoHoshino
 
Microservices Best Practices
MuleSoft
 
Varanasi_Meetup_Universal API Managment.pdf
Santosh Ojha
 
MuleSoft Surat Virtual Meetup#38 - Deep Dive into Anypoint API Proxy Options ...
Jitendra Bafna
 
Raleigh MuleSoft Meetup - October
Savannah Cole
 
Exploring Universal API Management And Flex Gateway
shyamraj55
 
Melbourne Virtual MuleSoft Meetup June 2022
Daniel Soffner
 
Managing APIs with MuleSoft
Guilherme Pereira Silva
 
Uncover the Flex Gateway with a Demonstration (1).pdf
PankajGoyal164048
 
Uncover the Flex Gateway with a Demonstration (1).pdf
Pankaj Goyal
 
Slides Cosenza MuleSoft Meetup - Flex Gateway
AndreaCapolei1
 
Anypoint platform for API's glossary
Achyuta Lakshmi
 
Apimanagement
chandu1443
 
Mule : Building Blocks for Microservices
Anirudh Pandit
 
Ad

Recently uploaded (20)

PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
AI Prompts Cheat Code prompt engineering
Avijit Kumar Roy
 
PPTX
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
PPTX
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
PDF
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PDF
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
PPTX
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
AI Prompts Cheat Code prompt engineering
Avijit Kumar Roy
 
Coefficient of Variance in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
SciPy 2025 - Packaging a Scientific Python Project
Henry Schreiner
 
Finding Your License Details in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
IObit Driver Booster Pro 12.4.0.585 Crack Free Download
henryc1122g
 
Everything you need to know about pricing & licensing Microsoft 365 Copilot f...
Q-Advise
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Dipole Tech Innovations – Global IT Solutions for Business Growth
dipoletechi3
 
Function & Procedure: Function Vs Procedure in PL/SQL
Shani Tiwari
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 

API Proxy Auto Discovery

  • 1. API PROXY AUTO DISCOVERY WITH MULESOFT API GATEWAY Vince Jason Soliza
  • 2. Pre-requisites • Anypoint Studio – Download it here https://www.mulesoft.com/platform/studio – Install Anypoint Studio plugin API gateway runtime 2.2.0 • API Proxy Project – http://www.slideshare.net/VinceSoliza/soap-to-rest-api-proxy
  • 3. When do we need Auto-Discovery Functionality? When building or modifying an API project in Anypoint Studio, it will be easy for the developers if the application is automatically discovered or registered in Anypoint Platform for APIs. For instance, having regular deployments of the same API, this will save the effort of typing the same information into the web application every time and reduce the risk of a human error to occur.
  • 4. Where do we begin? • We begin from what we left off in our previous topic SOAP To REST API Proxy. • Login to anypoint platform and then click the gear icon. • In the organization menu, select the organization to show the organization info. Copy the organization client_id and client_secret. • See the API Status is currently unregistered.
  • 5. Anypoint Studio with API Gateway runtime • Link anypoint studio to our organization. • Open anypoint studio and go to preference. • Expand Anypoint Studio then select Anypoint Platform for API • Paste the client_id & secret then click validate.
  • 6. Anypoint Studio with API Gateway runtime Now that we linked anypoint studio to our organization let’s add auto discovery in our configuration. • Open proxy.xml then click Configuration XML tab. Write this code just above the flow. <api-platform-gw:api id=“54233" apiName=“EchoRESTProxy" version=”1.0” flowRef="proxy" doc:name="API Autodiscovery”> </api-platform-gw:api> xmlns:api-platform-gw=http://www.mulesoft.org/schema/mule/api-platform-gw http://www.mulesoft.org/schema/mule/api-platform-gw http://www.mulesoft.org/schema/mule/api-platform-gw/current/mule-api-platform-gw.xsd
  • 7. Anypoint Studio with API Gateway runtime • We can see through the logs that auto discovery is kicking in INFO 2016-02-22 11:14:15,302 [main] com.mulesoft.module.client.autodiscovery.AutoDiscoveryDeploymentListener: Source http://192.168.11.27:8081/api/echo/v1/* registered to API EchoRESTProxy [54233], version 1.0 [56227], org [a9d53ff2-1234-4a1f-8d1a-b19eb82612cc] • See how it changed in API Manager. The API Status is now Active.
  • 8. Summary The automatic discovery and registration of your API on the Anypoint Platform occurs when you deploy the applications to an API Gateway that is paired with your Anypoint Platform organization. While you can also register your APIs using the Anypoint Platform web application or its API, the API auto-discovery feature gives you an additional option for registering API endpoints quickly and efficiently. It’s particularly useful when you’re regularly deploying new versions of the same API, saving you from the effort of having to type the same information into the Web application every time and minimizing the risk of human error. https://docs.mulesoft.com/anypoint-platform-for-apis/api-auto-discovery

Editor's Notes

  • #2: This template can be used as a starter file for presenting training materials in a group setting. Sections Sections can help to organize your slides or facilitate collaboration between multiple authors. On the Home tab under Slides, click Section, and then click Add Section. Notes Use the Notes pane for delivery notes or to provide additional details for the audience. You can see these notes in Presenter View during your presentation. Keep in mind the font size (important for accessibility, visibility, videotaping, and online production) Coordinated colors Pay particular attention to the graphs, charts, and text boxes. Consider that attendees will print in black and white or grayscale. Run a test print to make sure your colors work when printed in pure black and white and grayscale. Graphics, tables, and graphs Keep it simple: If possible, use consistent, non-distracting styles and colors. Label all graphs and tables.
  • #3: Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important. Introduce each of the major topics. To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
  • #4: Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important. Introduce each of the major topics. To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
  • #5: Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important. Introduce each of the major topics. To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
  • #6: Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important. Introduce each of the major topics. To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
  • #7: Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important. Introduce each of the major topics. To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
  • #8: Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important. Introduce each of the major topics. To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
  • #9: Summarize presentation content by restating the important points from the lessons. What do you want the audience to remember when they leave your presentation?
  • #10: Microsoft Confidential