building an api centric soa

72
Building an API Centric SOA with WSO2 Platform Sumedha Rubasinghe WSO2

Upload: wso2

Post on 15-Jan-2015

570 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Building an API Centric SOA

Building an API Centric SOA with WSO2 Platform

Sumedha Rubasinghe

WSO2

Page 2: Building an API Centric SOA

We will talk aboutAPI creation, hosting, management, monitoring capabilities

in WSO2 Platform.

Page 3: Building an API Centric SOA

Conceptual Model of SOA Architectural Style

Source : https://www.ibm.com/developerworks/library/ws-soa-design1/

Page 4: Building an API Centric SOA

Attributes of SOA

Source : https://www.ibm.com/developerworks/library/ws-soa-design1/

Page 5: Building an API Centric SOA

Layers of a SOA

Source : https://www.ibm.com/developerworks/library/ws-soa-design1/

Page 6: Building an API Centric SOA

End result?

Page 7: Building an API Centric SOA

Where you SOA is now?

● Re-usable Services

● Discoverable?

- UDDI? Service Registry?

● What’s the usage ratio?

- 1 Service -> n consumers

- How do you keep track of subscribers?

● How it’s provisioned?

● How access is managed?

Page 8: Building an API Centric SOA

Missing Piece?

Page 9: Building an API Centric SOA

Convert your naked service into a managed API.

Page 10: Building an API Centric SOA

Managed APIs can help businesses to connect & grow.

Page 11: Building an API Centric SOA

http://www.kapruka.com

Page 12: Building an API Centric SOA

Every business is a digital business.

Page 13: Building an API Centric SOA

Digital businesses can be connected business.

Page 14: Building an API Centric SOA

WSO2 helps businesses to connect.

Page 15: Building an API Centric SOA

WSO2 Platform, 2012

Page 16: Building an API Centric SOA

WSO2 Platform, 2013

Page 17: Building an API Centric SOA
Page 18: Building an API Centric SOA

API is a formidable way for businesses to connect.

Page 19: Building an API Centric SOA

Presence of APIs are becoming pervasive.

Page 20: Building an API Centric SOA

API Adoption ...

Source : http://www.slideshare.net/jmusser/j-musser-apibizmodels2013

Page 21: Building an API Centric SOA

Some interesting API usage statistics ...

Source : http://blog.programmableweb.com/2011/05/25/who-belongs-to-the-api-billionaires-club/

Page 22: Building an API Centric SOA

API is the product.

Page 23: Building an API Centric SOA

API is the product.

Page 24: Building an API Centric SOA

Recap

● Every business is a digital business● APIs allow digital businesses to connect● APIs adoption is vastly increasing and becoming

pervasive● In some businesses API is the main product● SOA focused on implementation. APIs focus on

consumption.

Page 25: Building an API Centric SOA

Apps, App Stores

Page 26: Building an API Centric SOA

Transaction happens through interactions.

Page 27: Building an API Centric SOA

Interaction happens through Apps/portals.

Page 28: Building an API Centric SOA

APIs make Apps/Portals possible.

Page 29: Building an API Centric SOA

APIs need to be designed and implemented.

Page 30: Building an API Centric SOA

WSO2’s Tooling support for creating/designing APIs

● WSO2 Developer Studio

● WSO2 App Factory

● WSO2 Service Repository

● WSO2 Governance Registry

Page 31: Building an API Centric SOA

APIs need to be hosted.

Page 32: Building an API Centric SOA

Support for hosting APIs in WSO2 Platform

● WSO2 ESB● WSO2 AS● WSO2 DSS● WSO2 G-Reg● WSO2 UES● App Factory● WSO2 Cloud

● Scalable deployment, caching, state replication, configuration management,

user/access management, authorization policies, multi tenancy

Page 33: Building an API Centric SOA

APIs need to be managed as well.

Page 34: Building an API Centric SOA

What is API Management?

● Dumb API -> Intelligent API● Authentication & Authorization

- Subscription Management - Access Provisioning

● How to control access? - Throttling

● Monitoring & SLA

Page 35: Building an API Centric SOA

APIs need to be tested (and automated).

Page 36: Building an API Centric SOA

Recap

● Txns happen through interactions● End users interact through Apps● APIs facilitate App Economy● WSO2 platform supports creating, managing &

hosting APIs● Also provides an automation testing framework

Page 37: Building an API Centric SOA

Developers use APIs to build Apps.

Page 38: Building an API Centric SOA

How Developers interact with APIs?

● Discover APIs● Research about the API (docs, comments, rating,

forums)● Try out the API● Subscribe to API & develop application

Page 39: Building an API Centric SOA

Collaboration with developers create better APIs.

Page 40: Building an API Centric SOA

API Portal facilitates collaboration.

Page 41: Building an API Centric SOA
Page 42: Building an API Centric SOA
Page 43: Building an API Centric SOA

Tool to manage application development is always an advantage.

Page 44: Building an API Centric SOA

WSO2 App Factory

Page 45: Building an API Centric SOA

WSO2 App Factory

Page 46: Building an API Centric SOA

Application development tool can also provide easy integration with APIs.

Page 47: Building an API Centric SOA

Recap

● Developers use APIs to create Apps● Collaboration with developers help improve APIs● Providing application development infrastructure can

boot API centric initiative

Page 48: Building an API Centric SOA

(End) user interactions generate data.

Page 49: Building an API Centric SOA

How (end) users interact with App should be captured.

Page 50: Building an API Centric SOA

WSO2 platform can capture data

● Agents in all interaction points - Capture data - Publish data - Store data (scalably)

● Attribute of captured data - Quality - Volume - Customizable

Page 51: Building an API Centric SOA

Analytics generate insight out of captured interaction data.

Page 52: Building an API Centric SOA

WSO2 platform can also analyse data

● Online Analytics - Complex Event Processing - Siddhi

● Offline Analytics - Hive - Hadoop

Page 53: Building an API Centric SOA
Page 54: Building an API Centric SOA

if (interactions -> data)Interactions need to be smooth.

Page 55: Building an API Centric SOA

How to make end user interactions smooth?

● BYOD - interaction through different devices● Mobile/bandwidth friendly technologies/techniques

- Push notifications - JSON, MQTT - Caching - MBaaS

Page 56: Building an API Centric SOA

Apps should be showcased for the end user to discover.

Page 57: Building an API Centric SOA

WSO2 Enterprise Store

Page 58: Building an API Centric SOA

Interaction with existing/known identity stores

● Connecting to existing user bases - Corporate LDAP, AD, DB

● Connecting global user bases - Login using Facebook, Whatsup, Twitter, G+ - Also applicable to developers

- Github, G+● Federating Identities

- BYOID

Page 59: Building an API Centric SOA

SSO provides smoother interaction between Apps.

Page 60: Building an API Centric SOA

And a place to manage all App subscriptions can save lot of time for the end user.

Page 61: Building an API Centric SOA

WSO2 App Manager

Page 62: Building an API Centric SOA

With all these, end user interactions can be intense.

Page 63: Building an API Centric SOA

Support for scalable deployment & multi tenancy for cost effectiveness.

Page 64: Building an API Centric SOA

Interactions can be malicious too...

Page 65: Building an API Centric SOA

Malicious usage pattern detection

● No longer a sole task of firewall● APIs go beyond traditional networking boundaries● APIs expose business● Hackers can now directly attack your core business

Page 66: Building an API Centric SOA

Shouldn’t we be talking about going up there?

Page 67: Building an API Centric SOA

Heaven?

Page 68: Building an API Centric SOA

Cloud !!

Page 69: Building an API Centric SOA

Gartner Says Nearly Half of Large Enterprises Will Have Hybrid Cloud Deployments by the End of 2017.

(http://www.gartner.com/newsroom/id/2599315)

Page 70: Building an API Centric SOA

WSO2 Cloud : The Future today !!

● WSO2 Cloud● Apache Stratos

- Cartridges for API building blocks● Cloud connector - Supporting hybrid clouds

Page 71: Building an API Centric SOA

Recap - no more !!

● Every business is a digital business.● Digital businesses are meant to be connected.● WSO2 helps businesses to connect.● APIs are a formidable way to connect businesses.● Being API centric increases the way your business can

connect to other businesses.● Going API centric requires futuristic design, guidance, tools

& infrastructure.● WSO2 has helped many customers to jump the API hurdle.

Page 72: Building an API Centric SOA

Thank you for listening.