23
WSO2 Data Services Server 3.5.0 Chanika Geeganage WSO2 Product Release Webinar

WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Embed Size (px)

Citation preview

Page 1: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

WSO2 Data Services Server 3.5.0

Chanika GeeganageWSO2

Product Release Webinar

Page 2: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Agenda

o Introducing WSO2 Data Services Servero Key Features of WSO2 DSSo What is new in WSO2 DSS 3.5.0o Demonstrate new features/ Improvements

Page 3: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

WSO2 Data Services Server

o Data is the most important asset in an organization

o Can be from different datasourceso Can have different client applicationso Requirement: a unified layer between client and

the datasourceo Solution: WSO2 Data Services Server

Page 4: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

WSO2 Data Services Server

o Open source – Apache License v2.0o Well defined request/responseo Data Store specific configurationso Loose coupling (app & data store)o Supports multiple data sourceso Secured access to serviceso Expose Data as Web Services or REST

Resources

Page 5: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

WSO2 Data Services Server

o Data Federation Supporto Transactional Data Access and Serviceso Data Transformation and Validationo High Performance, High Availability, Scalability

and Stabilityo Lightweight, Developer-Friendly and Easy-to-

Deployo Manage and Monitor Data Services

Page 6: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

WSO2 DSS

Page 7: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Data Service Description Language

o WSO2's Language for defining data services.o Maps service requests to queries operating on

data store.o Exposing service as REST resource or SOAP

service.o Maps query results to XML schema definitionso Validation, Eventing configurations etc..

Page 8: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

WSO2 Data Service Server 3.5.0

New Features and Improvementso Exposing a datasource as REST services using

OData.o Supporting OAuth2 authentication for Google

spreadsheets.o Boxcarring in a session-less manner.o Extending authorization provider for data

services.

Page 9: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

OData Support

o OData protocol version 4.0.0o OASIS standards (http://www.odata.org/)o Can expose data source as an odata service.o Mainly supports for CRUD operations.o RDBMS data sources and Cassandra.o Supports upto Intermidiate Conformance Level

Page 10: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

OData Support

Page 11: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

OData - Advantages

o An open standard (championed by Microsoft, but available for many other platforms: http://www.odata.org/ecosystem/).

o URI based querying capability with a very rich query language.

o Extensible. o OData standardizes the request/response

formats in JSON and AtomXml.o Describes entity Data Model - Entities and their

Relationships.

Page 12: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Limitations

o Only for RDBMS and Cassandrao Does not support federation across multiple

datasource (ex: Nested Queries)o Does not support stored procedures

Page 13: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Demo - OData

Page 14: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Google Spreadsheet Datasource

o Expose data in Google spreadsheets as services

Page 15: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

OAuth2 Support - Google Spreadsheet

o Google no longer supports authentication through username and password.

o Supports the new authentication mechanism - OAuth2.

o When the visibility is Private, credentials should be provided,o Client IDo Client Secreto Refresh Token

Page 16: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Demo - Google Spreadsheet

Page 17: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Request box - Sessionless Boxcarring

o Can call multiple operations via a single service call.

o No need to maintain the invoking session in client side.

o Both boxcarring and request box is disabled in a data service by default.

o Can enable both these options by clicking the Enable Boxcarring check box.

o From WSO2 DSS 3.5.0 boxcarring is deprecated.

Page 18: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Request Box

o Is a wrapper element, which wraps the operations you need to call.

o Can put any number of operations within that “request_box” element any number of times.

o The order of operations depend on the flow you need to follow.

o Returns the result of the last operation you have put in the “request_box” wrapper element.

o Acts as a single operation.

Page 19: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Extending Authorization Provider

o Connect to third party authorisation provider to do role based filtering.

o Define per dataserviceo Can :

o implement - org.wso2.carbon.dataservices.core.auth.AuthorizationProvider OR

o extend - org.wso2.carbon.dataservices.core.auth.AbstractAuthorizationProvider

Page 20: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Extending Authorization Provider

Page 21: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Roadmap for next release

o Provide data service operation orchestration capability (ex: complex operations in a data service flow)

o More lightweight solutiono Web based solution for creating data services

flow

Page 22: WSO2 Product Release Webinar: WSO2 Data Service Server 3.5.0

Q/A