SlideShare a Scribd company logo
1 of 16
Download to read offline
August 26, 2022
Thiruvananthapuram MuleSoft
Meetup Group
Anypoint DataGraph
Unify Data From Multiple APIs
into one Data Service
#MuleSoftMeetups
Organizers
Speakers
3
Anurag Kumar Dwivedi
4
Agenda
• Introduction
• Anypoint DataGraph
• Trivia Quiz
• Networking and Wrap-up
What is GraphQL?
● 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.
● Who uses Graphql: https://landscape.graphql.org/card-mode
5
What is Anypoint DataGraph?
Anypoint DataGraph is a component of Anypoint Platform which allows you to unify the multiple
APIs into a single data service. Anypoint DataGraph is the unified platform for APIs to design,
develop and manage. It allows to discover, manage or serve the data from multiple apis using
single DataGraph request.
This reduces a lot of efforts for developers to call multiple APIs and aggregate the response. With
Anypoint DataGraph, you can request only data you want, no more or no less.
6
Anypoint DataGraph Advantages
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.
7
Use Case 1
Let's consider the scenario, you have a 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.
8
Use Case 2
Let's consider the scenario where you have to call multiple rest endpoints or want to fetch data
from multiple rest endpoints 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.
9
Use Case 3
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 apis and accountId is the primary key in accounts
apis. Also, customerId is foreign key in accounts apis. Below is the illustration of Use Case 3.
10
Demonstration on Anypoint
DataGraph
Anypoint DataGraph Contd…
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 apis 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)
No Auth
Pass-through Authentication
Oauth 2.0 Client Credentials
12
Anypoint DataGraph Restrictions
● Anypoint DataGraph supports:
✔ REST APIs with RAML and OAS specifications
✔ 250 APIs per unified schema
✔ 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.
13
14
Q & A Session
Thank you

More Related Content

Similar to Thiruvananthapuram Anypoint DataGraph 2 Sept.pdf

The Anatomy of an API: 2023 Edition
The Anatomy of an API: 2023 EditionThe Anatomy of an API: 2023 Edition
The Anatomy of an API: 2023 Edition
Treblle
 

Similar to Thiruvananthapuram Anypoint DataGraph 2 Sept.pdf (20)

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
 
Graphql
GraphqlGraphql
Graphql
 
GraphQL research summary
GraphQL research summaryGraphQL research summary
GraphQL research summary
 
What is GraphQL: Best Practices
What is GraphQL: Best PracticesWhat is GraphQL: Best Practices
What is GraphQL: Best Practices
 
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
 
Data as a_service_1.1_anup
Data as a_service_1.1_anupData as a_service_1.1_anup
Data as a_service_1.1_anup
 
All you need to know about GraphQL.pdf
All you need to know about GraphQL.pdfAll you need to know about GraphQL.pdf
All you need to know about GraphQL.pdf
 
Graphql Overview By Chirag Dodia
Graphql Overview By Chirag DodiaGraphql Overview By Chirag Dodia
Graphql Overview By Chirag Dodia
 
Anypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetupAnypoint new features_coimbatore_mule_meetup
Anypoint new features_coimbatore_mule_meetup
 
Tapdata Product Intro
Tapdata Product IntroTapdata Product Intro
Tapdata Product Intro
 
GraphQL.pptx
GraphQL.pptxGraphQL.pptx
GraphQL.pptx
 
GraphQL.pptx
GraphQL.pptxGraphQL.pptx
GraphQL.pptx
 
Roundtable_-_API_Research__Testing_Tools.pdf
Roundtable_-_API_Research__Testing_Tools.pdfRoundtable_-_API_Research__Testing_Tools.pdf
Roundtable_-_API_Research__Testing_Tools.pdf
 
GraphQL Advanced Concepts A Comprehensive Guide.docx
GraphQL Advanced Concepts A Comprehensive Guide.docxGraphQL Advanced Concepts A Comprehensive Guide.docx
GraphQL Advanced Concepts A Comprehensive Guide.docx
 
IICS_Capabilities.pptx
IICS_Capabilities.pptxIICS_Capabilities.pptx
IICS_Capabilities.pptx
 
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
 
apidays London 2023 - API Metrics matters in APIOps, Ludovic Pourrat, Lombar...
apidays London 2023 - API Metrics matters in APIOps, Ludovic Pourrat,  Lombar...apidays London 2023 - API Metrics matters in APIOps, Ludovic Pourrat,  Lombar...
apidays London 2023 - API Metrics matters in APIOps, Ludovic Pourrat, Lombar...
 
Data Driven API Testing: Best Practices for Real-World Testing Scenarios
Data Driven API Testing: Best Practices for Real-World Testing ScenariosData Driven API Testing: Best Practices for Real-World Testing Scenarios
Data Driven API Testing: Best Practices for Real-World Testing Scenarios
 
The Anatomy of an API: 2023 Edition
The Anatomy of an API: 2023 EditionThe Anatomy of an API: 2023 Edition
The Anatomy of an API: 2023 Edition
 

More from Vikalp Bhalia (7)

MuleSoft HyperAutomation
MuleSoft HyperAutomationMuleSoft HyperAutomation
MuleSoft HyperAutomation
 
Dataweave Libraries and ObjectStore
Dataweave Libraries and ObjectStoreDataweave Libraries and ObjectStore
Dataweave Libraries and ObjectStore
 
B2B EDI Formats and MuleSoft X12 Connector
B2B EDI Formats and MuleSoft X12 ConnectorB2B EDI Formats and MuleSoft X12 Connector
B2B EDI Formats and MuleSoft X12 Connector
 
MuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventMuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual Event
 
Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020
 
Vancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-julyVancouver mulesoft meetup_23-july
Vancouver mulesoft meetup_23-july
 
Vancouver mulesoft meetup
Vancouver mulesoft meetupVancouver mulesoft meetup
Vancouver mulesoft meetup
 

Recently uploaded

+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@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
+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...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"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 ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 

Thiruvananthapuram Anypoint DataGraph 2 Sept.pdf

  • 1. August 26, 2022 Thiruvananthapuram MuleSoft Meetup Group Anypoint DataGraph Unify Data From Multiple APIs into one Data Service
  • 4. 4 Agenda • Introduction • Anypoint DataGraph • Trivia Quiz • Networking and Wrap-up
  • 5. What is GraphQL? ● 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. ● Who uses Graphql: https://landscape.graphql.org/card-mode 5
  • 6. What is Anypoint DataGraph? Anypoint DataGraph is a component of Anypoint Platform which allows you to unify the multiple APIs into a single data service. Anypoint DataGraph is the unified platform for APIs to design, develop and manage. It allows to discover, manage or serve the data from multiple apis using single DataGraph request. This reduces a lot of efforts for developers to call multiple APIs and aggregate the response. With Anypoint DataGraph, you can request only data you want, no more or no less. 6
  • 7. Anypoint DataGraph Advantages 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. 7
  • 8. Use Case 1 Let's consider the scenario, you have a 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. 8
  • 9. Use Case 2 Let's consider the scenario where you have to call multiple rest endpoints or want to fetch data from multiple rest endpoints 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. 9
  • 10. Use Case 3 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 apis and accountId is the primary key in accounts apis. Also, customerId is foreign key in accounts apis. Below is the illustration of Use Case 3. 10
  • 12. Anypoint DataGraph Contd… 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 apis 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) No Auth Pass-through Authentication Oauth 2.0 Client Credentials 12
  • 13. Anypoint DataGraph Restrictions ● Anypoint DataGraph supports: ✔ REST APIs with RAML and OAS specifications ✔ 250 APIs per unified schema ✔ 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. 13
  • 14. 14
  • 15. Q & A Session