~/talk

Consumer Driven Contracts and Your Microservice Architecture

Talkat SpringOne Platform 2017 · 2017-12-04..12-07· [microservices, testing]
slides:none on file

Claim: treat APIs as tests by writing consumer-driven contracts that generate executable checks and runnable stubs. Uses Spring Boot, Spring Cloud Contract (Groovy DSL), the Maven/Gradle plugin to emit a stubs JAR and WireMock stubs, plus stub-runner (standalone or JUnit) to run predictable HTTP or messaging integration tests. Workflow generates JUnit tests, uncovers breaking changes (demo catches a removed X27 field), supports stateful scenarios and CI publishing of contracts.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33Legacy testing challenges
  3. 4:42Reviewing existing code
  4. 8:37Introducing contract testing
  5. 12:11Implementing stub runner
  6. 19:08Externalizing contracts
  7. 22:26Contract generation process
  8. 26:02Refactoring API breaking
  9. 30:58Consumer driven workflow
  10. 37:01Advanced contract features
  11. 47:15Node.js and CLI support
  12. 50:59Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.