Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

API Kompatibilität durch Consumer-Driven Contracts und CI/CD

185 views

Published on

In einer Live-Coding-Session habe ich demonstriert, wie über eine Continuous Deployment Pipeline in Kombination mit Consumer-driven Contracts und einem Pact Broker sichergestellt werden kann, dass sowohl auf der Integration Stage als auch in Produktion nur Services deployt werden (können), deren Schnittstellen kompatibel sind.

Published in: Software
  • Be the first to comment

  • Be the first to like this

API Kompatibilität durch Consumer-Driven Contracts und CI/CD

  1. 1. @ArneLimburg @_openknowledge #WISSENTEILEN API Kompatibilität durch Consumer-Driven Contracts und CI/CD
  2. 2. ÜBER MICH Consumer-Driven Contracts | Arne Limburg • Enterprise Architect bei der open knowledge GmbH • Themen • Microservices • Domain Driven Design • APIs • Architektur • Coaching • Technologie (JEE) Arne Limburg
  3. 3. WELCHE CLIENTS NUTZEN MICH? Consumer-Driven Contracts | Arne Limburg
  4. 4. API (PROVIDER CONTRACT) Consumer-Driven Contracts | Arne Limburg
  5. 5. CONSUMER CONTRACT Consumer-Driven Contracts | Arne Limburg
  6. 6. CONSUMER CONTRACT – YAGNI Consumer-Driven Contracts | Arne Limburg
  7. 7. CONSUMER-DRIVEN CONTRACT TEST Consumer Contract Consumer Provider Consumer Tests Provider Tests Consumer-Driven Contracts | Arne Limburg
  8. 8. PIPELINE TO DEPLOY TO STAGE Execute Own Provider Tests Generate Consumer Contract Execute Depending Provider Tests Deploy to Stage Consumer-Driven Contracts | Arne Limburg
  9. 9. PIPELINE TO DEPLOY TO STAGE Execute Own Provider Tests Generate Consumer Contract Execute Depending Provider Tests Deploy to Stage Achtung: Abwärtskompatibilität ist trotzdem notwendig! Consumer-Driven Contracts | Arne Limburg
  10. 10. BREAKING CHANGE VOM PROVIDER Execute Own Provider Tests Generate Consumer Contract Execute Depending Provider Tests Deploy to Stage Consumer-Driven Contracts | Arne Limburg
  11. 11. BREAKING CHANGE VOM CONSUMER Execute Own Provider Tests Generate Consumer Contract Execute Depending Provider Tests Deploy to Stage Consumer-Driven Contracts | Arne Limburg
  12. 12. FRAGEN & DISKUSSION ? ? ? Consumer-Driven Contracts | Arne Limburg
  13. 13. KONTAKT Consumer-Driven Contracts | Arne Limburg Arne Limburg, Software Architekt OFFENKUNDIGGUT arne.limburg@openknowledge.de +49 (0)441 4082 – 0 / 154 Icons in this presentation designed by “Freepik”, “Nice and Serious” and “Elegant Themes” from www.flaticon.com Photos in this presentation are from pixabay.com

×