Integration in general plays a significant role in forming digital industries and in digitally transforming existing industries. To this end, WSO2 Integration Cloud offers end-to-end integration capabilities based on the most common integration use-cases, patterns, and best practices known in the industry for many years. This slide deck demonstrates some selected known integration scenarios highlighting how a typical organization could utilize WSO2 Integration Cloud effectively by following an iterative approach.
How to Troubleshoot Apps for the Modern Connected Worker
[WSO2Con EU 2017] WSO2 Integration Cloud: End-to-End Demonstration Including a Hybrid Scenario
1. Senior Solutions Engineer
WSO2 Integration Cloud: End-to-End
Demonstration Including a
Hybrid Scenario
Chathura Kulasinghe
2. Demo setup: Business use-case
Collection of event data using sensors
- Sensors collect data when trains pass by
- Collected data is saved in flat files
- On-premise integration solution to
- Read files
- Extract records
- Send to the cloud
- Cloud integration solution to
- Persist records in the database
- Invoke web services
- Twitter update on train delays
Image source : http://www.itpro.co.uk
3. WSO2 Public Integration Cloud
Demo setup explained
Data service: Exposes CRUD in web service format
HTTP
SOAP/REST
XML/JSON
DS
4. WSO2 Public Integration Cloud
Demo setup explained
Composite API: Exposes mediation as an API
DS
Delay Check MicroServiceAPI
HTTP
REST
JSON
Connector
5. Mediation flow explained: Cloud
Composite API : Exposes mediation as an API
Acknowledge
Incoming Message
Extract Values
Assign to
Variables
Clone to 2
flows
Build Data
Service Payload
Invoke Data
Service
Build Delay
Checker URI
Invoke Delay
Checker Service
HTTP/POST (SOAP/XML )
HTTP/GET
(REST/JSON)
Extract Values
from Response
Check if Delay
Reported
Twitter Status
Update
HTTP/GET (REST/JSON)
YES
Flow 1
Flow 2
Terminate
NO
6. • Payload construction (Payload Factory)
• Parallel flows (Clone)
• HTTP + REST / SOAP + XML / JSON
• Conditional-check and routing (Switch)
• Service chaining
• Connectors (Twitter)
Capabilities Demonstrated
“railway-sensor-data” API on Public Integration Cloud
7. Demo setup explained
On-premise setups: Read sensor data and upload to the cloud
Railway
sensors
WSO2 Enterprise
Integrator
WSO2 Enterprise
Integrator
WSO2 Enterprise
Integrator
Fetch
CSV files
WSO2 Public
Integration Cloud
8. Mediation flow explained: On-premise
Inbound endpoint: Files read, Iterator, Invoke Cloud API
Read CSV file Iterate Records
Extract Values
Build Composite
API Payload
Invoke
Composite API
HTTP/POST (REST/JSON)
WSO2 Public
Integration Cloud
9. • File transport + CSV / XML / JSON
• Multiple Records Iteration (Clone)
• Payload construction (Payload Factory)
• HTTP + REST + JSON
Capabilities demonstrated
“ensor-data-file-read” Inbound-Endpoint on-premise