Top Banner
Data Services: Getting Your Data into APIs Anjana Fernando Senior Technical Lead WSO2 Inc.
26
Welcome message from author
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
Page 1: Data Services: Getting Your Data Into APIs

Data Services: Getting Your Data into APIs

Anjana Fernando

Senior Technical LeadWSO2 Inc.

Page 2: Data Services: Getting Your Data Into APIs

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

Data is the most valuable asset in your organization

source: www.cx-journey.com

Page 4: Data Services: Getting Your Data Into APIs

Data can be from various data sources

Page 5: Data Services: Getting Your Data Into APIs

Requirement:A data access layer for heterogeneous data sources

Data Access Layer

Page 6: Data Services: Getting Your Data Into APIs

Solution:WSO2 Data Services Server

Data Access Layer

Page 7: Data Services: Getting Your Data Into APIs

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

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

WSO2 DSS Features

Page 10: Data Services: Getting Your Data Into APIs

Multiple Data Sources / Nested Queries

Page 11: Data Services: Getting Your Data Into APIs

JSON Result Mapping Support

{ "employees": { "employee": [ { "lastName": "Patterson", "salary": 2000, "firstName": "Mary" } ] }}

Page 12: Data Services: Getting Your Data Into APIs

MongoDB Support

Page 13: Data Services: Getting Your Data Into APIs

Cassandra (CQL) Support

Page 14: Data Services: Getting Your Data Into APIs

Custom Data Sources

• Custom Tabular Data Sources• Custom Query Data Sources

Page 15: Data Services: Getting Your Data Into APIs

Server-side Batch Processing (Boxcarring)

Page 16: Data Services: Getting Your Data Into APIs

Client-side Batch Processing

Page 17: Data Services: Getting Your Data Into APIs

Distributed Transactions

source: luizricardo.org

Page 18: Data Services: Getting Your Data Into APIs

REST Support

Page 19: Data Services: Getting Your Data Into APIs

Caching Support

Page 20: Data Services: Getting Your Data Into APIs

Data Security

Page 21: Data Services: Getting Your Data Into APIs

Federation

Page 22: Data Services: Getting Your Data Into APIs

Transformation

Page 23: Data Services: Getting Your Data Into APIs

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

Demo: Exposing Data as a Managed API

Page 25: Data Services: Getting Your Data Into APIs

Questions?

Page 26: Data Services: Getting Your Data Into APIs

Thank You