data services: getting your data into apis
TRANSCRIPT
![Page 1: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/1.jpg)
Data Services: Getting Your Data into APIs
Anjana Fernando
Senior Technical LeadWSO2 Inc.
![Page 2: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/2.jpg)
Agenda
• Realizing the Value of Your Data• Creating a Data Access Layer• Introducing WSO2 DSS• Features Overview• Data Services to Data APIs• Demo: Exposing Data as a Managed API
![Page 3: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/3.jpg)
Data is the most valuable asset in your organization
source: www.cx-journey.com
![Page 4: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/4.jpg)
Data can be from various data sources
![Page 5: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/5.jpg)
Requirement:A data access layer for heterogeneous data sources
Data Access Layer
![Page 6: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/6.jpg)
Solution:WSO2 Data Services Server
Data Access Layer
![Page 7: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/7.jpg)
WSO2 Data Service Server
• Open source – Apache License v2.0• Standards based data services• Encapsulated data logic• Management & QoS features• Data Store specific configurations• Loose coupling (app & data store)
![Page 8: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/8.jpg)
Data Service Description Language
• WSO2's declarative language for defining data services• Maps service requests to queries operating on data store• Maps query result sets to XML / JSON responses• Transactions, Validators, Eventing configurations etc..• Available online @ https://docs.wso2.org/display/DSS321/User+Guide
DS1
DS2
DS3
Query1
Query2
Operation1
ResourceA
ResourceB
![Page 9: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/9.jpg)
WSO2 DSS Features
![Page 10: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/10.jpg)
Multiple Data Sources / Nested Queries
![Page 11: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/11.jpg)
JSON Result Mapping Support
{ "employees": { "employee": [ { "lastName": "Patterson", "salary": 2000, "firstName": "Mary" } ] }}
![Page 12: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/12.jpg)
MongoDB Support
![Page 13: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/13.jpg)
Cassandra (CQL) Support
![Page 14: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/14.jpg)
Custom Data Sources
• Custom Tabular Data Sources• Custom Query Data Sources
![Page 15: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/15.jpg)
Server-side Batch Processing (Boxcarring)
![Page 16: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/16.jpg)
Client-side Batch Processing
![Page 17: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/17.jpg)
Distributed Transactions
source: luizricardo.org
![Page 18: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/18.jpg)
REST Support
![Page 19: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/19.jpg)
Caching Support
![Page 20: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/20.jpg)
Data Security
![Page 21: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/21.jpg)
Federation
![Page 22: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/22.jpg)
Transformation
![Page 23: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/23.jpg)
Data Services to Data APIs
• Data Services backend for Managed APIs
Managed APIs
Data Services
● Managed APIs○ Authorization○ Throttling○ Monitoring○ Monetization
Monitoring
![Page 24: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/24.jpg)
Demo: Exposing Data as a Managed API
![Page 25: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/25.jpg)
Questions?
![Page 26: Data Services: Getting Your Data Into APIs](https://reader033.vdocuments.site/reader033/viewer/2022060117/558508e9d8b42ac10a8b4611/html5/thumbnails/26.jpg)
Thank You