SlideShare a Scribd company logo
API-first Integration for Microservices
Kasun Indrasiri
Senior Director - Integration Architecture @ WSO2
Rob Blaauboer
WSO2 Trainer and Integration Consultant @ Yenlo
WSO2 and Yenlo – decade long partners
WSO2
Founded in 2005, WSO2 enables the
composable enterprise. Our open-
source, API-first, and decentralized
approach helps developers and
architects to be more productive
and rapidly build digital products to
meet demand.
Yenlo
Founded in 2007, Yenlo is the
leading, most experienced,
Platinum Value-Added Reseller of
WSO2, acting and delivering first
class integration services on a
global, worldwide level, with a
strong focus on digital
transformation.
About the presenters
Kasun Indrasiri
Senior Director –
Integration Architecture,
WSO2
Rob is Integration Consultant and WSO2 Trainer with more than 35 years IT
experience. In addition to his work, he is an active blogger working on a
number of articles in which he talks about WSO2 components and their
purpose especially aimed at non-technical readers.
Kasun is the senior director of Integration Architecture at WSO2, and an
architect with over nine years of experience in enterprise integration and
microservices. He is an author and an evangelist on microservices
architecture. He has authored the books 'Microservices for Enterprise'
(Apress: 2018 Q4) and 'Beginning WSO2 ESB' (Apress – Released in 2017).
He was also an architect and the product lead of WSO2 ESB and a
committer/PMC member of the Apache Software Foundation. He has
founded the Silicon Valley Microservice, APIs, and Integration Meetup, a
vendor-neutral microservices meetup in the San Francisco Bay area.
Rob Blaauboer
WSO2 Trainer & Integration Consultant,
Yenlo
What is Microservices Architecture?
● The foundation of MSA is about developing a single application as a suite of fine-
grained and independent services running in its own process, developed and deployed
independently.
Evolution of Microservices
● Monolithic Applications
Application 2
Application 1
Application 3
Application 4
Consumers
Evolution of Microservices
● API Management and SOA
Consumers
ESB
System
Service 1 Service 2 Service 3 Service 4 Service 5
API Management
Application server
Evolution of Microservices
● Breaking the Monolith…
Web Portal Mobile Apps Store Admin Web Storefrons Promotion Mgmt
API Management
Product Details Shopping Cart Order Mgt Payment Proc. Payment Proc.
Customer
Mgt.
Account Mgt Order Tracking Financial Mgt Fraud Detection Tax Mgt Inventory Mgt Allocation-Release
Self-Service Giftcards Promotions Pricing Subscription Credit service CRM Mgt Shipping
Data Warehouse Finance System Shipping Inventory Payment Gateway Cloud Services
E.g. Salesforce, Paypal etc
Breaking the monolithic integration
● Smart endpoint and dumb pipes
What is API-first Integration?
● The process of building reusable business
capabilities by connecting services, systems
and data, and offer them to consumers via
APIs.
API-first Integration Styles
● Top-Down : Start from APIs
○ Begins with API design for the business capability.
○ Integrations are created as part of the API
implementations.
API-first Integration Styles
● Bottom-Up : Start from API implementation/Integrations
○ Begins with building integration for the
corresponding business capability.
○ Then expose that integration as an API at the API
Gateway.
API Gateway
API-first integration for microservices
API Service P API Service Q API Service R API Service S
Consumers
μ Service A
Event Broker
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
API
Management
μ Service K
API Gateway
API-first integration for microservices
API Service P API Service Q API Service R API Service S
Consumers
μ Service A
Event Broker
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
API
Management
μ Service K
API-first Integration for
Microservices with WSO2
Use Case
JuMa Market Online Groceries
JuMa Market, a local supermarket chain wants to start with online
ordering for instore pickup and delivery to the home. This has always
been one of their goals but the current situation with Covid19 makes it
more urgent.
The APIs
JuMa has created a number of micro services divided into two
categories:
● Customer services (new client, order groceries, change order etc.)
● Internal services (add articles, add suppliers, order picking etc.)
Use Case : Online ordering, delivery and pickup
JuMa Market Setup
The setup for JuMa Market is an API Manager as a front to a
Kubernetes based Micro Integrator offering micro services.
API Manager front for developers
Micro Integrator microservices
Payment provider Stripe (mocked)
Mail service mocked
Supplier Order mocked
Restock mocked
Some JuMa Market Services
Customer APIs
● Add new client
● Change client
● Order groceries
● Change order
Internal APIs
● Add supplier
● Add article
● Get picklist
● Reorder
● Receive shipment
● Restock
Example JuMa Market Services - Customer APIs
Add new client
○ Context client
○ Resource /new
○ HTTP verb POST
Change client
○ Context client
○ Resource /change
○ HTTP verb PUT
Order groceries
○ Context order
○ Resource /new
○ HTTP verb POST
Change order
○ Context order
○ Resource /change
○ HTTP verb PUT
JuMa Market Services - Customer APIs – New Order
Payload
{"clientid" : "87-631-8815",
"amount": "127", "iban" : "FR61 2364 7700 85E5 PVMQ 1IVH 463",
"articles": [
{
"itemnumber": "g7551-90iq66",
"number": "1“ },
{
"itemnumber": "o3854-925c51",
"number": "1" },
{
"itemnumber": "h9811-56bg00",
"number": "1" }
]
}
JuMa Market Services - Customer APIs - Add new client
Payload
{ "id" : “12-345-6789"
"firstname" : “Jan",
"lastname" : “Doe",
"email" : “jdoe@w3.org",
"gender" : "Male",
"streetaddress" : "20982 Ruskin
Place",
" city": "Yevlakh",
"iban" : "BA77 0884 5374 5154
4900",
"balance": 383}
Use Case
Order Service
Order service receives an order, consisting of client identification and repetitive element that has the order and the
quantity of each order item in it. Via Payment service the account of the clients is charged.
Pick Service
Pick Service retrieves the order from the queue and sorts the order items based on aisle and area for the order person
to pick. When the order is picked the quantity is deducted from the in stock count. If the quantity falls below a certain
minimum a message for reordering is put on a queue. At the end of the day the orders are sent out.
Restock service
The restock queue will be read at the end of the day and a list will be compiled and send to distributors /
manufactures.
Notification
The client is notified in case of a pick or gets a confirmation in case of delivery.
Use Case Order
Send
order
Receive
Payment
required
On
queue
Pick
Order
Pick list
Order
readyClient
ReorderPayment
failed
Group 1 : Receive, Pay and Queue
Group 2:
Pick and Reorder
Group 3 :
Notify Client
API Manager Publisher
API Manager Developer Portal
Order API
Payment API
API-first Integration for Microservices
Receiving emails
DEMO
Q & A
Time for questions and answers!
Key take aways
● API-first integration allows you to build reusable business
capabilities by connecting services, systems and data, and offer
them to consumers via APIs.
● The API Manager is the gatekeeping frontend to your
microservices enabling management, monitoring and security
● Containerized Micro services allow you to quickly add or remove
capacity depending on demand
● In a heterogenous landscape, mediation and transformation enable
you to create microservices that interact with existing systems
Want to know more about API-first Integration or
microservices?
Reads our blogs on :
● https://blog.wso2.com
● https://www.yenlo.com/blog
Read our whitepapers
● https://wso2.com/whitepapers/
● https://www.yenlo.com/white-papers
THANK YOU
wso2.com

More Related Content

PDF
An Entry Point to Impactful Open Banking Architecture
PDF
Best Practices for Productizing APIs with API Management and Automated Testing
PDF
Which APIs? which business models - A real-world guide for African banks.
PDF
42Crunch Security Audit for WSO2 API Manager 3.1
PDF
OBIE Directory Integration - A Technical Deep Dive
PDF
Role of API Management in an API led Digital Economy
PDF
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
PDF
[apidays LIVE HONK KONG] - Building an Integrated Supply Chain for APIs
An Entry Point to Impactful Open Banking Architecture
Best Practices for Productizing APIs with API Management and Automated Testing
Which APIs? which business models - A real-world guide for African banks.
42Crunch Security Audit for WSO2 API Manager 3.1
OBIE Directory Integration - A Technical Deep Dive
Role of API Management in an API led Digital Economy
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
[apidays LIVE HONK KONG] - Building an Integrated Supply Chain for APIs

What's hot (20)

PDF
[WSO2 Summit EMEA 2020] Experiencing the Benefits of API Driven Open Banking
PDF
How WSO2 API Manager Supports the Ministry of Hajj and Umrah
PDF
Open Banking and PSD2: Are your APIs ready for external testing?
PDF
Which ap is which business models_ a real-world guide for banks in sri lanka
PDF
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
PPTX
Frictionless Adoption of Payment Services Directive (PSD2) with WSO2
PDF
[WSO2 Summit Chicago 2018] Welcome Address: Integration Agility
PDF
[WSO2 Summit EMEA 2020] APIs: The Products of the 21st Century
PDF
[WSO2 Summit EMEA 2020] Moving to a Value Chain from a Supply Chain
PDF
Message based microservices architectures driven with docker
PDF
[APIdays INTERFACE 2021] Authentication and Authorization Best Practices for ...
PDF
Digital Asset Governance for the Enterprise
PDF
Does your API need to be PCI Compliant?
PDF
[WSO2 Summit EMEA 2020] Fintech Ecosystems & Consumer Experiences: The Next G...
PDF
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
PPTX
apidays LIVE New York 2021 - Simplify Open Policy Agent with Styra DAS by Tim...
PDF
[WSO2 Summit Americas 2020] CIAM and Securing the Integrated API Supply Chain
PDF
[WSO2 Summit APAC 2020] APIs: The Products of the 21st Century
PDF
[WSO2 Summit EMEA 2020] CIAM and Securing the Integrated API Supply Chain
PDF
Open Banking via API Connect & DataPower
[WSO2 Summit EMEA 2020] Experiencing the Benefits of API Driven Open Banking
How WSO2 API Manager Supports the Ministry of Hajj and Umrah
Open Banking and PSD2: Are your APIs ready for external testing?
Which ap is which business models_ a real-world guide for banks in sri lanka
[APIdays Singapore 2019] Managing the API lifecycle with Open Source Technolo...
Frictionless Adoption of Payment Services Directive (PSD2) with WSO2
[WSO2 Summit Chicago 2018] Welcome Address: Integration Agility
[WSO2 Summit EMEA 2020] APIs: The Products of the 21st Century
[WSO2 Summit EMEA 2020] Moving to a Value Chain from a Supply Chain
Message based microservices architectures driven with docker
[APIdays INTERFACE 2021] Authentication and Authorization Best Practices for ...
Digital Asset Governance for the Enterprise
Does your API need to be PCI Compliant?
[WSO2 Summit EMEA 2020] Fintech Ecosystems & Consumer Experiences: The Next G...
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
apidays LIVE New York 2021 - Simplify Open Policy Agent with Styra DAS by Tim...
[WSO2 Summit Americas 2020] CIAM and Securing the Integrated API Supply Chain
[WSO2 Summit APAC 2020] APIs: The Products of the 21st Century
[WSO2 Summit EMEA 2020] CIAM and Securing the Integrated API Supply Chain
Open Banking via API Connect & DataPower
Ad

Similar to API-first Integration for Microservices (20)

PDF
[WSO2 API Manager Community Call] Expose Services as Managed APIs
PDF
[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...
PDF
API Adoption API Conference Berlin - Hans Bot
PDF
Combining WSO2 API Manager with WSO2 BAM for billing in the energy industry
PPT
Webinar combining WSO2 API Manager with WSO2 BAM for billing in the energy in...
PPTX
API Management Within a Microservices Architecture
PDF
API Management within a Microservice Architecture
PDF
[WSO2Con USA 2018] APIs and Microservices
PDF
João Emilio Santos Bento da Silva - Estratégia de APIs
PDF
[WSO2Con Asia 2018] APIs and Microservices
PDF
WSO2 User Group Bangalore Meetup
PDF
[Workshop] API Management in Microservices Architecture
PDF
How to Choose the Right Technology, Framework or Tool to Build Microservices
PPTX
API designing with WSO2 API Manager
PDF
[Workshop] API-driven Integration
PDF
WSO2Con ASIA 2016: Building Apps Using WSO2 App Dev Platform
PDF
WSO2 API Microgateway for Easier Development and Greater Scalability
PPTX
WSO2 Workshop , Sydney Australia.
PPTX
WSO2 Sydney Workshop 2018
PDF
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
[WSO2 API Manager Community Call] Expose Services as Managed APIs
[WSO2 Integration Summit Nairobi 2019] Role of Integration in an API Driven W...
API Adoption API Conference Berlin - Hans Bot
Combining WSO2 API Manager with WSO2 BAM for billing in the energy industry
Webinar combining WSO2 API Manager with WSO2 BAM for billing in the energy in...
API Management Within a Microservices Architecture
API Management within a Microservice Architecture
[WSO2Con USA 2018] APIs and Microservices
João Emilio Santos Bento da Silva - Estratégia de APIs
[WSO2Con Asia 2018] APIs and Microservices
WSO2 User Group Bangalore Meetup
[Workshop] API Management in Microservices Architecture
How to Choose the Right Technology, Framework or Tool to Build Microservices
API designing with WSO2 API Manager
[Workshop] API-driven Integration
WSO2Con ASIA 2016: Building Apps Using WSO2 App Dev Platform
WSO2 API Microgateway for Easier Development and Greater Scalability
WSO2 Workshop , Sydney Australia.
WSO2 Sydney Workshop 2018
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
Ad

More from WSO2 (20)

PDF
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
PDF
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
PDF
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
PDF
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
PDF
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
PDF
Platformless Modernization with Choreo.pdf
PDF
Application Modernization with Choreo for the BFSI Sector
PDF
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
PDF
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
PPTX
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
PPTX
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
PPTX
WSO2Con 2025 - Building Secure Customer Experience Apps
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
PPTX
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
PPTX
WSO2Con 2025 - Architecting Cloud-Native Applications
PDF
Mastering Intelligent Digital Experiences with Platformless Modernization
PDF
Accelerate Enterprise Software Engineering with Platformless
PDF
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
Platformless Modernization with Choreo.pdf
Application Modernization with Choreo for the BFSI Sector
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Customer Experience Apps
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2Con 2025 - Architecting Cloud-Native Applications
Mastering Intelligent Digital Experiences with Platformless Modernization
Accelerate Enterprise Software Engineering with Platformless
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
KodekX | Application Modernization Development
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
A Presentation on Artificial Intelligence
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Encapsulation_ Review paper, used for researhc scholars
KodekX | Application Modernization Development
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
NewMind AI Monthly Chronicles - July 2025
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
MYSQL Presentation for SQL database connectivity
20250228 LYD VKU AI Blended-Learning.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
The AUB Centre for AI in Media Proposal.docx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Unlocking AI with Model Context Protocol (MCP)
A Presentation on Artificial Intelligence
Big Data Technologies - Introduction.pptx
Digital-Transformation-Roadmap-for-Companies.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

API-first Integration for Microservices

  • 1. API-first Integration for Microservices Kasun Indrasiri Senior Director - Integration Architecture @ WSO2 Rob Blaauboer WSO2 Trainer and Integration Consultant @ Yenlo
  • 2. WSO2 and Yenlo – decade long partners WSO2 Founded in 2005, WSO2 enables the composable enterprise. Our open- source, API-first, and decentralized approach helps developers and architects to be more productive and rapidly build digital products to meet demand. Yenlo Founded in 2007, Yenlo is the leading, most experienced, Platinum Value-Added Reseller of WSO2, acting and delivering first class integration services on a global, worldwide level, with a strong focus on digital transformation.
  • 3. About the presenters Kasun Indrasiri Senior Director – Integration Architecture, WSO2 Rob is Integration Consultant and WSO2 Trainer with more than 35 years IT experience. In addition to his work, he is an active blogger working on a number of articles in which he talks about WSO2 components and their purpose especially aimed at non-technical readers. Kasun is the senior director of Integration Architecture at WSO2, and an architect with over nine years of experience in enterprise integration and microservices. He is an author and an evangelist on microservices architecture. He has authored the books 'Microservices for Enterprise' (Apress: 2018 Q4) and 'Beginning WSO2 ESB' (Apress – Released in 2017). He was also an architect and the product lead of WSO2 ESB and a committer/PMC member of the Apache Software Foundation. He has founded the Silicon Valley Microservice, APIs, and Integration Meetup, a vendor-neutral microservices meetup in the San Francisco Bay area. Rob Blaauboer WSO2 Trainer & Integration Consultant, Yenlo
  • 4. What is Microservices Architecture? ● The foundation of MSA is about developing a single application as a suite of fine- grained and independent services running in its own process, developed and deployed independently.
  • 5. Evolution of Microservices ● Monolithic Applications Application 2 Application 1 Application 3 Application 4 Consumers
  • 6. Evolution of Microservices ● API Management and SOA Consumers ESB System Service 1 Service 2 Service 3 Service 4 Service 5 API Management Application server
  • 7. Evolution of Microservices ● Breaking the Monolith… Web Portal Mobile Apps Store Admin Web Storefrons Promotion Mgmt API Management Product Details Shopping Cart Order Mgt Payment Proc. Payment Proc. Customer Mgt. Account Mgt Order Tracking Financial Mgt Fraud Detection Tax Mgt Inventory Mgt Allocation-Release Self-Service Giftcards Promotions Pricing Subscription Credit service CRM Mgt Shipping Data Warehouse Finance System Shipping Inventory Payment Gateway Cloud Services E.g. Salesforce, Paypal etc
  • 8. Breaking the monolithic integration ● Smart endpoint and dumb pipes
  • 9. What is API-first Integration? ● The process of building reusable business capabilities by connecting services, systems and data, and offer them to consumers via APIs.
  • 10. API-first Integration Styles ● Top-Down : Start from APIs ○ Begins with API design for the business capability. ○ Integrations are created as part of the API implementations.
  • 11. API-first Integration Styles ● Bottom-Up : Start from API implementation/Integrations ○ Begins with building integration for the corresponding business capability. ○ Then expose that integration as an API at the API Gateway.
  • 12. API Gateway API-first integration for microservices API Service P API Service Q API Service R API Service S Consumers μ Service A Event Broker 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 API Management μ Service K
  • 13. API Gateway API-first integration for microservices API Service P API Service Q API Service R API Service S Consumers μ Service A Event Broker 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 API Management μ Service K
  • 15. Use Case JuMa Market Online Groceries
  • 16. JuMa Market, a local supermarket chain wants to start with online ordering for instore pickup and delivery to the home. This has always been one of their goals but the current situation with Covid19 makes it more urgent. The APIs JuMa has created a number of micro services divided into two categories: ● Customer services (new client, order groceries, change order etc.) ● Internal services (add articles, add suppliers, order picking etc.) Use Case : Online ordering, delivery and pickup
  • 17. JuMa Market Setup The setup for JuMa Market is an API Manager as a front to a Kubernetes based Micro Integrator offering micro services. API Manager front for developers Micro Integrator microservices Payment provider Stripe (mocked) Mail service mocked Supplier Order mocked Restock mocked
  • 18. Some JuMa Market Services Customer APIs ● Add new client ● Change client ● Order groceries ● Change order Internal APIs ● Add supplier ● Add article ● Get picklist ● Reorder ● Receive shipment ● Restock
  • 19. Example JuMa Market Services - Customer APIs Add new client ○ Context client ○ Resource /new ○ HTTP verb POST Change client ○ Context client ○ Resource /change ○ HTTP verb PUT Order groceries ○ Context order ○ Resource /new ○ HTTP verb POST Change order ○ Context order ○ Resource /change ○ HTTP verb PUT
  • 20. JuMa Market Services - Customer APIs – New Order Payload {"clientid" : "87-631-8815", "amount": "127", "iban" : "FR61 2364 7700 85E5 PVMQ 1IVH 463", "articles": [ { "itemnumber": "g7551-90iq66", "number": "1“ }, { "itemnumber": "o3854-925c51", "number": "1" }, { "itemnumber": "h9811-56bg00", "number": "1" } ] }
  • 21. JuMa Market Services - Customer APIs - Add new client Payload { "id" : “12-345-6789" "firstname" : “Jan", "lastname" : “Doe", "email" : “jdoe@w3.org", "gender" : "Male", "streetaddress" : "20982 Ruskin Place", " city": "Yevlakh", "iban" : "BA77 0884 5374 5154 4900", "balance": 383}
  • 22. Use Case Order Service Order service receives an order, consisting of client identification and repetitive element that has the order and the quantity of each order item in it. Via Payment service the account of the clients is charged. Pick Service Pick Service retrieves the order from the queue and sorts the order items based on aisle and area for the order person to pick. When the order is picked the quantity is deducted from the in stock count. If the quantity falls below a certain minimum a message for reordering is put on a queue. At the end of the day the orders are sent out. Restock service The restock queue will be read at the end of the day and a list will be compiled and send to distributors / manufactures. Notification The client is notified in case of a pick or gets a confirmation in case of delivery.
  • 23. Use Case Order Send order Receive Payment required On queue Pick Order Pick list Order readyClient ReorderPayment failed Group 1 : Receive, Pay and Queue Group 2: Pick and Reorder Group 3 : Notify Client
  • 30. DEMO
  • 31. Q & A Time for questions and answers!
  • 32. Key take aways ● API-first integration allows you to build reusable business capabilities by connecting services, systems and data, and offer them to consumers via APIs. ● The API Manager is the gatekeeping frontend to your microservices enabling management, monitoring and security ● Containerized Micro services allow you to quickly add or remove capacity depending on demand ● In a heterogenous landscape, mediation and transformation enable you to create microservices that interact with existing systems
  • 33. Want to know more about API-first Integration or microservices? Reads our blogs on : ● https://blog.wso2.com ● https://www.yenlo.com/blog Read our whitepapers ● https://wso2.com/whitepapers/ ● https://www.yenlo.com/white-papers