Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Contract Driven Development With Spring Cloud

Contract Driven Development With Spring Cloud

Alican Akkuş

October 05, 2018
Tweet

Other Decks in Technology

Transcript

  1. Consumer Contract Consumer, drives the changes of the API. Consumer,

    could be part of the API. Can be detected instantly if there are changes that disrupt consumers. Consumer Driven Contact(CDC) ensures the correct contract between Producer and Consumer. !4 The contract is not a schema, it shows only how communication looks like between services.
  2. Spring Cloud Contract Spring Cloud Contract is an implementation of

    CDC development of JVM based language. Also support for the non-jvm based language. It moves TDD to the level of the software(API) design&architecture. !5
  3. Spring Cloud Contract How to test the microservices? • Deploy

    all microservices and perform end-to-end test.
 • Mock other services in tests. !6
  4. Spring Cloud Contract Fastest development Fastest response/feedback Why Contract Driven

    Development is the best approach for microservice architecture? Uses real service Reliable !7