To view recording of this webinar please use below URL:
http://wso2.com/library/webinars/2015/11/wso2-product-release-webinar-wso2-data-services-server-3.5/
WSO2 Data Services Server provides an easy-to-use platform for integrating data stores, creating composite data views and hosting data services. The latest version of WSO2 Data Services Server (3.5.0) introduces a new set of features that enhances its data services capabilities. This webinar will focus on leveraging the new features of WSO2 Data Services Server 3.5.0 including how to
Expose a datasource as REST services using OData
Support OAuth2 authentication for Google spreadsheets
Do boxcarring in a session-less manner
Extend authorization provider for data services
2. Agenda
o Introducing WSO2 Data Services Server
o Key Features of WSO2 DSS
o What is new in WSO2 DSS 3.5.0
o Demonstrate new features/ Improvements
3. WSO2 Data Services Server
o Data is the most important asset in an
organization
o Can be from different datasources
o Can have different client applications
o Requirement: a unified layer between client and
the datasource
o Solution: WSO2 Data Services Server
4. WSO2 Data Services Server
o Open source – Apache License v2.0
o Well defined request/response
o Data Store specific configurations
o Loose coupling (app & data store)
o Supports multiple data sources
o Secured access to services
o Expose Data as Web Services or REST
Resources
5. WSO2 Data Services Server
o Data Federation Support
o Transactional Data Access and Services
o Data Transformation and Validation
o High Performance, High Availability, Scalability
and Stability
o Lightweight, Developer-Friendly and Easy-to-
Deploy
o Manage and Monitor Data Services
7. 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 definitions
o Validation, Eventing configurations etc..
8. WSO2 Data Service Server 3.5.0
New Features and Improvements
o 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.
9. OData Support
o OData protocol version 4.0.0
o 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
11. 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.
12. Limitations
o Only for RDBMS and Cassandra
o Does not support federation across multiple
datasource (ex: Nested Queries)
o Does not support stored procedures
15. 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 ID
o Client Secret
o Refresh Token
17. 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.
18. 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.
19. Extending Authorization Provider
o Connect to third party authorisation provider to
do role based filtering.
o Define per dataservice
o Can :
o implement - org.wso2.carbon.dataservices.core.
auth.AuthorizationProvider OR
o extend - org.wso2.carbon.dataservices.core.auth.
AbstractAuthorizationProvider
21. Roadmap for next release
o Provide data service operation orchestration
capability (ex: complex operations in a data
service flow)
o More lightweight solution
o Web based solution for creating data services
flow