/pact-contract-testing-examples

PACT consumer-driven contracts workshop

Primary LanguageKotlin

Pact Contract Testing Examples

A sample micro-services application that demonstrates how Pact Contract tests work for REST as well as messaging interactions. Services implemented in Kotlin + Spring Boot.

Services

Running the demo application

In terminal 1 start RabbitMQ

$ docker-compose up

In terminal 2 start the inventory provider service

$ inventory/gradlew -p inventory bootRun

In terminal 3 start the catalog consumer/provider service

$ catalog/gradlew -p catalog bootRun

In terminal 4 start the frontend consumer service

$ frontend/gradlew -p frontend bootRun

Open in the browser http://localhost:8080/

References