SlideShare una empresa de Scribd logo
1 de 58
Descargar para leer sin conexión
WSO2 API Manager 2.0.0
Overview
Agenda
o Introduction
o Creating APIs
o Protecting APIs
o APIs Lifecycles
o Developer Portal
o Testing APIs
o API Gateway
o Deployment
o API Analytics
Introduction
APIs for Business Innovation
o API - Business capability offered via a digital channel
o Open internally and/or externally
o Monitored
o In some cases, monetized
o Fuel for rapid innovation, development of new apps
Image: thinkpublic/photopin cc
API Management Platform
WSO2 API Manager
o The only complete, 100% open source API Management solution
o A cleanly integrated system supporting API publishing, lifecycle
management, developer portal, access control and analytics
o Backed by high performance gateway
o A single node supports more than 100 million requests/day
o eBay handles up to 4.6 billion requests per day at peak times
(Cyber Monday)
WSO2 API Manager cont.
o Includes Social enablement such as ratings and tagging
o Supports single-sign on with Facebook, GoogleApps, etc.
o Named a Strong Performer in this space by Forrester in 2014 and
2015
o Best API Design across all vendors
o Best Solution Cost for on-premise solution
o Extremely Satisfied customers
o Available on-premise, as managed deployment and as SaaS
application (API Cloud)
Competitive Advantage
o API Management is part of a complete platform
o Integration
o Security (Identity Management, Federated Identity)
o API Analytics
o Open Architecture
o Custom security tokens and grant types
o Custom store/developer’s portal user interface
o Custom user’s repositories
o Custom transports to back-end
o Available on-premise, as managed offering, as SaaS offering -
Same code everywhere
Competitive Advantage cont.
o Scalable Architecture
o Each component (Gateway, Dev Portal, Admin Portal, Key Server)
can be deployed and scaled separately
o Over 5000 TPS for a single node
o Business Model
o Subscriptions only for production systems - Makes cost very
competitive
o Pricing is adapted to small, medium and enterprises customers
o Cost linked to instances, not to machine power
o No community vs. enterprise distinction
Typical Use Cases
o Expose APIs for internal
consumption
o Manage APIs used in
internal applications
o Internal Monetization
o Control Access to Cloud Services - Manage and secure access from
internal applications to cloud services (e.g. SalesForce and Google Apps)
o APIs for public consumption
o Extend your business through APIs
o Integrate with partners and customers
API Manager Components
Creating APIs
Getting Started
o For REST - Start from existing API definition (Swagger 2.0) or
start from scratch
o For SOAP - Start from WSDL and generate default mapping and
definition
REST API Editing
o Basic editor to create the API structure
REST API Editing cont.
o Swagger editor (YAML-based) for advanced editing, configuration,
etc.
API Documentation
Protecting APIs
API Access Tokens
o OAuth2 standard compliant
o Supports multiple Grant
Types
o SAML, IWA/NTLM
o Client credentials, Implicit,
Password
o Pre-generated Access Token
- Mostly used for testing
o On-demand Access Token -
Generated via API call to the
Gateway, using any of the
supported Grant Types
o Tokens can be
refreshed/revoked via API
calls as well
Pluggable OAuth Authorization Server
o OAuth token management is by default done with WSO2’s Key
Server (based on WSO2’s Identity Server)
o Can be replaced by third-party authorization server, capable of
creating, refreshing, validating, revoking OAuth tokens
Limiting Access to API Resources
o Achieved through OAuth scopes - Scope defines what can be
accessed by a token
o How to request a token
grant_type=password&username=john&password=john123&scope=news_read news_write
Throttling & Rate Limiting
o Throttling
o Regulates API traffic
o Makes APIs and applications available to consumers at different
service levels
o Secures APIs against security attacks (e.g. DoS attacks)
o Throttling is controlled through tiers-based policies - A tier is defined
by a time duration and a maximum no of requests during that duration
o Tiers can be applied at application, API and API resource levels
Throttling & Rate Limiting cont.
o At subscription time, API users can choose tiers they can
subscribe to - This default behavior can be overridden through
usage of workflows
o Throttling policies encompasses:
o Standard usage quotas of total subscriptions and resources
o Rate limiting based complex, extensible and dynamic rules,
scenarios and events
o Complex throttling policies (with transport headers, IP addresses,
etc.) can be created on the fly
o Facilitates blacklisting users/applications abusing rate limits
Throttling & Rate Limiting cont.
JWT Token Creation
o Using JSON Web Tokens
(JWT)
o Lightweight
o Can be signed
o Easy to parse and consume
o Standard
o JWT Structure {token
info}.{claims list}.{signature}
o Base-64 or Base64 URL
Encoded
o Contents of JWT are
configurable
API Lifecycles
API Lifecycle Management
o Create new APIs from
existing versions
o Deploy multiple versions in
parallel
o Deprecate versions to
remove them from store
o Retire them to un-deploy
from gateway
o Keeps audit of lifecycle
changes
o Supports custom lifecycles
leveraging WSO2
Governance Registry
Developer Portal
Discover APIs
o Users can search APIs by name, provider, version number,
context, description, meta-data from docs, etc.
o Tags to easily find all APIs related to a same domain
o Notifications on new API versions
Social Features
o Share with fellow developers via social media or mail
o Embed API link into blogs, Tweets, etc.
Forums
o Rich editor embedded within interface
o Forums are searchable and indexed
Customization
o All API store functionality available through REST API
o Customization through CSS, HTML5, JavaScript
Monetization
o Configurable payment schemes to monetize API usage
o Monetization rules are associated to Tiers
o Supports Free, Paid, Freemium models
o Usually coupled with 3rd party invoice/payment plans software
(such as Zuora)
Testing APIs
Embedded API Console
o Part of Swagger tooling suite
o Integrates token access for fast testing
o Gives direct access to Swagger definition of API
o Support Swagger schemas for predefined values
Testing via ReadyAPI’s SOAP UI
API Gateway
API Gateway Processing Workflow
Message Transformation and Mediation
o Custom mediation flows can be created by a developer and just
engaged by API Creator
o Mediations flows can be created using Developer Studio and directly
published to API Manager
o Full power of WSO2 ESB mediation language
o Graphical and Source view
o Mediations flows are tenant-specific (not visible/usable across tenants)
Workflows
o Provides extension point to engage custom workflow
o Default sample implementation leverages WSO2 Business Process
Server but a simple Java-based implementation or another BPM
engine can also be used
o Supports redirecting to third-party entities
o Available for user self-sign up, API subscription and application
creation
Deployment
Component Deployment
o Out-of-the-box, all components are packaged together
o They can also be deployed separately in an HA scenario –
Active/Active, Active/Passive
Component Deployment cont.
Multi-tenancy
o Creation of multiple domains (tenants)
o Each domain can have their own store or publish APIs to a central
store - This is transparent to consumers
o Typical Use Cases
o Segmenting publishers by business unit or partner and restricting
editing rights by domain
o Create an API marketplace - one-stop store for domain APIs
o API Cloud heavily leverages this functionality
Recommended Deployment: API Facade Pattern
o API Gateway acts as simple reverse proxy, enforcing policies and
collecting monitoring information
o Specific security checks/protection at edge of the network
o Invalid requests are stopped at the edge of the network
o Clear separation of concern between layers
o The mediation and API management layers scale independently
o You can combine the Façade and Mediation layers (if required)
and run as a single architecture layer
WSO2 Platform Deployment Options
o Stand-alone servers
o Private clouds:
e.g. Stratos, Kubernetes
o Public Clouds:
e.g. AWS
o Hybrid deployments
o Dedicated hosting of any
WSO2-based solutions
o WSO2 operations team is managing
the deployment and keeps it
running
o 99.99% uptime SLA
o Any AWS region of choice
o Can be VPNed to local network
o Includes monitoring, backups,
patching, updates
o Shared public cloud,
o Currently available for application
and API hosting (hosted API
Manager and App Factory),
o Preset multitenant deployment in
AWS US East run by WSO2,
o Month-to-month credit card
payment
API Analytics
Analytics
o WSO2 API Manager out-of-the-box supports Google Analytics and
WSO2 Analytics
Importance of API Management & Analytics
Combination
o Build confidence in the API model
o Understand your customer - Not just the developer but also the
end-user of APIs
o Helps manage services and versions - Understand when deprecated
services can be retired
o Be notified when abnormal events take place
o Plan better
o Monitor the growth of aggregated API traffic
o Monitor the growth of specific apps
WSO2 Analytics Platform
WSO2 Analytics Platform cont.
o Out-of-the- box reports covering all aspects of
o Subscriber behavior
o API usage
o Performance
o Can publish your own events from any API and build your own
dashboards
Reports for API Creators & Publishers
o Stats on APIs
o Published APIs Over Time
o API Usage
o API Response Times
o API Last Access Times
o Usage by Resource Path
o Usage by Destination
o API Usage Comparison
o API Throttled Requests
o Faulty Invocations
o API Latency
o API Usage Across Geo
Locations
o API Usage Across User Agent
o Stats on Applications
o App Throttled Requests
o Applications Created Over Time
o Stats on Subscriptions
o API Subscriptions
o Developer Signups Over Time
o Subscriptions Created Over
Time
Reports for API Creators & Publishers cont.
Reports for API Subscribers
o API Usage per Application
o Top Users per Application
o API Usage from Resource
Path per Application
o Faulty Invocation per
Application
Real-time API Behavior Analysis
o Leverages real-time analytics streaming engine
o Detects fraudulent token usage - Indication of lost tokens via alerts on
abnormal token renewals and unseen source IP access (abrupt changes to
geo-location)
o Supports API product managers to provide better customer
service
o Alerts when API response time is outside normal parameters, indicating a
potential SLA breach
o Alerts when apps/users are throttled out for hitting the current subscription
tier - potential opportunity to proactively propose a tier upgrade or to adjust
SLAs
o Detect when APIs are not used as expected
o Identifies erratic behavior and supports capacity planning
o Alerts when a sudden spike/drop in the request count in a given duration for
an API resource – Possible indication of a system problem
o Determining trends in increased response times – Indication of potential
issues with APIs or backend system capacity
Why Real-time Analytics for APIs ?
o Blacklist & whitelist verifications in real time
o Detect trends
o Detect incoherencies in trends
o Detect API calls sequences that you don’t want to allow
o Detect non-usage scenarios ( raise alerts on poor usage of a
certain API)
Example – Real-time Fraud Detection
Log Analysis
o Log Analysis through reports on low-level system operations:
o Log events - Overall statistics of the types of log events created in a given
time period
o Application errors - Breakdown of error log events based on exception
category and error message
o Artifact deployment stats - Number of artifacts deployed in a given duration
o Login failures - No of failed login attempts in a given duration
o No of API failures
o Access token-related issues
o Ability to view live log events on per-tenant basis
CONTACT US !

Más contenido relacionado

La actualidad más candente

Api gateway in microservices
Api gateway in microservicesApi gateway in microservices
Api gateway in microservices
Kunal Hire
 

La actualidad más candente (20)

Zuul @ Netflix SpringOne Platform
Zuul @ Netflix SpringOne PlatformZuul @ Netflix SpringOne Platform
Zuul @ Netflix SpringOne Platform
 
Azure API Management
Azure API ManagementAzure API Management
Azure API Management
 
API Basics
API BasicsAPI Basics
API Basics
 
Introduction to Serverless
Introduction to ServerlessIntroduction to Serverless
Introduction to Serverless
 
Azure vnet
Azure vnetAzure vnet
Azure vnet
 
Api gateway in microservices
Api gateway in microservicesApi gateway in microservices
Api gateway in microservices
 
Microservices & API Gateways
Microservices & API Gateways Microservices & API Gateways
Microservices & API Gateways
 
Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)Windows Communication Foundation (WCF)
Windows Communication Foundation (WCF)
 
Advanced networking on AWS | AWS Floor28
Advanced networking on AWS | AWS Floor28Advanced networking on AWS | AWS Floor28
Advanced networking on AWS | AWS Floor28
 
Introduction to Apache Camel
Introduction to Apache CamelIntroduction to Apache Camel
Introduction to Apache Camel
 
API Management Solution Powerpoint Presentation Slides
API Management Solution Powerpoint Presentation SlidesAPI Management Solution Powerpoint Presentation Slides
API Management Solution Powerpoint Presentation Slides
 
Amazon API Gateway
Amazon API GatewayAmazon API Gateway
Amazon API Gateway
 
Microservice vs. Monolithic Architecture
Microservice vs. Monolithic ArchitectureMicroservice vs. Monolithic Architecture
Microservice vs. Monolithic Architecture
 
API Management within a Microservice Architecture
API Management within a Microservice ArchitectureAPI Management within a Microservice Architecture
API Management within a Microservice Architecture
 
Introduction to Kong API Gateway
Introduction to Kong API GatewayIntroduction to Kong API Gateway
Introduction to Kong API Gateway
 
Swagger
SwaggerSwagger
Swagger
 
Rest web services
Rest web servicesRest web services
Rest web services
 
Designing APIs with OpenAPI Spec
Designing APIs with OpenAPI SpecDesigning APIs with OpenAPI Spec
Designing APIs with OpenAPI Spec
 
An Introduction To REST API
An Introduction To REST APIAn Introduction To REST API
An Introduction To REST API
 
OpenSSL
OpenSSLOpenSSL
OpenSSL
 

Destacado

WSO2Con USA 2017: Providing a Pathway from Stovepipe Systems to a Secure SOA ...
WSO2Con USA 2017: Providing a Pathway from Stovepipe Systems to a Secure SOA ...WSO2Con USA 2017: Providing a Pathway from Stovepipe Systems to a Secure SOA ...
WSO2Con USA 2017: Providing a Pathway from Stovepipe Systems to a Secure SOA ...
WSO2
 

Destacado (20)

API designing with WSO2 API Manager
API designing with WSO2 API ManagerAPI designing with WSO2 API Manager
API designing with WSO2 API Manager
 
Workshop WSO2 BPS 3.5.x - BPMN
Workshop WSO2 BPS 3.5.x - BPMN Workshop WSO2 BPS 3.5.x - BPMN
Workshop WSO2 BPS 3.5.x - BPMN
 
WSO2 Novo Modelo de Subscrições e Produtos 2017
WSO2 Novo Modelo de Subscrições e Produtos 2017WSO2 Novo Modelo de Subscrições e Produtos 2017
WSO2 Novo Modelo de Subscrições e Produtos 2017
 
WSO2 API Manager : Going beyond the just API Management
WSO2 API Manager : Going beyond the just API ManagementWSO2 API Manager : Going beyond the just API Management
WSO2 API Manager : Going beyond the just API Management
 
WSO2Con USA 2017: WSO2 Partner Program – Engaging with WSO2
WSO2Con USA 2017: WSO2 Partner Program – Engaging with WSO2WSO2Con USA 2017: WSO2 Partner Program – Engaging with WSO2
WSO2Con USA 2017: WSO2 Partner Program – Engaging with WSO2
 
WSO2Con USA 2017: Integrating Systems for University of Exeter using Zero and...
WSO2Con USA 2017: Integrating Systems for University of Exeter using Zero and...WSO2Con USA 2017: Integrating Systems for University of Exeter using Zero and...
WSO2Con USA 2017: Integrating Systems for University of Exeter using Zero and...
 
Best Practices for API Management
Best Practices for API Management Best Practices for API Management
Best Practices for API Management
 
Workshop MSF4J - Getting Started with Microservices and Java
Workshop MSF4J - Getting Started with Microservices and JavaWorkshop MSF4J - Getting Started with Microservices and Java
Workshop MSF4J - Getting Started with Microservices and Java
 
Wso2 integration platform deep dive eu con 2016
Wso2 integration platform deep dive   eu con 2016Wso2 integration platform deep dive   eu con 2016
Wso2 integration platform deep dive eu con 2016
 
API workshop by AWS and 3scale
API workshop by AWS and 3scaleAPI workshop by AWS and 3scale
API workshop by AWS and 3scale
 
WSO2 Product Release Webinar: WSO2 API Manager 2.0
WSO2 Product Release Webinar: WSO2 API Manager 2.0WSO2 Product Release Webinar: WSO2 API Manager 2.0
WSO2 Product Release Webinar: WSO2 API Manager 2.0
 
WSO2Con USA 2017: Providing a Pathway from Stovepipe Systems to a Secure SOA ...
WSO2Con USA 2017: Providing a Pathway from Stovepipe Systems to a Secure SOA ...WSO2Con USA 2017: Providing a Pathway from Stovepipe Systems to a Secure SOA ...
WSO2Con USA 2017: Providing a Pathway from Stovepipe Systems to a Secure SOA ...
 
WSO2Con USA 2017: Building a Successful Delivery Team for Customer Success
WSO2Con USA 2017: Building a Successful Delivery Team for Customer SuccessWSO2Con USA 2017: Building a Successful Delivery Team for Customer Success
WSO2Con USA 2017: Building a Successful Delivery Team for Customer Success
 
WSO2Con USA 2017: Building a Secure Enterprise
WSO2Con USA 2017: Building a Secure EnterpriseWSO2Con USA 2017: Building a Secure Enterprise
WSO2Con USA 2017: Building a Secure Enterprise
 
The Fundamentals of Platform Strategy: Creating Genuine Value with APIs
The Fundamentals of Platform Strategy: Creating Genuine Value with APIsThe Fundamentals of Platform Strategy: Creating Genuine Value with APIs
The Fundamentals of Platform Strategy: Creating Genuine Value with APIs
 
WSO2Con USA 2017: Journey of Migration from Legacy ESB to Modern WSO2 ESB Pla...
WSO2Con USA 2017: Journey of Migration from Legacy ESB to Modern WSO2 ESB Pla...WSO2Con USA 2017: Journey of Migration from Legacy ESB to Modern WSO2 ESB Pla...
WSO2Con USA 2017: Journey of Migration from Legacy ESB to Modern WSO2 ESB Pla...
 
WSO2Con USA 2017: IoT in Airline Operations
WSO2Con USA 2017: IoT in Airline OperationsWSO2Con USA 2017: IoT in Airline Operations
WSO2Con USA 2017: IoT in Airline Operations
 
WSO2Con USA 2017: Multi-tenanted, Role-based Identity & Access Management sol...
WSO2Con USA 2017: Multi-tenanted, Role-based Identity & Access Management sol...WSO2Con USA 2017: Multi-tenanted, Role-based Identity & Access Management sol...
WSO2Con USA 2017: Multi-tenanted, Role-based Identity & Access Management sol...
 
WSO2Con USA 2017: Positioning WSO2 for Quicker Uptake
WSO2Con USA 2017: Positioning WSO2 for Quicker UptakeWSO2Con USA 2017: Positioning WSO2 for Quicker Uptake
WSO2Con USA 2017: Positioning WSO2 for Quicker Uptake
 
WSO2Con USA 2017: Enhancing Customer Experience with WSO2 Identity Server
WSO2Con USA 2017: Enhancing Customer Experience with WSO2 Identity ServerWSO2Con USA 2017: Enhancing Customer Experience with WSO2 Identity Server
WSO2Con USA 2017: Enhancing Customer Experience with WSO2 Identity Server
 

Similar a WSO2 API Manager 2.0 - Overview

Introducing The WSO2 Platform
Introducing The WSO2 Platform Introducing The WSO2 Platform
Introducing The WSO2 Platform
WSO2
 
Generating Insights from WSO2 API Manager Statistics
Generating Insights from WSO2 API Manager StatisticsGenerating Insights from WSO2 API Manager Statistics
Generating Insights from WSO2 API Manager Statistics
WSO2
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
WSO2
 
How to Build, Manage, and Promote APIs
How to Build, Manage, and Promote APIsHow to Build, Manage, and Promote APIs
How to Build, Manage, and Promote APIs
WSO2
 
Application Development with API Manager
Application Development with API ManagerApplication Development with API Manager
Application Development with API Manager
WSO2
 
Building an API Centric SOA
Building an API Centric SOA Building an API Centric SOA
Building an API Centric SOA
WSO2
 
Runtime Governance with WSO2 Governance Registry integrated with WSO2 BAM and...
Runtime Governance with WSO2 Governance Registry integrated with WSO2 BAM and...Runtime Governance with WSO2 Governance Registry integrated with WSO2 BAM and...
Runtime Governance with WSO2 Governance Registry integrated with WSO2 BAM and...
WSO2
 

Similar a WSO2 API Manager 2.0 - Overview (20)

WSO2 API Manager - Product Overview
WSO2 API Manager - Product OverviewWSO2 API Manager - Product Overview
WSO2 API Manager - Product Overview
 
Presentation WSO2 workshop Brussels September 24th 2014 (APIs-Integration)
Presentation WSO2 workshop Brussels September 24th 2014 (APIs-Integration)Presentation WSO2 workshop Brussels September 24th 2014 (APIs-Integration)
Presentation WSO2 workshop Brussels September 24th 2014 (APIs-Integration)
 
WSO2Con ASIA 2016: Understanding the WSO2 API Management Platform
WSO2Con ASIA 2016: Understanding the WSO2 API Management PlatformWSO2Con ASIA 2016: Understanding the WSO2 API Management Platform
WSO2Con ASIA 2016: Understanding the WSO2 API Management Platform
 
WSO2 API Platform: Vision and Roadmap
WSO2 API Platform: Vision and RoadmapWSO2 API Platform: Vision and Roadmap
WSO2 API Platform: Vision and Roadmap
 
WSO2 Identity Server 5.3.0 - Product Release Webinar
WSO2 Identity Server 5.3.0 - Product Release WebinarWSO2 Identity Server 5.3.0 - Product Release Webinar
WSO2 Identity Server 5.3.0 - Product Release Webinar
 
Introducing The WSO2 Platform
Introducing The WSO2 Platform Introducing The WSO2 Platform
Introducing The WSO2 Platform
 
Generating Insights from WSO2 API Manager Statistics
Generating Insights from WSO2 API Manager StatisticsGenerating Insights from WSO2 API Manager Statistics
Generating Insights from WSO2 API Manager Statistics
 
Extend soa with api management Sangam18
Extend soa with api management Sangam18Extend soa with api management Sangam18
Extend soa with api management Sangam18
 
Architecting an Enterprise API Management Strategy
Architecting an Enterprise API Management StrategyArchitecting an Enterprise API Management Strategy
Architecting an Enterprise API Management Strategy
 
[Workshop] API-driven Integration
[Workshop] API-driven Integration[Workshop] API-driven Integration
[Workshop] API-driven Integration
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
 
[Workshop] Managing the API lifecycle with Open Source Technologies
[Workshop] Managing the API lifecycle with Open Source Technologies[Workshop] Managing the API lifecycle with Open Source Technologies
[Workshop] Managing the API lifecycle with Open Source Technologies
 
RefCard API Architecture Strategy
RefCard API Architecture StrategyRefCard API Architecture Strategy
RefCard API Architecture Strategy
 
Extend soa with api management spoug- Madrid
Extend soa with api management   spoug- MadridExtend soa with api management   spoug- Madrid
Extend soa with api management spoug- Madrid
 
WSO2 Identity Server - Product Overview
WSO2 Identity Server - Product OverviewWSO2 Identity Server - Product Overview
WSO2 Identity Server - Product Overview
 
How to Build, Manage, and Promote APIs
How to Build, Manage, and Promote APIsHow to Build, Manage, and Promote APIs
How to Build, Manage, and Promote APIs
 
Open Banking & Open Insurance
Open Banking & Open InsuranceOpen Banking & Open Insurance
Open Banking & Open Insurance
 
Application Development with API Manager
Application Development with API ManagerApplication Development with API Manager
Application Development with API Manager
 
Building an API Centric SOA
Building an API Centric SOA Building an API Centric SOA
Building an API Centric SOA
 
Runtime Governance with WSO2 Governance Registry integrated with WSO2 BAM and...
Runtime Governance with WSO2 Governance Registry integrated with WSO2 BAM and...Runtime Governance with WSO2 Governance Registry integrated with WSO2 BAM and...
Runtime Governance with WSO2 Governance Registry integrated with WSO2 BAM and...
 

Más de Edgar Silva

Más de Edgar Silva (20)

API Methodology by Skalena
API Methodology by SkalenaAPI Methodology by Skalena
API Methodology by Skalena
 
Flyweigth - Arquitetura de Referência para Open Banking Brasil Fase 1
Flyweigth - Arquitetura de Referência para Open Banking Brasil Fase 1Flyweigth - Arquitetura de Referência para Open Banking Brasil Fase 1
Flyweigth - Arquitetura de Referência para Open Banking Brasil Fase 1
 
Skalena - Finance Business Unit
Skalena - Finance Business UnitSkalena - Finance Business Unit
Skalena - Finance Business Unit
 
Plataforma de Consentimento (LGDP) Skalena
Plataforma de Consentimento (LGDP) SkalenaPlataforma de Consentimento (LGDP) Skalena
Plataforma de Consentimento (LGDP) Skalena
 
Casos de Sucesso WSO2 no Governo Brasileiro
Casos de Sucesso WSO2 no Governo BrasileiroCasos de Sucesso WSO2 no Governo Brasileiro
Casos de Sucesso WSO2 no Governo Brasileiro
 
DevOps Tour SP 2019
DevOps Tour SP 2019DevOps Tour SP 2019
DevOps Tour SP 2019
 
Skalena - Overview de Soluções
Skalena - Overview de Soluções Skalena - Overview de Soluções
Skalena - Overview de Soluções
 
WSO2 Governance Registry 5.4.0 - Overview
WSO2 Governance Registry 5.4.0 - OverviewWSO2 Governance Registry 5.4.0 - Overview
WSO2 Governance Registry 5.4.0 - Overview
 
WSO2 Enterprise Integrator 6.1 - Integração na Era da Transformação
WSO2 Enterprise Integrator 6.1 - Integração na Era da TransformaçãoWSO2 Enterprise Integrator 6.1 - Integração na Era da Transformação
WSO2 Enterprise Integrator 6.1 - Integração na Era da Transformação
 
Transformação Digital de Forma Pragmatica WSO2
Transformação Digital de Forma Pragmatica WSO2Transformação Digital de Forma Pragmatica WSO2
Transformação Digital de Forma Pragmatica WSO2
 
WSO2 Telco MCX
WSO2 Telco MCXWSO2 Telco MCX
WSO2 Telco MCX
 
Workshop/Tutorial WSO2 Micro Services Server
Workshop/Tutorial WSO2 Micro Services ServerWorkshop/Tutorial WSO2 Micro Services Server
Workshop/Tutorial WSO2 Micro Services Server
 
WSO2 Micro Services Server - Basic Workshop Part 1
WSO2 Micro Services Server - Basic Workshop Part 1WSO2 Micro Services Server - Basic Workshop Part 1
WSO2 Micro Services Server - Basic Workshop Part 1
 
Conectando Turismo e Viagens - Plataforma WSO2
Conectando Turismo e Viagens - Plataforma WSO2Conectando Turismo e Viagens - Plataforma WSO2
Conectando Turismo e Viagens - Plataforma WSO2
 
WSO2 Application Server como Alternativa ao Tomcat
WSO2 Application Server como Alternativa ao TomcatWSO2 Application Server como Alternativa ao Tomcat
WSO2 Application Server como Alternativa ao Tomcat
 
WSO2 - Visão Geral - Update 2015
WSO2 - Visão Geral - Update 2015WSO2 - Visão Geral - Update 2015
WSO2 - Visão Geral - Update 2015
 
WSO2 para o Governo Brasileiro
WSO2 para o  Governo BrasileiroWSO2 para o  Governo Brasileiro
WSO2 para o Governo Brasileiro
 
WSO2 - Portfólio de Produtos, Soluções e Suportes
WSO2 - Portfólio de Produtos, Soluções e SuportesWSO2 - Portfólio de Produtos, Soluções e Suportes
WSO2 - Portfólio de Produtos, Soluções e Suportes
 
Introdução aos Conceitos do WSO2 ESB
Introdução aos Conceitos do WSO2 ESBIntrodução aos Conceitos do WSO2 ESB
Introdução aos Conceitos do WSO2 ESB
 
WSO2 - Visão Geral de Negócios
WSO2 - Visão Geral de NegóciosWSO2 - Visão Geral de Negócios
WSO2 - Visão Geral de Negócios
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 

WSO2 API Manager 2.0 - Overview

  • 1. WSO2 API Manager 2.0.0 Overview
  • 2. Agenda o Introduction o Creating APIs o Protecting APIs o APIs Lifecycles o Developer Portal o Testing APIs o API Gateway o Deployment o API Analytics
  • 4. APIs for Business Innovation o API - Business capability offered via a digital channel o Open internally and/or externally o Monitored o In some cases, monetized o Fuel for rapid innovation, development of new apps Image: thinkpublic/photopin cc
  • 6. WSO2 API Manager o The only complete, 100% open source API Management solution o A cleanly integrated system supporting API publishing, lifecycle management, developer portal, access control and analytics o Backed by high performance gateway o A single node supports more than 100 million requests/day o eBay handles up to 4.6 billion requests per day at peak times (Cyber Monday)
  • 7. WSO2 API Manager cont. o Includes Social enablement such as ratings and tagging o Supports single-sign on with Facebook, GoogleApps, etc. o Named a Strong Performer in this space by Forrester in 2014 and 2015 o Best API Design across all vendors o Best Solution Cost for on-premise solution o Extremely Satisfied customers o Available on-premise, as managed deployment and as SaaS application (API Cloud)
  • 8. Competitive Advantage o API Management is part of a complete platform o Integration o Security (Identity Management, Federated Identity) o API Analytics o Open Architecture o Custom security tokens and grant types o Custom store/developer’s portal user interface o Custom user’s repositories o Custom transports to back-end o Available on-premise, as managed offering, as SaaS offering - Same code everywhere
  • 9. Competitive Advantage cont. o Scalable Architecture o Each component (Gateway, Dev Portal, Admin Portal, Key Server) can be deployed and scaled separately o Over 5000 TPS for a single node o Business Model o Subscriptions only for production systems - Makes cost very competitive o Pricing is adapted to small, medium and enterprises customers o Cost linked to instances, not to machine power o No community vs. enterprise distinction
  • 10. Typical Use Cases o Expose APIs for internal consumption o Manage APIs used in internal applications o Internal Monetization o Control Access to Cloud Services - Manage and secure access from internal applications to cloud services (e.g. SalesForce and Google Apps) o APIs for public consumption o Extend your business through APIs o Integrate with partners and customers
  • 13. Getting Started o For REST - Start from existing API definition (Swagger 2.0) or start from scratch o For SOAP - Start from WSDL and generate default mapping and definition
  • 14. REST API Editing o Basic editor to create the API structure
  • 15. REST API Editing cont. o Swagger editor (YAML-based) for advanced editing, configuration, etc.
  • 18. API Access Tokens o OAuth2 standard compliant o Supports multiple Grant Types o SAML, IWA/NTLM o Client credentials, Implicit, Password o Pre-generated Access Token - Mostly used for testing o On-demand Access Token - Generated via API call to the Gateway, using any of the supported Grant Types o Tokens can be refreshed/revoked via API calls as well
  • 19. Pluggable OAuth Authorization Server o OAuth token management is by default done with WSO2’s Key Server (based on WSO2’s Identity Server) o Can be replaced by third-party authorization server, capable of creating, refreshing, validating, revoking OAuth tokens
  • 20. Limiting Access to API Resources o Achieved through OAuth scopes - Scope defines what can be accessed by a token o How to request a token grant_type=password&username=john&password=john123&scope=news_read news_write
  • 21. Throttling & Rate Limiting o Throttling o Regulates API traffic o Makes APIs and applications available to consumers at different service levels o Secures APIs against security attacks (e.g. DoS attacks) o Throttling is controlled through tiers-based policies - A tier is defined by a time duration and a maximum no of requests during that duration o Tiers can be applied at application, API and API resource levels
  • 22. Throttling & Rate Limiting cont. o At subscription time, API users can choose tiers they can subscribe to - This default behavior can be overridden through usage of workflows o Throttling policies encompasses: o Standard usage quotas of total subscriptions and resources o Rate limiting based complex, extensible and dynamic rules, scenarios and events o Complex throttling policies (with transport headers, IP addresses, etc.) can be created on the fly o Facilitates blacklisting users/applications abusing rate limits
  • 23. Throttling & Rate Limiting cont.
  • 24. JWT Token Creation o Using JSON Web Tokens (JWT) o Lightweight o Can be signed o Easy to parse and consume o Standard o JWT Structure {token info}.{claims list}.{signature} o Base-64 or Base64 URL Encoded o Contents of JWT are configurable
  • 26. API Lifecycle Management o Create new APIs from existing versions o Deploy multiple versions in parallel o Deprecate versions to remove them from store o Retire them to un-deploy from gateway o Keeps audit of lifecycle changes o Supports custom lifecycles leveraging WSO2 Governance Registry
  • 28. Discover APIs o Users can search APIs by name, provider, version number, context, description, meta-data from docs, etc. o Tags to easily find all APIs related to a same domain o Notifications on new API versions
  • 29. Social Features o Share with fellow developers via social media or mail o Embed API link into blogs, Tweets, etc.
  • 30. Forums o Rich editor embedded within interface o Forums are searchable and indexed
  • 31. Customization o All API store functionality available through REST API o Customization through CSS, HTML5, JavaScript
  • 32. Monetization o Configurable payment schemes to monetize API usage o Monetization rules are associated to Tiers o Supports Free, Paid, Freemium models o Usually coupled with 3rd party invoice/payment plans software (such as Zuora)
  • 34. Embedded API Console o Part of Swagger tooling suite o Integrates token access for fast testing o Gives direct access to Swagger definition of API o Support Swagger schemas for predefined values
  • 38. Message Transformation and Mediation o Custom mediation flows can be created by a developer and just engaged by API Creator o Mediations flows can be created using Developer Studio and directly published to API Manager o Full power of WSO2 ESB mediation language o Graphical and Source view o Mediations flows are tenant-specific (not visible/usable across tenants)
  • 39. Workflows o Provides extension point to engage custom workflow o Default sample implementation leverages WSO2 Business Process Server but a simple Java-based implementation or another BPM engine can also be used o Supports redirecting to third-party entities o Available for user self-sign up, API subscription and application creation
  • 41. Component Deployment o Out-of-the-box, all components are packaged together o They can also be deployed separately in an HA scenario – Active/Active, Active/Passive
  • 43. Multi-tenancy o Creation of multiple domains (tenants) o Each domain can have their own store or publish APIs to a central store - This is transparent to consumers o Typical Use Cases o Segmenting publishers by business unit or partner and restricting editing rights by domain o Create an API marketplace - one-stop store for domain APIs o API Cloud heavily leverages this functionality
  • 44. Recommended Deployment: API Facade Pattern o API Gateway acts as simple reverse proxy, enforcing policies and collecting monitoring information o Specific security checks/protection at edge of the network o Invalid requests are stopped at the edge of the network o Clear separation of concern between layers o The mediation and API management layers scale independently o You can combine the Façade and Mediation layers (if required) and run as a single architecture layer
  • 45. WSO2 Platform Deployment Options o Stand-alone servers o Private clouds: e.g. Stratos, Kubernetes o Public Clouds: e.g. AWS o Hybrid deployments o Dedicated hosting of any WSO2-based solutions o WSO2 operations team is managing the deployment and keeps it running o 99.99% uptime SLA o Any AWS region of choice o Can be VPNed to local network o Includes monitoring, backups, patching, updates o Shared public cloud, o Currently available for application and API hosting (hosted API Manager and App Factory), o Preset multitenant deployment in AWS US East run by WSO2, o Month-to-month credit card payment
  • 47. Analytics o WSO2 API Manager out-of-the-box supports Google Analytics and WSO2 Analytics
  • 48. Importance of API Management & Analytics Combination o Build confidence in the API model o Understand your customer - Not just the developer but also the end-user of APIs o Helps manage services and versions - Understand when deprecated services can be retired o Be notified when abnormal events take place o Plan better o Monitor the growth of aggregated API traffic o Monitor the growth of specific apps
  • 50. WSO2 Analytics Platform cont. o Out-of-the- box reports covering all aspects of o Subscriber behavior o API usage o Performance o Can publish your own events from any API and build your own dashboards
  • 51. Reports for API Creators & Publishers o Stats on APIs o Published APIs Over Time o API Usage o API Response Times o API Last Access Times o Usage by Resource Path o Usage by Destination o API Usage Comparison o API Throttled Requests o Faulty Invocations o API Latency o API Usage Across Geo Locations o API Usage Across User Agent o Stats on Applications o App Throttled Requests o Applications Created Over Time o Stats on Subscriptions o API Subscriptions o Developer Signups Over Time o Subscriptions Created Over Time
  • 52. Reports for API Creators & Publishers cont.
  • 53. Reports for API Subscribers o API Usage per Application o Top Users per Application o API Usage from Resource Path per Application o Faulty Invocation per Application
  • 54. Real-time API Behavior Analysis o Leverages real-time analytics streaming engine o Detects fraudulent token usage - Indication of lost tokens via alerts on abnormal token renewals and unseen source IP access (abrupt changes to geo-location) o Supports API product managers to provide better customer service o Alerts when API response time is outside normal parameters, indicating a potential SLA breach o Alerts when apps/users are throttled out for hitting the current subscription tier - potential opportunity to proactively propose a tier upgrade or to adjust SLAs o Detect when APIs are not used as expected o Identifies erratic behavior and supports capacity planning o Alerts when a sudden spike/drop in the request count in a given duration for an API resource – Possible indication of a system problem o Determining trends in increased response times – Indication of potential issues with APIs or backend system capacity
  • 55. Why Real-time Analytics for APIs ? o Blacklist & whitelist verifications in real time o Detect trends o Detect incoherencies in trends o Detect API calls sequences that you don’t want to allow o Detect non-usage scenarios ( raise alerts on poor usage of a certain API)
  • 56. Example – Real-time Fraud Detection
  • 57. Log Analysis o Log Analysis through reports on low-level system operations: o Log events - Overall statistics of the types of log events created in a given time period o Application errors - Breakdown of error log events based on exception category and error message o Artifact deployment stats - Number of artifacts deployed in a given duration o Login failures - No of failed login attempts in a given duration o No of API failures o Access token-related issues o Ability to view live log events on per-tenant basis