Skip to content

consumer-driven contracts workshop, code examples and presentation

Notifications You must be signed in to change notification settings

ollin/cdc-workshop

Repository files navigation

CDC Workshop Repository

Lobby

Idea

There is an address service which delivers addresses. This is the producer. At the moment there is one Consumer which is an invoice service which can produce invoices.

Working with the code

To develop, run and build a JDK 8 is required. The build system is gradle. The services are implemented with spring boot.

Test the code

cd into the directory of your checkout.

To test all services:

$ ./gradlew test # for linux
$ ./gradlew.bat test # for windows

Run address-service

$ ./gradlew :address-service:bootRun
Tip
ctrl^c ends the running spring boot server

Run invoice-service

$ ./gradlew :invoice-service:bootRun

Working with the presentation

The presentation is written with asciidoctor

To generate the presentation:

$ ./gradlew asciidoctor

afterwards you can present with a browser (here we are using firefox):

$ firefox ./presentation/build/asciidoc/html5/presentation.html &

About

consumer-driven contracts workshop, code examples and presentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •