This document discusses the role of integration in an API-driven world. It covers why APIs are important for digital transformation and new revenue opportunities. It describes code-first and contract-first API design approaches. The document also discusses using an integration gateway as an "API facade" and how the WSO2 Enterprise Integrator can serve this role. Additional topics covered include API implementation strategies, a case study of a "Super City" implementing an API initiative, and capabilities of the WSO2 Enterprise Integrator and Micro Integrator for API-driven integration.
3. INTEGRATION SUMMIT 2019
Why APIs ?
● Key enabler of digital transformation
● Act as gateways to enterprise’s digital assets
● Opens up new revenue channels and expand existing revenue channels
● Build new consumer experiences within accelerated time frame
4. INTEGRATION SUMMIT 2019
Code-First vs Contract-First Designs
code-first contract-first
Client
A
Client
B
...
SDK SDK ...
API
ImpI
Front-end
Teams
Back-end
Team
1
2
3
Client
A
Client
B
...
SDK SDK ...
API
ImpI
Front-end
Teams
Back-end
Team
2
2
API
ImpI
API
ImpI
Mock Mock Mock 1
Data Services
5. INTEGRATION SUMMIT 2019
Integration Gateway as the “API Façade”
IoT
Mobile
Apps
Web
API Gateway
Integration Gateway
DatabaseLegacy System
Content
Management
CRM/HR/Inventory
Systems
SaaS
7. Orchestration APIs
Invoke
Policy / discovery
Enrich Publish DB write Transform Update
Policy
Orchestration API
CRM
API1 Queue
DB
REST
API
8. INTEGRATION SUMMIT 2019
WSO2 Enterprise Integrator as the “API Facade”
IoT
Mobile
Apps
Web
API Gateway
DatabaseLegacy System
Content
Management
CRM/HR/Inventory
Systems
SaaS
API A API B
Orchestration API
Orchestration APIs
System System
14. INTEGRATION SUMMIT 2019
Price Update
System
Inventory
System
Reservation
System
PoS
System
Store 1
Store 2
Store 3
Mobile App
Website
API
API
Delivery System
API
Payment System
API
Building Super City APIs
17. WSO2 Enterprise Integrator
A 100% open source, lean, light-weight, comprehensive, extensible, scalable
and high performance tool, that helps you solve all your integration needs.
• Configuration-driven
• It supports many industry standards for integration
• 100% coverage of all EIP patterns
19. Integration with Systems that Talk in Standard
Protocols
Support for a wide range of
standard protocols
• HTTP/HTTPS
• SOAP/REST
• JMS/AMQP/MQTT/Kafka
• Web Sockets
• FTP/SFTP/FTPS/SMB
• XML/JSON
• SMTP/IMAP
• OAuth/Kerberos/WS-Sec,XACML
• FIX/HL7
• And many more
SMTP
HTTP
JMS
FTP
Websocket
21. Integration with Systems that Talk in Non-
standard/Proprietary Protocols
• Built in support for well-known proprietary protocols
E.g. SAP
• Easy to extend the functionality to introduce new protocols
HTTP/API
Public Private Organization
Existing
System
Non Standard
Protocol
Connector
22. Integration with Files-based Systems
● WSO2 Enterprise Integrator supports a wide range of file transferring
protocols such as FTP, SFTP, FTPS, and SMB
○ Listen to a location, pick files, and invoke a web API using the content of the
files
File HTTP
Web API
Invocation
Existing Legacy
System
23. Data Integration
Building service abstractions on top of disparate data sources
SQL
SOAP/REST/OData
XML/JSON
Integrator Runtime
WSO2 EI
24. Business Processes
Processes/Workflows with BPMN, BPEL, Human Tasks
Application α
Application β
Defined processes and
workflows which may also
consist of human tasks
Business Process Execution
as a Service
WSO2 EI
Application N
Process Initiation
Results/Decisions
25. • Can be to used to create composite services using atomic services
• Separate distribution that can be used in a cloud native environment
• Users can use the same EI tooling to create artifacts
• Deploy few composite integration services per micro integration
• Command line tool for management tasks
• Small distribution size of 150 mb
• Fast startup time (5s)
https://github.com/wso2/micro-integrator
Micro Integrator
26. Micro-integrations
26
Consumer 1
API Service P API Service Q API Service R API Service S
Consumers
Consumer 2 Consumer 3
µ Service A
Proprietary &
Legacy
Systems
Web API /
SaaS
API Services/
Edge Services
Composite Service/
Integration Services
Core Services/
Atomic Services
µ Service I
µ Service H
µ Service J
µ Service E
µ Service C
µ Service D
µ Service G
µ Service B
µ Service F
API
Management
27. WSO2 EI Graphical
Tooling
• Drag and Drop Visual Editor
• Develop, Deploy, Test, Debug capabilities
from the editor
• Built-in micro Integrator runtime for testing
and debugging
• Export artifacts as a docker image with
micro integration
• Integration templates for rapid development
28. Integration Analytics
Dashboards for Transaction Analytics and Monitoring
Overall setup
• Overall Throughput (in TPS)
• Overall Message Count
APIs, proxies, endpoints specific
• Request Count
• Message Count
• Message Latency
• Explore Messages
• Explore Message Flows
29. • ELK Stack
• Prometheus (WIP)
Other Analytics Integrations
30. Continuous Integration and Continuous
Delivery
Continuous
Integration Server
Source Control
System
WSO2 EI
WSO2 EI
Environment 1
WSO2 EI
WSO2 EI
Environment 2
Continuous Test
Server
Integration
artifacts
IDE IDEIDE
31. Extension Points
• Script mediator
• Connectors
• Custom/Class mediators
• API handlers
• Custom tasks
• Custom inbound endpoints
• Custom XPath functions
• Message builders and formatters
• Transport listeners and senders
• Custom message stores/processors
32. Connectors
● Add-ons for Integrator runtime
● Can build your own connector
easily
○ Using SDKs
○ Using web APIs
● Over 170 ready-made
connectors available in WSO2
store
33. INTEGRATION SUMMIT 2019
● Why API Driven integrations are important
● API and Integration strategy and approaches
● WSO2 Integration suite functionality to support API driven Integration
● How to successfully implement API driven Integration
Conclusion