This document summarizes an upcoming WSO2 workshop on APIs, integration, and microservices. It provides an overview of the WSO2 middleware platform and its key components for API management. The platform is fully open source and includes products for API publishing, a developer portal, gateway, security, analytics, and an enterprise service bus for mediation. It supports both on-premise and cloud deployments and is highly scalable and extensible. The workshop will cover API strategies, architectures, deployment models, and demonstrations of the platform components.
10 Trends Likely to Shape Enterprise Technology in 2024
WSO2 Workshop Sydney 2016 - APIs
1. Associate Director / Solutions Architect
22nd June 2016 | Sydney, Australia.
dassanaATwso2.com
Dassana Wijesekara
WSO2 Workshop 2016 | Sydney . Australia.
APIs, Integration and Microservices
2.
3.
4. WSO2 – The 100% Open Source
Middleware Platform
4
● Fully integrated,
complete middleware
platform
● 26 products available,
so that you deploy only
what you need, when
you need it
● Works seamlessly
across the cloud and on-
premise
● Future-proof to adapt to
new technology
advancements such as
IoT
6. The API
6
Definition : An API is a business capability delivered over the Internet (+ any medium)
to internal or external consumers.
• Network accessible function
• Available using standard protocols (mostly web)
• With well-defined interfaces
• Designed for access by third-parties
.
7. Managed API
7
Definition : An API is a product. Product should be able to manage.
• Actively advertised and can be subscribed
• Available with SLA
• Monitoring enabled – Gain insights visualize through dashboards
• Enables monetization
• Secure Access – OAuth2, JWT token validation, and IP filtering
.
8. API Strategy
8
• API as a Product vs API based products
= API as a strategy vs API as a tactic
• External API management vs internal API management
• Developer ecosystem – API ecosystem vs cloud-devops
• API management and the enterprise
• Business model – Pay as you go, revshare, freemium,..
9. Characteristics of a Business API
9
• Protocols and styles – Passthrough only
• API as the main product
• API as the brand
• Business model – monetization
• API Statistics
• Authentication and Authorization
• Throttling
• Caching
• Deployment model
10. Architectural Factors
10
• Deployment model
• Deployment, access token caching,...
• On-premise vs cloud vs hybrid, Cloud to enterprise access
• Federated architecture
• Large scale APIs
• Edge API management
11. WSO2 API Management Platform
• 100% Free and Open source ( Apache 2.0 license)
• Supports On-premise and Cloud deployment
• Feature rich, and improving…
• Extensible by Design, and highly Scalable
• The Platform advantage for an End-to-end Solution
12. The Architecture : key components
{API Manager}
Gateway
{API Manager}
Key-Manager
Data Analytics
Server
{API Manager}
Store
{API Manager}
Publisher
Devices
{Applications}
App Developers API Developers
Backend Servers
{Services / APIs}
User Directories
Enterprise
Service Bus
13. Component : The Publisher
{API Manager}
Gateway
{API Manager}
Key-Manager
Data Analytics
Server
{API Manager}
Store
Devices
{Applications}
App Developers
Backend Servers
{Services / APIs}
User Directories
Enterprise
Service Bus
{API Manager}
Publisher
API Developers
○ API Publishers’ portal
○ Create, Publish and Manage APIs
○ API Life-cycle
○ Versioning
○ Documentation
○ Policies
○ View Statistics
14. Component : The Store
{API Manager}
Gateway
{API Manager}
Key-Manager
Data Analytics
Server
Devices
{Applications}
Backend Servers
{Services / APIs}
User Directories
Enterprise
Service Bus
{API Manager}
Publisher
API Developers
{API Manager}
Store
App Developers
○ App Developers’ portal
○ Browse and Subscribe to APIs
○ Choose subscription plan
○ Try-out and Evaluate
○ Utilize documentation
○ Rating, Comment and Forum
○ View Statistics
15. Component : The Gateway
{API Manager}
Key-Manager
Data Analytics
Server
Devices
{Applications}
Backend Servers
{Services / APIs}
User Directories
Enterprise
Service Bus
{API Manager}
Publisher
API Developers
{API Manager}
Store
App Developers
○ Handle API invocation traffic
○ Enforce Security
○ Enforce Throttling
○ Publish Runtime-statistics
○ Light-weight mediation
○ Based on WSO2 ESB
{API Manager}
Gateway
16. Component : The Key Manager
Data Analytics
Server
Devices
{Applications}
Backend Servers
{Services / APIs}
Enterprise
Service Bus
{API Manager}
Publisher
API Developers
{API Manager}
Store
App Developers
{API Manager}
Gateway
{API Manager}
Key-Manager
User Directories
○ Handle API Security
○ Existing user-directories
○ Multiple user-directories
○ Oauth 2.0 / OpenID-Connect
○ Extensible, based on requirements
○ Based on WSO2 Identity Server
17. Runtime Statistics : DAS
Devices
{Applications}
Backend Servers
{Services / APIs}
Enterprise
Service Bus
{API Manager}
Publisher
API Developers
{API Manager}
Store
App Developers
{API Manager}
Gateway
{API Manager}
Key-Manager
User Directories
○ Collect API invocation data
○ Mapreduce and Process
○ Store information (RDBMS)
○ Publish to Dashboards
○ Collect API invocation events
○ Analyse and Pattern-match
○ Trigger alerts! Data Analytics
Server
18. Enterprise
Service Bus
The API invocation Traffic
{API Manager}
Publisher
API Developers
{API Manager}
Store
App Developers
{API Manager}
Key-Manager
User Directories
Data Analytics
Server
{API Manager}
Gateway
Devices
{Applications}
Backend Servers
{Services / APIs}
In a typical scenario...
the Gateway routes traffic
performs mediation (light)...
and Content / Transport switching
19. Enterprise
Service Bus
API Façade pattern { Recommended }
{API Manager}
Publisher
API Developers
{API Manager}
Store
App Developers
{API Manager}
Key-Manager
User Directories
Data Analytics
Server
{API Manager}
Gateway
Devices
{Applications}
Backend Servers
{Services / APIs}
Enterprise
Service Bus
The Enterprise Service Bus...
installed behind the Gateway
handles mediation (heavy)
and Content / Transport switching
20. Enterprise
Service Bus
The Platform is Extensible
{API Manager}
Publisher
{API Manager}
Store
Identity Server
User Directories
Data Analytics
Server
{API Manager}
Gateway
Devices
{Applications}
Backend Servers
{Services / APIs}
Enterprise
Service Bus
Application
Server
Microservices
Server
Dashboard
Server
Data Services
Server
Governance
Registry
Business
Process Server
21. Enterprise
Service Bus
The Platform is Scalable
{API Manager}
Publisher
API Developers
{API Manager}
Store
App Developers
{API Manager}
Key-Manager
User Directories
Data Analytics
Server
Devices
{Applications}
Backend Servers
{Services / APIs}
Based on capacity requirements...
such as throughput, concurrency
… and the average message-size
each component can be clustered ...
independently, by adding more nodes
in a static or in an elastic manner
{API Manager}
Gateway{API Manager}
Gateway
Cluster