SlideShare une entreprise Scribd logo
1  sur  21
[7th Aug 2021]
[Kochi] MuleSoft Meetup Group
Unleash the power of Anypoint
DataGraph
2
Organizers
⮚ Kochi MuleSoft Meetup Leader.
⮚ 7+ Years of Experience in Integrations and API Technologies.
⮚ Certified MuleSoft Developer, Integration Architect and Platform Architect
⮚ Kochi Mulesoft Meetup Leader.
⮚ 10+ years of Integration Experience
⮚ Certified Mulesoft Developer, Integration Architect and Platform Architect
⮚ Kochi Mulesoft Meetup Leader.
⮚ 5+ Years of Experience in Integrations and API Technologies.
⮚ Certified MuleSoft Developer, Integration Architect and Platform Architect.
3
Speakers
Jitendra Bafna
About the speaker:
⮚ MuleSoft Ambassador
⮚ Surat and Nashik MuleSoft Meetup Leader.
⮚ 12.5+ Years of Experience in Integrations and API Technologies.
⮚ Certified MuleSoft Integration Architect and platform Architect.
4
Agenda
Introduction to
GraphQL
Anypoint
DataGraph
Use Case 1 Use Case 2 Use Case 3 Trivia Quiz
What is GraphQL?
6
GraphQL is an open-source query language for Rest API's and it is developed by Facebook in
2012 before releasing publicly in 2015. GraphQL allows you to send the query to your API and
get the required data.
REST APIs are powerful and follow a resource-oriented and well-structured approach. However,
when the data is complex and it is not possible to fetch all the data within a single request as it
involved various operations and routes get more complex. GraphQL is very useful in such cases
and structures data in the form of a graph with its powerful query syntax for traversing, retrieving,
and modifying data.
GraphQL is capable of aggregating the data, returns predictable data to the clients.
What is GraphQL?
7
Anypoint DataGraph is component of Anypoint Platform which allows you to unify the multiple
APIs into single data service.
With Anypoint DataGraph, you can reuse multiple APIs in a single request. Enterprise architects
can easily unify APIs into one data service — all without writing more code. Developers can
consume multiple APIs from the data service in a single GraphQL request.
What is Anypoint DataGraph?
8
Unify APIs into powerful data services
● Explore and unify APIs into data services, without more code
● Serve data from multiple APIs instantly by securely sharing data services
Consume many APIs a single request
● Query the data service with a single, visually built GraphQL schema
● Focus on application logic, without understanding the complexities of the data service
Reach new levels of productivity
● Developers don’t write custom code to parse data from multiple APIs
● Data services are deployed as a SaaS app — no maintenance or patching for IT
Anypoint DataGraph
9
Unify the multiple APIs into the single data service. With Anypoint DataGraph, you can serve data from
multiple underlying APIs within a single request without writing any code.
• Consume the data from multiple APIs using a single request.
• Developer doesn't have to write the code to parse the data from multiple APIs.
• Anypoint DataGraph is managed service, no maintenance or patching for IT.
• Request the data you want, no more no less.
• Reduce development and maintenance efforts.
• Anypoint DataGraph is a managed service and no need to worry about underlying infrastructure and
maintenance.
Anypoint DataGraph Advantages
10
Monitor or Trace or Measure the API Performance
● With a single UI, it is possible to trace the query response time and logs, ensuring to measure the
performance of query or api request and meets expected SLA’s.
Authentication Mechanism
DataGraph support below list of Authentication mechanism while calling underlying APIs
Basic Authentication
● Client Id Enforcement via Headers
● Client Id Enforcement via Query Params
● Custom (Add Custom headers or Query Params)
Monitor and Authentication
11
Anypoint DataGraph supports:
● REST APIs with RAML and OAS specifications
● GET methods
● Up to 250 APIs per unified schema
● Up to 16,000 fields per unified schema
Anypoint DataGraph restricts downstream REST API calls to:
● A maximum of 150 concurrent or ongoing calls per unified schema
● A 5 second timeout per call
● A maximum of 5 MB of response data per call
Anypoint DataGraph limits the query service to:
● A 30 second timeout per query
● A maximum of 100 selected fields per query.
Anypoint DataGraph Limitations
12
Let's consider the scenario, you have Rest API that returns 10 fields in response but web
application requires only 7 fields whereas mobile application requires only 4 fields. In such cases,
DataGraph is one of the most optimal options where the client can pass whatever data required as
an input request, and DataGraph will return the required fields to the Web Application and Mobile
Application. Below is the illustration of Use Case 1.
Use Case 1
13
Use Case 1
Anypoint DataGraph
14
Let's consider the scenario where you have to call multiple Rest APIs or want to fetch data from
multiple rest API's and each APIs will respond with JSON payload. GraphQL will aggregate all the
responses and send back the required data to the client. Below is the illustration of Use Case 2.
Use Case 2
15
Use Case 2
Anypoint DataGraph
16
Let's consider the scenario where you have to call multiple Rest APIs to fetch account details and related
customer details. Customer details and Account details exist in different APIs. CustomerId is the primary key
in customers api and accountId is the primary key in accounts api. Also, customerId is foreign key in
accounts api. Below is the illustration of Use Case 3.
Use Case 3
17
Monitor or Trace or Measure the API Performance
● With a single UI, it is possible to trace the query response time and logs, ensuring to measure the
performance of query or api request and meets expected SLA’s.
Authentication Mechanism
DataGraph support below list of Authentication mechanism while calling underlying APIs
Basic Authentication
● Client Id Enforcement via Headers
● Client Id Enforcement via Query Params
● Custom (Add Custom headers or Query Params)
Monitor and Authentication
Live Demonstration
Get ready to WIN a Special Gift from MuleSoft Community
Quiz Time
Introduce yourself to your neighbor
Networking time
Thank you!

Contenu connexe

Tendances

Tendances (20)

Anypoint Monitoring - Built in Dashboards, Custom Dashboards, Alerts and Func...
Anypoint Monitoring - Built in Dashboards, Custom Dashboards, Alerts and Func...Anypoint Monitoring - Built in Dashboards, Custom Dashboards, Alerts and Func...
Anypoint Monitoring - Built in Dashboards, Custom Dashboards, Alerts and Func...
 
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
MuleSoft Surat Virtual Meetup#16 - Anypoint Deployment Option, API and Operat...
 
MuleSoft Surat Virtual Meetup#8 - Anypoint Business Group Connected Apps and ...
MuleSoft Surat Virtual Meetup#8 - Anypoint Business Group Connected Apps and ...MuleSoft Surat Virtual Meetup#8 - Anypoint Business Group Connected Apps and ...
MuleSoft Surat Virtual Meetup#8 - Anypoint Business Group Connected Apps and ...
 
5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs5 Pillars of Building Enterprise0grade APIs
5 Pillars of Building Enterprise0grade APIs
 
Meetup bangalore-may22nd2021
Meetup bangalore-may22nd2021Meetup bangalore-may22nd2021
Meetup bangalore-may22nd2021
 
Deep Dive on CI/CD NYC Meet Up Group
Deep Dive on CI/CD NYC Meet Up GroupDeep Dive on CI/CD NYC Meet Up Group
Deep Dive on CI/CD NYC Meet Up Group
 
Mule soft meetup_chandigarh_#7_25_sept_2021
Mule soft meetup_chandigarh_#7_25_sept_2021Mule soft meetup_chandigarh_#7_25_sept_2021
Mule soft meetup_chandigarh_#7_25_sept_2021
 
Api complete life cycle with api security
Api complete life cycle with api securityApi complete life cycle with api security
Api complete life cycle with api security
 
20210916 mule soft_meetup_nz_online_uploadedversion
20210916 mule soft_meetup_nz_online_uploadedversion20210916 mule soft_meetup_nz_online_uploadedversion
20210916 mule soft_meetup_nz_online_uploadedversion
 
Kochi Mulesoft Meetup #4
Kochi Mulesoft Meetup #4Kochi Mulesoft Meetup #4
Kochi Mulesoft Meetup #4
 
How do async ap is survive in a rest world
How do async ap is survive in a rest world How do async ap is survive in a rest world
How do async ap is survive in a rest world
 
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load BalancerNashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
Nashik MuleSoft Virtual Meetup#1 - Shared and Dedicated Load Balancer
 
Meetup milano #4 log management and anypoint advanced monitoring
Meetup milano #4   log management and anypoint advanced monitoringMeetup milano #4   log management and anypoint advanced monitoring
Meetup milano #4 log management and anypoint advanced monitoring
 
APIdays Helsinki 2019 - The Future of the Dynamic Application Server, NGINX U...
APIdays Helsinki 2019 - The Future of the Dynamic Application Server, NGINX U...APIdays Helsinki 2019 - The Future of the Dynamic Application Server, NGINX U...
APIdays Helsinki 2019 - The Future of the Dynamic Application Server, NGINX U...
 
Service Mesh - Why? How? What?
Service Mesh - Why? How? What?Service Mesh - Why? How? What?
Service Mesh - Why? How? What?
 
Anypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupAnypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetup
 
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile ApplicationsNYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications
 
MuleSoft Surat Live Demonstration Virtual Meetup#3 - Building JWT OAuth 2.0 C...
MuleSoft Surat Live Demonstration Virtual Meetup#3 - Building JWT OAuth 2.0 C...MuleSoft Surat Live Demonstration Virtual Meetup#3 - Building JWT OAuth 2.0 C...
MuleSoft Surat Live Demonstration Virtual Meetup#3 - Building JWT OAuth 2.0 C...
 
Perth Meetup August 2021
Perth Meetup August 2021Perth Meetup August 2021
Perth Meetup August 2021
 
Introduction to Anypoint Runtime Fabric on Amazon Elastic Kubernetes Service ...
Introduction to Anypoint Runtime Fabric on Amazon Elastic Kubernetes Service ...Introduction to Anypoint Runtime Fabric on Amazon Elastic Kubernetes Service ...
Introduction to Anypoint Runtime Fabric on Amazon Elastic Kubernetes Service ...
 

Similaire à Kochi Mulesoft Meetup #6

Similaire à Kochi Mulesoft Meetup #6 (20)

Anypoint Data Graphs
Anypoint Data GraphsAnypoint Data Graphs
Anypoint Data Graphs
 
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdf
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdfThiruvananthapuram Anypoint DataGraph 2 Sept.pdf
Thiruvananthapuram Anypoint DataGraph 2 Sept.pdf
 
Toronto Anypoint DataGraph (1).pptx
Toronto Anypoint DataGraph (1).pptxToronto Anypoint DataGraph (1).pptx
Toronto Anypoint DataGraph (1).pptx
 
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
Anypoint DataGraph - Consume & Re-use your APIs faster | MuleSoft Mysore Meet...
 
MuleSoft_Meetup_Datagraph and Async APIs.pptx.pdf
MuleSoft_Meetup_Datagraph and Async APIs.pptx.pdfMuleSoft_Meetup_Datagraph and Async APIs.pptx.pdf
MuleSoft_Meetup_Datagraph and Async APIs.pptx.pdf
 
API Management for GraphQL
API Management for GraphQLAPI Management for GraphQL
API Management for GraphQL
 
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...
INTERFACE by apidays_What's your Type? Understanding API Types and Choosing t...
 
Implementing OpenAPI and GraphQL services with gRPC
Implementing OpenAPI and GraphQL services with gRPCImplementing OpenAPI and GraphQL services with gRPC
Implementing OpenAPI and GraphQL services with gRPC
 
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led ConnectivityMuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
MuleSoft Surat Meetup#39 - Pragmatic API Led Connectivity
 
Deploying GraphQL Services as Managed APIs
Deploying GraphQL Services as Managed APIsDeploying GraphQL Services as Managed APIs
Deploying GraphQL Services as Managed APIs
 
API Management for GraphQL
API Management for GraphQLAPI Management for GraphQL
API Management for GraphQL
 
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
apidays LIVE Hong Kong 2021 - Multi-Protocol APIs at Scale in Adidas by Jesus...
 
Vizag mulesoft-meetup-6-anypoint-datagraph--v2
Vizag mulesoft-meetup-6-anypoint-datagraph--v2Vizag mulesoft-meetup-6-anypoint-datagraph--v2
Vizag mulesoft-meetup-6-anypoint-datagraph--v2
 
Rate Limiting GQLs Using Depth and Complexity Analysis
Rate Limiting GQLs Using Depth and Complexity AnalysisRate Limiting GQLs Using Depth and Complexity Analysis
Rate Limiting GQLs Using Depth and Complexity Analysis
 
Building an API Factory: Turn your APIs into Products
Building an API Factory: Turn your APIs into ProductsBuilding an API Factory: Turn your APIs into Products
Building an API Factory: Turn your APIs into Products
 
GraphQL across the stack: How everything fits together
GraphQL across the stack: How everything fits togetherGraphQL across the stack: How everything fits together
GraphQL across the stack: How everything fits together
 
Exposing GraphQLs as Managed APIs
Exposing GraphQLs as Managed APIsExposing GraphQLs as Managed APIs
Exposing GraphQLs as Managed APIs
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
 
Roundtable_-_API_Research__Testing_Tools.pdf
Roundtable_-_API_Research__Testing_Tools.pdfRoundtable_-_API_Research__Testing_Tools.pdf
Roundtable_-_API_Research__Testing_Tools.pdf
 
Agile integration activation: get hands on with ap-is
Agile integration activation: get hands on with ap-isAgile integration activation: get hands on with ap-is
Agile integration activation: get hands on with ap-is
 

Plus de sumitahuja94 (7)

Connect systems without code using MuleSoft Composer - General.pptx
Connect systems without code using MuleSoft Composer - General.pptxConnect systems without code using MuleSoft Composer - General.pptx
Connect systems without code using MuleSoft Composer - General.pptx
 
MuleSoft RPA Automation as APIs.pdf
MuleSoft RPA Automation as APIs.pdfMuleSoft RPA Automation as APIs.pdf
MuleSoft RPA Automation as APIs.pdf
 
Kochi Mulesoft Meetup #11 - Runtime Fabric on Google Kubernetes Engine (GKE)
Kochi Mulesoft Meetup #11 - Runtime Fabric on Google Kubernetes Engine (GKE)Kochi Mulesoft Meetup #11 - Runtime Fabric on Google Kubernetes Engine (GKE)
Kochi Mulesoft Meetup #11 - Runtime Fabric on Google Kubernetes Engine (GKE)
 
Kochi Mulesoft Meetup #10 - MuleSoft Composer: Connect apps and data easily w...
Kochi Mulesoft Meetup #10 - MuleSoft Composer: Connect apps and data easily w...Kochi Mulesoft Meetup #10 - MuleSoft Composer: Connect apps and data easily w...
Kochi Mulesoft Meetup #10 - MuleSoft Composer: Connect apps and data easily w...
 
MuleSoft Kochi Meetup #5– Handling Mule Exceptions
MuleSoft Kochi Meetup #5– Handling Mule ExceptionsMuleSoft Kochi Meetup #5– Handling Mule Exceptions
MuleSoft Kochi Meetup #5– Handling Mule Exceptions
 
Kochi mulesoft meetup 02
Kochi mulesoft meetup 02Kochi mulesoft meetup 02
Kochi mulesoft meetup 02
 
Mule soft meetup__official__feb-27_2021
Mule soft meetup__official__feb-27_2021Mule soft meetup__official__feb-27_2021
Mule soft meetup__official__feb-27_2021
 

Dernier

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Kochi Mulesoft Meetup #6

  • 1. [7th Aug 2021] [Kochi] MuleSoft Meetup Group Unleash the power of Anypoint DataGraph
  • 2. 2 Organizers ⮚ Kochi MuleSoft Meetup Leader. ⮚ 7+ Years of Experience in Integrations and API Technologies. ⮚ Certified MuleSoft Developer, Integration Architect and Platform Architect ⮚ Kochi Mulesoft Meetup Leader. ⮚ 10+ years of Integration Experience ⮚ Certified Mulesoft Developer, Integration Architect and Platform Architect ⮚ Kochi Mulesoft Meetup Leader. ⮚ 5+ Years of Experience in Integrations and API Technologies. ⮚ Certified MuleSoft Developer, Integration Architect and Platform Architect.
  • 3. 3 Speakers Jitendra Bafna About the speaker: ⮚ MuleSoft Ambassador ⮚ Surat and Nashik MuleSoft Meetup Leader. ⮚ 12.5+ Years of Experience in Integrations and API Technologies. ⮚ Certified MuleSoft Integration Architect and platform Architect.
  • 6. 6 GraphQL is an open-source query language for Rest API's and it is developed by Facebook in 2012 before releasing publicly in 2015. GraphQL allows you to send the query to your API and get the required data. REST APIs are powerful and follow a resource-oriented and well-structured approach. However, when the data is complex and it is not possible to fetch all the data within a single request as it involved various operations and routes get more complex. GraphQL is very useful in such cases and structures data in the form of a graph with its powerful query syntax for traversing, retrieving, and modifying data. GraphQL is capable of aggregating the data, returns predictable data to the clients. What is GraphQL?
  • 7. 7 Anypoint DataGraph is component of Anypoint Platform which allows you to unify the multiple APIs into single data service. With Anypoint DataGraph, you can reuse multiple APIs in a single request. Enterprise architects can easily unify APIs into one data service — all without writing more code. Developers can consume multiple APIs from the data service in a single GraphQL request. What is Anypoint DataGraph?
  • 8. 8 Unify APIs into powerful data services ● Explore and unify APIs into data services, without more code ● Serve data from multiple APIs instantly by securely sharing data services Consume many APIs a single request ● Query the data service with a single, visually built GraphQL schema ● Focus on application logic, without understanding the complexities of the data service Reach new levels of productivity ● Developers don’t write custom code to parse data from multiple APIs ● Data services are deployed as a SaaS app — no maintenance or patching for IT Anypoint DataGraph
  • 9. 9 Unify the multiple APIs into the single data service. With Anypoint DataGraph, you can serve data from multiple underlying APIs within a single request without writing any code. • Consume the data from multiple APIs using a single request. • Developer doesn't have to write the code to parse the data from multiple APIs. • Anypoint DataGraph is managed service, no maintenance or patching for IT. • Request the data you want, no more no less. • Reduce development and maintenance efforts. • Anypoint DataGraph is a managed service and no need to worry about underlying infrastructure and maintenance. Anypoint DataGraph Advantages
  • 10. 10 Monitor or Trace or Measure the API Performance ● With a single UI, it is possible to trace the query response time and logs, ensuring to measure the performance of query or api request and meets expected SLA’s. Authentication Mechanism DataGraph support below list of Authentication mechanism while calling underlying APIs Basic Authentication ● Client Id Enforcement via Headers ● Client Id Enforcement via Query Params ● Custom (Add Custom headers or Query Params) Monitor and Authentication
  • 11. 11 Anypoint DataGraph supports: ● REST APIs with RAML and OAS specifications ● GET methods ● Up to 250 APIs per unified schema ● Up to 16,000 fields per unified schema Anypoint DataGraph restricts downstream REST API calls to: ● A maximum of 150 concurrent or ongoing calls per unified schema ● A 5 second timeout per call ● A maximum of 5 MB of response data per call Anypoint DataGraph limits the query service to: ● A 30 second timeout per query ● A maximum of 100 selected fields per query. Anypoint DataGraph Limitations
  • 12. 12 Let's consider the scenario, you have Rest API that returns 10 fields in response but web application requires only 7 fields whereas mobile application requires only 4 fields. In such cases, DataGraph is one of the most optimal options where the client can pass whatever data required as an input request, and DataGraph will return the required fields to the Web Application and Mobile Application. Below is the illustration of Use Case 1. Use Case 1
  • 14. 14 Let's consider the scenario where you have to call multiple Rest APIs or want to fetch data from multiple rest API's and each APIs will respond with JSON payload. GraphQL will aggregate all the responses and send back the required data to the client. Below is the illustration of Use Case 2. Use Case 2
  • 16. 16 Let's consider the scenario where you have to call multiple Rest APIs to fetch account details and related customer details. Customer details and Account details exist in different APIs. CustomerId is the primary key in customers api and accountId is the primary key in accounts api. Also, customerId is foreign key in accounts api. Below is the illustration of Use Case 3. Use Case 3
  • 17. 17 Monitor or Trace or Measure the API Performance ● With a single UI, it is possible to trace the query response time and logs, ensuring to measure the performance of query or api request and meets expected SLA’s. Authentication Mechanism DataGraph support below list of Authentication mechanism while calling underlying APIs Basic Authentication ● Client Id Enforcement via Headers ● Client Id Enforcement via Query Params ● Custom (Add Custom headers or Query Params) Monitor and Authentication
  • 19. Get ready to WIN a Special Gift from MuleSoft Community Quiz Time
  • 20. Introduce yourself to your neighbor Networking time