Added a Spring-based consumer
authorKai Moritz <kai@juplo.de>
Sat, 21 May 2022 10:47:16 +0000 (12:47 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 3 Jun 2022 11:29:14 +0000 (13:29 +0200)
commitb01ab6860eb5ab3be5b04427924c1c44b1d0fc66
tree6396622411a1e1166b4211e8af36fd20883caeca
parent59332c6858f6f891f9d72a51ca88574f4eb4f947
Added a Spring-based consumer

* Goal: re-stage the contract with Spring for educational purposes
* Generates a totally different contract for now...
* Is copied from the code-example for the PactDslJsonBody DSL
* See: https://docs.pact.io/implementation_guides/jvm/consumer#building-json-bodies-with-pactdsljsonbody-dsl[example-code]
* Added Maven-Builddirectory to .gitignore
* Added the generated JSON for comparison
.gitignore
spring-consumer/pom.xml [new file with mode: 0644]
spring-consumer/src/main/java/de/juplo/demos/pact/Application.java [new file with mode: 0644]
spring-consumer/src/test/java/de/juplo/demos/pact/ApplicationTests.java [new file with mode: 0644]
spring-consumer/src/test/java/de/juplo/demos/pact/ContractTest.java [new file with mode: 0644]
spring-consumer/target/pacts/SpringConsumer-Siren Order Provider.json [new file with mode: 0644]