SlideShare a Scribd company logo
1 of 12
Download to read offline
© 2018 Capgemini. All rights reserved.1© 2018 Capgemini. All rights reserved.
API Design for Microservices with Apiary
Luis Weir
Chief Architect – PaaS @ Capgemini
@luisw19
© 2018 Capgemini. All rights reserved.2
© 2018 Capgemini. All rights reserved.3
About me
Luis Weir
Chief Architect at Capgemini UK
Ace Director & Developer Champion
luis.weir@capgemini.com
uk.linkedin.com/in/lweir
@luisw19
http://www.soa4u.co.uk
apiplatform.cloud/
Goes to Print Q2 2018
tinyurl.com/eapim18
Goes to Print Q3 2018
API
Thought Leadership
Award
PaaS Community
Split, April, 2018
Best New UK Speaker
Birmingham, Dec, 2016
Cloud
Contribution Award
PaaS Community
Valencia, March, 2016
API
Thought Leadership
Award
PaaS Community
March, 2018
• The 7 Deadly Sins of API Design
• Setting the vision, strategy and direction — the CTO’s role
• How can you design, deploy and manage your APIs?
• The Spotify's Engineering Culture. My interpretation and summary
• A comparison of API Gateways communication styles
• Is BPM Dead, Long Live Microservices?
• Five Minutes with Luis Weir
• 2nd vs 3rd Generation API Platforms - A Comprehensive
Comparison
• Podcast: Are Microservices and APIs Becoming SOA 2.0?
• 3rd-Generation API Management: From Proxies to Micro-Gateways
• Oracle API Platform Cloud Service Overview
Latest articles:
© 2018 Capgemini. All rights reserved.4 © 2018 Capgemini. All rights reserved.4
Agenda
APIs & API Economy1
Case Study 12
Case Study 23
© 2018 Capgemini. All rights reserved.5
Application Programming Interfaces (APIs) are doors to
information and functionality.
They are an organisation’s main entrance to digital services and
offerings
© 2018 Capgemini. All rights reserved.6
But even doors can be poorly designed…
© 2018 Capgemini. All rights reserved.7 7
API-design first to the rescue!
© 2018 Capgemini. All rights reserved.8
API-design first
Feedback
Design Build &
Validate
Package
& Deploy
Try Continuous
Test
Feedback
RunAnalyse
Feedback
© 2018 Capgemini. All rights reserved.9 9© 2018 Capgemini. All rights reserved.
Design
• API Blueprint (APIB)
• Open API Spec (OAS)
• Team compliance checks
(ootb and custom)
• Templating
• Collaborative
• GitHub sync
• Rich CLI
Mock Validate
CapabilitiesWhy Apiary?
• Auto-generates mocks
• Client code generation in
multiple langs
• Runtime agnostic. Pre-
integrated with Oracle API
Platform but can be used
against any runtime
• Templating
• Language agnostic
REST API validation
tool
• APIB and OAS support
• Open source
Design Try Build &
Validate
© 2018 Capgemini. All rights reserved.10
The demo (https://github.com/luisw19/aptd_2018)
Feedback
Design Build &
Validate
Package & DeployTry Continuous Test
01
• Create API Blueprint/OAS
in Apiary
• Use Apiary Mock endpoints
to publish an API through
the Oracle API platform
• API docs and mock
endpoints available in the
Dev Portal
• JET designers/developers
try the API and give
feedback
• Build backend service
using tech of choice
• Apply Dredd to validate
endpoints against spec
02 03 04
• Stablish a CICD pipeline
for continuously and
consistently packaging
and deploying releases,
e.g. using Wercker
• Set up functional
regression testing (e.g.
using API Fortress or
Postman)
• Continuously validate
endpoints using Dredd
05
© 2018 Capgemini. All rights reserved.11
Benefits of API-design first
Avoid rework: feedback early in the
cycle
By getting feedback very early in the
lifecycle, changes of rework late in the
cycle are slim. Saving time and cost.
1
Parallel development: Decouple App
dev from Service dev
By defining APIs with API Blueprints or
Swagger, app dev and service dev can
occur in parallel.
Up-to-date API documentation
The API is only as good as it
documentation. Continuous validation
using Dredd add enormous value.
3
2
© 2018 Capgemini. All rights reserved.12
With more than 190,000 people, Capgemini is present in over 40 countries and
celebrates its 50th Anniversary year in 2018. A global leader in consulting, technology
and outsourcing services, the Group reported 2016 global revenues of EUR 12.5 billion.
Together with its clients, Capgemini creates and delivers business, technology and
digital solutions that fit their needs, enabling them to achieve innovation and
competitiveness. A deeply multicultural organization, Capgemini has developed its own
way of working, the Collaborative Business Experience™, and draws on Rightshore®, its
worldwide delivery model.
About Capgemini
Learn more about us at
www.capgemini.com
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group.
Copyright © 2018 Capgemini. All rights reserved.
Rightshore® is a trademark belonging to Capgemini.
This message is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please
notify the sender immediately and delete all copies of this message.

More Related Content

What's hot

Telco Innovation with APIs - Need for speed (Webcast)
Telco Innovation with APIs - Need for speed (Webcast) Telco Innovation with APIs - Need for speed (Webcast)
Telco Innovation with APIs - Need for speed (Webcast)
Apigee | Google Cloud
 

What's hot (20)

ApI first Microservices meetup
ApI first Microservices meetup ApI first Microservices meetup
ApI first Microservices meetup
 
API First - Best Practices for consistent API management
API First - Best Practices for consistent API managementAPI First - Best Practices for consistent API management
API First - Best Practices for consistent API management
 
API first Design and Microservices
API first Design and MicroservicesAPI first Design and Microservices
API first Design and Microservices
 
APIdays Helsinki 2019 - How to Design and Publish API Products that Your Cust...
APIdays Helsinki 2019 - How to Design and Publish API Products that Your Cust...APIdays Helsinki 2019 - How to Design and Publish API Products that Your Cust...
APIdays Helsinki 2019 - How to Design and Publish API Products that Your Cust...
 
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...INTERFACE, by apidays  - The 8 Key Components of a Modern API Stack by Iddo G...
INTERFACE, by apidays - The 8 Key Components of a Modern API Stack by Iddo G...
 
apidays LIVE Paris 2021 - API design is where culture and tech meet each othe...
apidays LIVE Paris 2021 - API design is where culture and tech meet each othe...apidays LIVE Paris 2021 - API design is where culture and tech meet each othe...
apidays LIVE Paris 2021 - API design is where culture and tech meet each othe...
 
How to scale 1000s of API Integrations and not lose your mind
How to scale 1000s of API Integrations and not lose your mind How to scale 1000s of API Integrations and not lose your mind
How to scale 1000s of API Integrations and not lose your mind
 
apidays LIVE Paris - Bringing Cloud Native to a world of SaaS by Robert Wunde...
apidays LIVE Paris - Bringing Cloud Native to a world of SaaS by Robert Wunde...apidays LIVE Paris - Bringing Cloud Native to a world of SaaS by Robert Wunde...
apidays LIVE Paris - Bringing Cloud Native to a world of SaaS by Robert Wunde...
 
[WSO2Con EU 2018] Unlocking Innovation with API Management While Breaking Dow...
[WSO2Con EU 2018] Unlocking Innovation with API Management While Breaking Dow...[WSO2Con EU 2018] Unlocking Innovation with API Management While Breaking Dow...
[WSO2Con EU 2018] Unlocking Innovation with API Management While Breaking Dow...
 
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovixapidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
apidays LIVE Paris 2021 - Who writes the Docs? by Laura Vass, Pronovix
 
APIForce presentation 28th of January
APIForce presentation 28th of JanuaryAPIForce presentation 28th of January
APIForce presentation 28th of January
 
API Management and why it matters (Oracle API Platform)
API Management and why it matters (Oracle API Platform) API Management and why it matters (Oracle API Platform)
API Management and why it matters (Oracle API Platform)
 
[WSO2Con EU 2018] Systems Integration at the Leading Global Luxury Marketplace
[WSO2Con EU 2018] Systems Integration at the Leading Global Luxury Marketplace[WSO2Con EU 2018] Systems Integration at the Leading Global Luxury Marketplace
[WSO2Con EU 2018] Systems Integration at the Leading Global Luxury Marketplace
 
apidays LIVE Paris - Interface Economy: The true potential of APIs by Kristof...
apidays LIVE Paris - Interface Economy: The true potential of APIs by Kristof...apidays LIVE Paris - Interface Economy: The true potential of APIs by Kristof...
apidays LIVE Paris - Interface Economy: The true potential of APIs by Kristof...
 
The API Economy: Adding Business Value
The API Economy: Adding Business ValueThe API Economy: Adding Business Value
The API Economy: Adding Business Value
 
Telco Innovation with APIs - Need for speed (Webcast)
Telco Innovation with APIs - Need for speed (Webcast) Telco Innovation with APIs - Need for speed (Webcast)
Telco Innovation with APIs - Need for speed (Webcast)
 
Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
Lean and Business oriented method at APIOps Cycles APIDays Finland 2019 Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
Lean and Business oriented method at APIOps Cycles APIDays Finland 2019
 
apidays LIVE Helsinki & North - Bye bye to the insurance monolith - case Eule...
apidays LIVE Helsinki & North - Bye bye to the insurance monolith - case Eule...apidays LIVE Helsinki & North - Bye bye to the insurance monolith - case Eule...
apidays LIVE Helsinki & North - Bye bye to the insurance monolith - case Eule...
 
APIdays Helsinki 2019 - Creating a Culture of Innovation with Jesse Martin, G...
APIdays Helsinki 2019 - Creating a Culture of Innovation with Jesse Martin, G...APIdays Helsinki 2019 - Creating a Culture of Innovation with Jesse Martin, G...
APIdays Helsinki 2019 - Creating a Culture of Innovation with Jesse Martin, G...
 
WSO2 - Yenlo Integration Summit Stuttgart 15 May 2019 - Enabling Enterprise I...
WSO2 - Yenlo Integration Summit Stuttgart 15 May 2019 - Enabling Enterprise I...WSO2 - Yenlo Integration Summit Stuttgart 15 May 2019 - Enabling Enterprise I...
WSO2 - Yenlo Integration Summit Stuttgart 15 May 2019 - Enabling Enterprise I...
 

Similar to API Design for Microservices with Apiary

Similar to API Design for Microservices with Apiary (20)

The next generation of ap is luis weir.cwin18.telford
The next generation of ap is   luis weir.cwin18.telfordThe next generation of ap is   luis weir.cwin18.telford
The next generation of ap is luis weir.cwin18.telford
 
API Management - Practical Enterprise Implementation Experience
API Management - Practical Enterprise Implementation ExperienceAPI Management - Practical Enterprise Implementation Experience
API Management - Practical Enterprise Implementation Experience
 
London Oracle Developer Meetup - June 18 - Drones with APIs
London Oracle Developer Meetup - June 18 - Drones with APIsLondon Oracle Developer Meetup - June 18 - Drones with APIs
London Oracle Developer Meetup - June 18 - Drones with APIs
 
Apiary - A Developers Perspective
Apiary - A Developers PerspectiveApiary - A Developers Perspective
Apiary - A Developers Perspective
 
Modernise your IT landscape with APIs and Microservices
Modernise your IT landscape with APIs and MicroservicesModernise your IT landscape with APIs and Microservices
Modernise your IT landscape with APIs and Microservices
 
CWIN17 telford api management, practical implementation experience - david ru...
CWIN17 telford api management, practical implementation experience - david ru...CWIN17 telford api management, practical implementation experience - david ru...
CWIN17 telford api management, practical implementation experience - david ru...
 
CWIN17 telford application integration and ap is - lisa eckersley
CWIN17 telford   application integration and ap is - lisa eckersleyCWIN17 telford   application integration and ap is - lisa eckersley
CWIN17 telford application integration and ap is - lisa eckersley
 
API Management: Unlock the Value of Your Unique Assets with a Robust API
API Management: Unlock the Value of Your Unique Assets with a Robust APIAPI Management: Unlock the Value of Your Unique Assets with a Robust API
API Management: Unlock the Value of Your Unique Assets with a Robust API
 
apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays Australia 2022 - Accelerate business innovation by improving API prog...apidays Australia 2022 - Accelerate business innovation by improving API prog...
apidays Australia 2022 - Accelerate business innovation by improving API prog...
 
Apidays Paris 2023 - The Federated Future, Tim Biedenkapp, adorsys
Apidays Paris 2023 - The Federated Future, Tim Biedenkapp, adorsysApidays Paris 2023 - The Federated Future, Tim Biedenkapp, adorsys
Apidays Paris 2023 - The Federated Future, Tim Biedenkapp, adorsys
 
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
API360 – A How-To Guide for Enterprise APIs - Learn how to position your ente...
 
A Snapshot of API Design Trends In 2019
A Snapshot of API Design Trends In 2019A Snapshot of API Design Trends In 2019
A Snapshot of API Design Trends In 2019
 
API Products: Who, What, Where, When, Why, and How?
API Products: Who, What, Where, When, Why, and How?API Products: Who, What, Where, When, Why, and How?
API Products: Who, What, Where, When, Why, and How?
 
Getting the most from your API management platform: A case study
Getting the most from your API management platform: A case studyGetting the most from your API management platform: A case study
Getting the most from your API management platform: A case study
 
APIs in the Enterprise - Lessons Learned
APIs in the Enterprise - Lessons Learned APIs in the Enterprise - Lessons Learned
APIs in the Enterprise - Lessons Learned
 
BATBern46_Syncier Marketplace.pdf
BATBern46_Syncier Marketplace.pdfBATBern46_Syncier Marketplace.pdf
BATBern46_Syncier Marketplace.pdf
 
Enforcing Your Organization's API Design Standards with SwaggerHub
Enforcing Your Organization's API Design Standards with SwaggerHubEnforcing Your Organization's API Design Standards with SwaggerHub
Enforcing Your Organization's API Design Standards with SwaggerHub
 
SAP Cloud Platform API Management Technical Brief
SAP Cloud Platform API Management Technical BriefSAP Cloud Platform API Management Technical Brief
SAP Cloud Platform API Management Technical Brief
 
APIs as a Product Strategy
APIs as a Product StrategyAPIs as a Product Strategy
APIs as a Product Strategy
 
Bringing Partners, Teams & Systems Together through APIs
Bringing Partners, Teams & Systems Together through APIsBringing Partners, Teams & Systems Together through APIs
Bringing Partners, Teams & Systems Together through APIs
 

More from Pronovix

Inclusive, Accessible Tech: Bias-Free Language in Code and Configurations
Inclusive, Accessible Tech: Bias-Free Language in Code and ConfigurationsInclusive, Accessible Tech: Bias-Free Language in Code and Configurations
Inclusive, Accessible Tech: Bias-Free Language in Code and Configurations
Pronovix
 
Creating API documentation for international communities
Creating API documentation for international communitiesCreating API documentation for international communities
Creating API documentation for international communities
Pronovix
 
Docs-as-Code: Evolving the API Documentation Experience
Docs-as-Code: Evolving the API Documentation ExperienceDocs-as-Code: Evolving the API Documentation Experience
Docs-as-Code: Evolving the API Documentation Experience
Pronovix
 

More from Pronovix (20)

By the time they're reading the docs, it's already too late
By the time they're reading the docs, it's already too lateBy the time they're reading the docs, it's already too late
By the time they're reading the docs, it's already too late
 
Optimizing Dev Portals with Analytics and Feedback
Optimizing Dev Portals with Analytics and FeedbackOptimizing Dev Portals with Analytics and Feedback
Optimizing Dev Portals with Analytics and Feedback
 
Success metrics when launching your first developer portal
Success metrics when launching your first developer portalSuccess metrics when launching your first developer portal
Success metrics when launching your first developer portal
 
Documentation, APIs & AI
Documentation, APIs & AIDocumentation, APIs & AI
Documentation, APIs & AI
 
Making sense of analytics for documentation pages
Making sense of analytics for documentation pagesMaking sense of analytics for documentation pages
Making sense of analytics for documentation pages
 
Feedback cycles and their role in improving overall developer experiences
Feedback cycles and their role in improving overall developer experiencesFeedback cycles and their role in improving overall developer experiences
Feedback cycles and their role in improving overall developer experiences
 
GraphQL Isn't An Excuse To Stop Writing Docs
GraphQL Isn't An Excuse To Stop Writing DocsGraphQL Isn't An Excuse To Stop Writing Docs
GraphQL Isn't An Excuse To Stop Writing Docs
 
API Documentation For Web3
API Documentation For Web3API Documentation For Web3
API Documentation For Web3
 
Why your API doesn’t solve my problem: A use case-driven API design
Why your API doesn’t solve my problem: A use case-driven API designWhy your API doesn’t solve my problem: A use case-driven API design
Why your API doesn’t solve my problem: A use case-driven API design
 
unREST among the docs
unREST among the docsunREST among the docs
unREST among the docs
 
Developing a best-in-class deprecation policy for your APIs
Developing a best-in-class deprecation policy for your APIsDeveloping a best-in-class deprecation policy for your APIs
Developing a best-in-class deprecation policy for your APIs
 
Annotate, Automate & Educate: Driving generated OpenAPI docs to benefit everyone
Annotate, Automate & Educate: Driving generated OpenAPI docs to benefit everyoneAnnotate, Automate & Educate: Driving generated OpenAPI docs to benefit everyone
Annotate, Automate & Educate: Driving generated OpenAPI docs to benefit everyone
 
What do developers do when it comes to understanding and using APIs?
What do developers do when it comes to understanding and using APIs?What do developers do when it comes to understanding and using APIs?
What do developers do when it comes to understanding and using APIs?
 
Inclusive, Accessible Tech: Bias-Free Language in Code and Configurations
Inclusive, Accessible Tech: Bias-Free Language in Code and ConfigurationsInclusive, Accessible Tech: Bias-Free Language in Code and Configurations
Inclusive, Accessible Tech: Bias-Free Language in Code and Configurations
 
Creating API documentation for international communities
Creating API documentation for international communitiesCreating API documentation for international communities
Creating API documentation for international communities
 
One Developer Portal to Document Them All
One Developer Portal to Document Them AllOne Developer Portal to Document Them All
One Developer Portal to Document Them All
 
Docs-as-Code: Evolving the API Documentation Experience
Docs-as-Code: Evolving the API Documentation ExperienceDocs-as-Code: Evolving the API Documentation Experience
Docs-as-Code: Evolving the API Documentation Experience
 
Developer journey - make it easy for devs to love your product
Developer journey - make it easy for devs to love your productDeveloper journey - make it easy for devs to love your product
Developer journey - make it easy for devs to love your product
 
Complexity is not complicatedness
Complexity is not complicatednessComplexity is not complicatedness
Complexity is not complicatedness
 
How cognitive biases and ranking can foster an ineffective architecture and d...
How cognitive biases and ranking can foster an ineffective architecture and d...How cognitive biases and ranking can foster an ineffective architecture and d...
How cognitive biases and ranking can foster an ineffective architecture and d...
 

Recently uploaded

+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@
 

Recently uploaded (20)

Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
+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...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

API Design for Microservices with Apiary

  • 1. © 2018 Capgemini. All rights reserved.1© 2018 Capgemini. All rights reserved. API Design for Microservices with Apiary Luis Weir Chief Architect – PaaS @ Capgemini @luisw19
  • 2. © 2018 Capgemini. All rights reserved.2
  • 3. © 2018 Capgemini. All rights reserved.3 About me Luis Weir Chief Architect at Capgemini UK Ace Director & Developer Champion luis.weir@capgemini.com uk.linkedin.com/in/lweir @luisw19 http://www.soa4u.co.uk apiplatform.cloud/ Goes to Print Q2 2018 tinyurl.com/eapim18 Goes to Print Q3 2018 API Thought Leadership Award PaaS Community Split, April, 2018 Best New UK Speaker Birmingham, Dec, 2016 Cloud Contribution Award PaaS Community Valencia, March, 2016 API Thought Leadership Award PaaS Community March, 2018 • The 7 Deadly Sins of API Design • Setting the vision, strategy and direction — the CTO’s role • How can you design, deploy and manage your APIs? • The Spotify's Engineering Culture. My interpretation and summary • A comparison of API Gateways communication styles • Is BPM Dead, Long Live Microservices? • Five Minutes with Luis Weir • 2nd vs 3rd Generation API Platforms - A Comprehensive Comparison • Podcast: Are Microservices and APIs Becoming SOA 2.0? • 3rd-Generation API Management: From Proxies to Micro-Gateways • Oracle API Platform Cloud Service Overview Latest articles:
  • 4. © 2018 Capgemini. All rights reserved.4 © 2018 Capgemini. All rights reserved.4 Agenda APIs & API Economy1 Case Study 12 Case Study 23
  • 5. © 2018 Capgemini. All rights reserved.5 Application Programming Interfaces (APIs) are doors to information and functionality. They are an organisation’s main entrance to digital services and offerings
  • 6. © 2018 Capgemini. All rights reserved.6 But even doors can be poorly designed…
  • 7. © 2018 Capgemini. All rights reserved.7 7 API-design first to the rescue!
  • 8. © 2018 Capgemini. All rights reserved.8 API-design first Feedback Design Build & Validate Package & Deploy Try Continuous Test Feedback RunAnalyse Feedback
  • 9. © 2018 Capgemini. All rights reserved.9 9© 2018 Capgemini. All rights reserved. Design • API Blueprint (APIB) • Open API Spec (OAS) • Team compliance checks (ootb and custom) • Templating • Collaborative • GitHub sync • Rich CLI Mock Validate CapabilitiesWhy Apiary? • Auto-generates mocks • Client code generation in multiple langs • Runtime agnostic. Pre- integrated with Oracle API Platform but can be used against any runtime • Templating • Language agnostic REST API validation tool • APIB and OAS support • Open source Design Try Build & Validate
  • 10. © 2018 Capgemini. All rights reserved.10 The demo (https://github.com/luisw19/aptd_2018) Feedback Design Build & Validate Package & DeployTry Continuous Test 01 • Create API Blueprint/OAS in Apiary • Use Apiary Mock endpoints to publish an API through the Oracle API platform • API docs and mock endpoints available in the Dev Portal • JET designers/developers try the API and give feedback • Build backend service using tech of choice • Apply Dredd to validate endpoints against spec 02 03 04 • Stablish a CICD pipeline for continuously and consistently packaging and deploying releases, e.g. using Wercker • Set up functional regression testing (e.g. using API Fortress or Postman) • Continuously validate endpoints using Dredd 05
  • 11. © 2018 Capgemini. All rights reserved.11 Benefits of API-design first Avoid rework: feedback early in the cycle By getting feedback very early in the lifecycle, changes of rework late in the cycle are slim. Saving time and cost. 1 Parallel development: Decouple App dev from Service dev By defining APIs with API Blueprints or Swagger, app dev and service dev can occur in parallel. Up-to-date API documentation The API is only as good as it documentation. Continuous validation using Dredd add enormous value. 3 2
  • 12. © 2018 Capgemini. All rights reserved.12 With more than 190,000 people, Capgemini is present in over 40 countries and celebrates its 50th Anniversary year in 2018. A global leader in consulting, technology and outsourcing services, the Group reported 2016 global revenues of EUR 12.5 billion. Together with its clients, Capgemini creates and delivers business, technology and digital solutions that fit their needs, enabling them to achieve innovation and competitiveness. A deeply multicultural organization, Capgemini has developed its own way of working, the Collaborative Business Experience™, and draws on Rightshore®, its worldwide delivery model. About Capgemini Learn more about us at www.capgemini.com This message contains information that may be privileged or confidential and is the property of the Capgemini Group. Copyright © 2018 Capgemini. All rights reserved. Rightshore® is a trademark belonging to Capgemini. This message is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.