SlideShare a Scribd company logo
Reducing DevOps Burden with Git-based
CI/CD Pipelines for APIs
30th September, 2020
Hello!
Malintha Amarasinghe
Associate Technical Lead
malinthaa@wso2.com
Uvindra Dias Jayasinha
Technical Lead
uvindra@wso2.com
● Why CI/CD is needed
● Building a CI/CD strategy
● WSO2 API Controller
● Demo
⦿ A multi-environment CI/CD pipeline in action
Agenda
3
Why CI/CD is Needed?
Common Problems
5
Production Development
● Enabling API Management for APIs developed by API Developers
{ dev }
Common Problems
6
Production Development
● Enabling API Management for APIs developed by API Developers
● Automate API deployment from lower environments to upper environments
{ dev }
Common Problems
7
Production Development
● Enabling API Management for APIs developed by API Developers
● Automate API deployment from lower environments to upper environments
● Handling deployment automations for the APIs provisioned in different ways
{ dev }
{ dev }
Common Problems
8
Production Development
● Enabling API Management for APIs developed by API Developers
● Automate API deployment from lower environments to upper environments
● Handling deployment automations for the APIs provisioned with different ways
● Efficiently manage multiple API development projects and change propagation to upper environments
● Environment specific (endpoints) configurations
{ dev }
{ dev }
{ dev }
{ dev }
Building a CI/CD Strategy
Building a CI/CD Strategy
10
There is no silver bullet!
● First step of building a CI/CD process associates with
⦿ Organization culture
⦿ Governance structure and process
⦿ Team structure and dynamics
● Selection of proper CI/CD tools
● Selection of source code repository
CI/CD Process Overview
11
APICTL
API Controller
API Controller and its Features
13
● A command Line tool
● Export APIs from WSO2 API Manager into API projects
● Create API projects using OpenAPI specifications
apictl
API
MobileStoreAPI
export
apictl
initialize API
PetstoreAPI
Petstore
OpenAPI spec
API Controller and its Features
14
● Import API projects and create APIs in WSO2 API Manager
● Inject per-environment configuration
API
MobileStoreAPI
staging:
backend=stg.mobile.com
production:
backend=prod.mobile.com
ProductionStaging
stg.mobile.com
prod.mobile.com
apictl
import
apictl
import
API Controller and its Features
15
● Native integration with Git (new in 3.2.0)
API
Petstore API
Project
API
MobileStore API
Project
PetstoreAPI
MobileStoreAPI
API Controller and its Features
16
● Native integration with Git (new in 3.2.0)
PetstoreAPI
MobileStoreAPI
API
Petstore API
Project
API
MobileStore API
Project
+/- changed
{ dev }
commit
API Controller and its Features
17
● Native integration with Git (new in 3.2.0)
apictl
PetstoreAPI
MobileStoreAPI
API
Petstore API
Project
API
MobileStore API
Project
+/- changed
Deploy repository (vcs deploy)
{ dev }
commit
Demo Workflow
18
dev branch
master branch
PR
dev
environment
prod
environment
dev pipeline
prod pipeline
API
project
apictl
apictl
Demo
Question Time!
20
● Download and try-out
⦿ https://wso2.com/api-management
● Slack channel
⦿ https://wso2-apim.slack.com
● Github
⦿ https://github.com/wso2/carbon-apimgt
⦿ https://github.com/wso2/product-apim
● Demo material
⦿ https://github.com/myorg-x/cicd-demo-2020
21
wso2.com
Thanks!

More Related Content

PDF
[WSO2 Summit EMEA 2020] Building an Interactive API Marketplace
PDF
[WSO2 Summit Americas 2020] Automating an Integrated API Supply Chain Using a...
PDF
WSO2 User Group Bangalore Meetup
PDF
Cloud Native API Management : Microservices to APIs in Kubernetes
PDF
[WSO2 Summit APAC 2020] The Integrated API Supply Chain
PDF
[WSO2 Summit EMEA 2020] Accelerate and Secure Services Integration with WSO2 ...
PDF
[WSO2 Summit Americas 2020] APIs: The Products of the 21st Century.pdf
PDF
API Management for GraphQL
[WSO2 Summit EMEA 2020] Building an Interactive API Marketplace
[WSO2 Summit Americas 2020] Automating an Integrated API Supply Chain Using a...
WSO2 User Group Bangalore Meetup
Cloud Native API Management : Microservices to APIs in Kubernetes
[WSO2 Summit APAC 2020] The Integrated API Supply Chain
[WSO2 Summit EMEA 2020] Accelerate and Secure Services Integration with WSO2 ...
[WSO2 Summit Americas 2020] APIs: The Products of the 21st Century.pdf
API Management for GraphQL

What's hot (20)

PDF
[WSO2 Summit EMEA 2020] Fintech Ecosystems & Consumer Experiences: The Next G...
PDF
[WSO2 Summit EMEA 2020] Unified Endpoint Management APIs for Enterprise Devices
PDF
Digital Asset Governance for the Enterprise
PDF
Nurturing API Platforms with API Analytics
PDF
How APIs Transform Both Your Business and Technology
PDF
[WSO2 Summit APAC 2020} Creating Smart Endpoints Using Integration Microservices
PDF
[WSO2 Summit EMEA 2020] Experiencing the Benefits of API Driven Open Banking
PDF
[WSO2 Summit APAC 2020] Unified Endpoint Management APIs for Enterprise Devices
PDF
Migrate to the Latest WSO2 Micro Integrator to Unlock All-new Features
PDF
[WSO2 API Day Toronto 2019] Cloud-native Integration for the Enterprise
PDF
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
PDF
Productising your Microservices as API Products
PDF
Rate Limiting GQLs Using Depth and Complexity Analysis
PDF
Adaptive Scaling of Microgateways on Kubernetes
PDF
[Workshop] API Management in Microservices Architecture
PDF
Role of API Management in an API led Digital Economy
PDF
WSO2 Updates 2.0
PDF
[WSO2 Summit EMEA 2020] Enabling Data-Driven Scania Through Integration Trans...
PDF
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
PDF
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
[WSO2 Summit EMEA 2020] Fintech Ecosystems & Consumer Experiences: The Next G...
[WSO2 Summit EMEA 2020] Unified Endpoint Management APIs for Enterprise Devices
Digital Asset Governance for the Enterprise
Nurturing API Platforms with API Analytics
How APIs Transform Both Your Business and Technology
[WSO2 Summit APAC 2020} Creating Smart Endpoints Using Integration Microservices
[WSO2 Summit EMEA 2020] Experiencing the Benefits of API Driven Open Banking
[WSO2 Summit APAC 2020] Unified Endpoint Management APIs for Enterprise Devices
Migrate to the Latest WSO2 Micro Integrator to Unlock All-new Features
[WSO2 API Day Toronto 2019] Cloud-native Integration for the Enterprise
[WSO2 Summit Americas 2020] Creating Smart Endpoints Using Integration Micros...
Productising your Microservices as API Products
Rate Limiting GQLs Using Depth and Complexity Analysis
Adaptive Scaling of Microgateways on Kubernetes
[Workshop] API Management in Microservices Architecture
Role of API Management in an API led Digital Economy
WSO2 Updates 2.0
[WSO2 Summit EMEA 2020] Enabling Data-Driven Scania Through Integration Trans...
[APIdays NY] Managing the usage of Asynchronous APIs: What does it take?
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
Ad

Similar to Reducing DevOps Burden with Git-based CI/CD Pipelines for APIs (20)

PDF
WSO2 Screencast - How to Easily Build a Git-Based CI/CD Pipeline for your API...
PDF
Top CI/CD Tools Every QA Automation Engineer Should Use
PPTX
From Commit to Customer in a fully automated way | DevOps | Third Bridge Group
PPTX
The eBay-Way Meetup IL - CI/CD with Microservices
PDF
[WSO2Con EU 2017] Continuous Integration, Delivery and Deployment: Accelerate...
PDF
Getting to Walk with DevOps
PPTX
Implementing-Continuous-Integration-and-Deployment-CICD-Pipelines.pptx
PPTX
CI / CD pipeline presentation of SE.pptx
PPTX
Simplified CI/CD Flows for Salesforce via SFDX - Downunder Dreamin - Sydney
PPTX
Devops Days, 2019 - Charlotte
PDF
DevOps Spain 2019. Pedro Mendoza-AWS
PPTX
DevOps: Age Of CI/CD
PDF
Portable CI wGitLab and Github led by Gavin Pickin.pdf
PDF
DevOps Delivery Pipeline
PDF
Hyd virtual meetupslides11jul
PPTX
CI CD OPS WHATHAVEYOU
PPTX
CI/CD For The Enterprise
PPTX
Michigan IT Symposium 2017 - CI/CD Workflow Tutorial
PPTX
Devops phase-1
PDF
[apidays LIVE HONK KONG] - OAS to Managed API in Seconds
WSO2 Screencast - How to Easily Build a Git-Based CI/CD Pipeline for your API...
Top CI/CD Tools Every QA Automation Engineer Should Use
From Commit to Customer in a fully automated way | DevOps | Third Bridge Group
The eBay-Way Meetup IL - CI/CD with Microservices
[WSO2Con EU 2017] Continuous Integration, Delivery and Deployment: Accelerate...
Getting to Walk with DevOps
Implementing-Continuous-Integration-and-Deployment-CICD-Pipelines.pptx
CI / CD pipeline presentation of SE.pptx
Simplified CI/CD Flows for Salesforce via SFDX - Downunder Dreamin - Sydney
Devops Days, 2019 - Charlotte
DevOps Spain 2019. Pedro Mendoza-AWS
DevOps: Age Of CI/CD
Portable CI wGitLab and Github led by Gavin Pickin.pdf
DevOps Delivery Pipeline
Hyd virtual meetupslides11jul
CI CD OPS WHATHAVEYOU
CI/CD For The Enterprise
Michigan IT Symposium 2017 - CI/CD Workflow Tutorial
Devops phase-1
[apidays LIVE HONK KONG] - OAS to Managed API in Seconds
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)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
MYSQL Presentation for SQL database connectivity
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
cuic standard and advanced reporting.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Machine Learning_overview_presentation.pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Electronic commerce courselecture one. Pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Encapsulation theory and applications.pdf
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
Programs and apps: productivity, graphics, security and other tools
Encapsulation_ Review paper, used for researhc scholars
Unlocking AI with Model Context Protocol (MCP)
MYSQL Presentation for SQL database connectivity
A comparative analysis of optical character recognition models for extracting...
cuic standard and advanced reporting.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Dropbox Q2 2025 Financial Results & Investor Presentation
Machine Learning_overview_presentation.pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Review of recent advances in non-invasive hemoglobin estimation
Electronic commerce courselecture one. Pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Encapsulation theory and applications.pdf

Reducing DevOps Burden with Git-based CI/CD Pipelines for APIs

  • 1. Reducing DevOps Burden with Git-based CI/CD Pipelines for APIs 30th September, 2020
  • 3. ● Why CI/CD is needed ● Building a CI/CD strategy ● WSO2 API Controller ● Demo ⦿ A multi-environment CI/CD pipeline in action Agenda 3
  • 4. Why CI/CD is Needed?
  • 5. Common Problems 5 Production Development ● Enabling API Management for APIs developed by API Developers { dev }
  • 6. Common Problems 6 Production Development ● Enabling API Management for APIs developed by API Developers ● Automate API deployment from lower environments to upper environments { dev }
  • 7. Common Problems 7 Production Development ● Enabling API Management for APIs developed by API Developers ● Automate API deployment from lower environments to upper environments ● Handling deployment automations for the APIs provisioned in different ways { dev } { dev }
  • 8. Common Problems 8 Production Development ● Enabling API Management for APIs developed by API Developers ● Automate API deployment from lower environments to upper environments ● Handling deployment automations for the APIs provisioned with different ways ● Efficiently manage multiple API development projects and change propagation to upper environments ● Environment specific (endpoints) configurations { dev } { dev } { dev } { dev }
  • 9. Building a CI/CD Strategy
  • 10. Building a CI/CD Strategy 10 There is no silver bullet! ● First step of building a CI/CD process associates with ⦿ Organization culture ⦿ Governance structure and process ⦿ Team structure and dynamics ● Selection of proper CI/CD tools ● Selection of source code repository
  • 13. API Controller and its Features 13 ● A command Line tool ● Export APIs from WSO2 API Manager into API projects ● Create API projects using OpenAPI specifications apictl API MobileStoreAPI export apictl initialize API PetstoreAPI Petstore OpenAPI spec
  • 14. API Controller and its Features 14 ● Import API projects and create APIs in WSO2 API Manager ● Inject per-environment configuration API MobileStoreAPI staging: backend=stg.mobile.com production: backend=prod.mobile.com ProductionStaging stg.mobile.com prod.mobile.com apictl import apictl import
  • 15. API Controller and its Features 15 ● Native integration with Git (new in 3.2.0) API Petstore API Project API MobileStore API Project PetstoreAPI MobileStoreAPI
  • 16. API Controller and its Features 16 ● Native integration with Git (new in 3.2.0) PetstoreAPI MobileStoreAPI API Petstore API Project API MobileStore API Project +/- changed { dev } commit
  • 17. API Controller and its Features 17 ● Native integration with Git (new in 3.2.0) apictl PetstoreAPI MobileStoreAPI API Petstore API Project API MobileStore API Project +/- changed Deploy repository (vcs deploy) { dev } commit
  • 18. Demo Workflow 18 dev branch master branch PR dev environment prod environment dev pipeline prod pipeline API project apictl apictl
  • 19. Demo
  • 21. ● Download and try-out ⦿ https://wso2.com/api-management ● Slack channel ⦿ https://wso2-apim.slack.com ● Github ⦿ https://github.com/wso2/carbon-apimgt ⦿ https://github.com/wso2/product-apim ● Demo material ⦿ https://github.com/myorg-x/cicd-demo-2020 21