getting started with the wso2 api manager
DESCRIPTION
TRANSCRIPT
![Page 1: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/1.jpg)
Demo: Getting started with WSO2 API Manager
(outline for demo)
Sumedha Rubasinghe September, 2012
![Page 2: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/2.jpg)
WSO2 API Manager Webinar Series
•Introducing WSO2 API Manager for Mobile Applications and Rapid Integration - September 11 •Getting Started with API Manager - September 18 •API Facade Pattern - September 25 •Promoting Service Re-use with API Management - October 2 •API Management Building Blocks and Business Value - October 9
![Page 3: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/3.jpg)
WSO2 API Manager - Overview
•v1.0.0 – August 2012 •Not really a 1.0.0 product
•Built using, •WSO2 Enterprise Service Bus •WSO2 Identity Server •WSO2 Governance Registry •WSO2 Jaggery
•Only open source API Management Platform •Platform covers all aspects of API Management
•API Provider •API Store & Consumer •Gateway •Monitoring & Statistics
Production
deployments
with various
clients around
the globe
![Page 4: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/4.jpg)
API Manager – Functional Overview
![Page 5: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/5.jpg)
Concept: Service/Resource vs API
•Service/Resource •Implementation •Represent Provider
•API •Represent Consumer/Subscriber •Service/Resource’s interface to external world •“API Management” – Process of creating & managing APIs
![Page 6: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/6.jpg)
Creating & Publishing an API
•Demo •Summary
•Select implemented Service/Resource endpoint •Create API
•API Context •API Version •Tier, Tags
•Documentation •Change Status
DEMO
![Page 7: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/7.jpg)
API Store & Subscriptions
•Demo •Summary
•Publisher APIs appear on Store •Tags •Sorted (recently added, popular)
•Sign up •Logged in users (consumers) can subscribe
DEMO
![Page 8: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/8.jpg)
Concept : Application
•Application •Logical grouping of all APIs being used for a purpose •Subscription = API + Version + Application •Access token -> application scope
DEMO
![Page 9: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/9.jpg)
(Quick) API Testing Clients
•Demo •cURL •soapUI •JMeter •Chrome Plugins
•Advance REST Client •REST Console
•Firefox Plugins •Mozilla Poster
•Apache Bench
DEMO
![Page 10: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/10.jpg)
Concept : Access Token
•OAuth Token (Valet Key) •To be used during development testing ONLY •Generated using API Store UI
DEMO
![Page 11: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/11.jpg)
Concept : Access Token
•Per end user key •Generated by the application instance running on behalf of user •Generated using consumer_key + consumer_secret •Special URL to submit token generation requests •Helps to uniquely identify end users •Management & stat gathering
![Page 12: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/12.jpg)
![Page 13: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/13.jpg)
Developing Apps using APIs
•Select correct throttle policy •Developer token can be used for development •Every new installation of app should obtain a new token •Do not include include developer key
•Set global expiration time on tokens
![Page 14: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/14.jpg)
API Statistics
DEMO
![Page 15: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/15.jpg)
Event Stream Definition
![Page 16: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/16.jpg)
Service Lifecycle vs API Lifecycle
![Page 17: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/17.jpg)
API Versioning Support
•Demo •Summary
•Current API version -> copy to new version •Copies all documentation •Version as part of URL •Access Token -> version •Stats -> version
DEMO
![Page 18: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/18.jpg)
Passing End User to Backend
•JWT( JSON Web Token)
![Page 19: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/19.jpg)
WSO2 API Manager Webinar Series
•Introducing WSO2 API Manager for Mobile Applications and Rapid Integration - September 11 •Getting Started with API Manager - September 18 •API Facade Pattern - September 25 •Promoting Service Re-use with API Management - October 2 •API Management Building Blocks and Business Value - October 9
![Page 20: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/20.jpg)
WSO2 Conference Call For Papers
•Visit wso2con.com – Submission Deadline 7th Oct 2012
![Page 21: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/21.jpg)
Questions?
![Page 22: Getting Started with the WSO2 API Manager](https://reader034.vdocuments.site/reader034/viewer/2022052218/546ea2efb4af9faa268b4757/html5/thumbnails/22.jpg)
References : •http://wso2.com/products/api-manager/ •Getting Started Guide - http://d.content.wso2.com/files/WSO2APIManager-v1.0.0-GettingStarted.pdf •http://sanjiva.weerawarana.org/2012/08/api-management-missing-link-for-soa.html •http://techfeast-hiranya.blogspot.com/search/label/api%20management •http://sumedha.blogspot.com/search/label/API