demos/example-siren
22 months agoGit ignores the build directory of the Spring-Consumer master
Kai Moritz [Sun, 22 May 2022 16:38:20 +0000 (18:38 +0200)]
Git ignores the build directory of the Spring-Consumer

22 months agoSome private notes, concerning the revealed insights of the experiment
Kai Moritz [Sun, 22 May 2022 16:07:10 +0000 (18:07 +0200)]
Some private notes, concerning the revealed insights of the experiment

22 months agoThe contract-test uses a random port on the provider
Kai Moritz [Sun, 22 May 2022 07:19:09 +0000 (09:19 +0200)]
The contract-test uses a random port on the provider

* This is crucial in most cases, if one planes to execute the test in
  a build pipline, because it is very likely, that several tests run in
  parallel in that scenario

22 months agoAdded a contract-test, that is implemented as a Spring intetration-test
Kai Moritz [Sun, 22 May 2022 06:37:04 +0000 (08:37 +0200)]
Added a contract-test, that is implemented as a Spring intetration-test

22 months agoFixed an issue with the matching of the URIs for `actions`
Kai Moritz [Sun, 22 May 2022 05:48:42 +0000 (07:48 +0200)]
Fixed an issue with the matching of the URIs for `actions`

22 months agoFurther aligned the contracts: name and method are named exactly alike now
Kai Moritz [Sun, 22 May 2022 05:42:00 +0000 (07:42 +0200)]
Further aligned the contracts: name and method are named exactly alike now

22 months agoMade Gradle check the version of the pact, that was generated via Spring
Kai Moritz [Sun, 22 May 2022 05:05:21 +0000 (07:05 +0200)]
Made Gradle check the version of the pact, that was generated via Spring

* Execute like: `./gradlew pactVerify`

22 months agoDefined all contracts in a single pact, like in the original example
Kai Moritz [Sat, 21 May 2022 19:19:47 +0000 (21:19 +0200)]
Defined all contracts in a single pact, like in the original example

* Looking back, I have to adhere, that this move is missleading.
* For a newbie (like me) this suggests, that all commands will be
  executed in order on the provider, so that the expected state will
  be created automatically - but that is not true!

22 months agoRe-staged the contract for `delete order`
Kai Moritz [Sat, 21 May 2022 19:11:49 +0000 (21:11 +0200)]
Re-staged the contract for `delete order`

22 months agoRe-staged the contract for `get root`
Kai Moritz [Sat, 21 May 2022 18:54:42 +0000 (20:54 +0200)]
Re-staged the contract for `get root`

22 months agoRe-staged the contract for `get all orders`
Kai Moritz [Fri, 3 Jun 2022 11:37:38 +0000 (13:37 +0200)]
Re-staged the contract for `get all orders`

22 months agoMigrated the example from the classic DSL to the Lambda-DSL
Kai Moritz [Sat, 21 May 2022 15:11:30 +0000 (17:11 +0200)]
Migrated the example from the classic DSL to the Lambda-DSL

22 months agoAdded a Spring-based consumer
Kai Moritz [Sat, 21 May 2022 10:47:16 +0000 (12:47 +0200)]
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

22 months agoChecked in the generated contract for comparison
Kai Moritz [Sat, 21 May 2022 14:19:02 +0000 (16:19 +0200)]
Checked in the generated contract for comparison

22 months agoFixed the consumer-contract
Kai Moritz [Sat, 21 May 2022 10:48:14 +0000 (12:48 +0200)]
Fixed the consumer-contract

3 years agochore: bump Pact-JS version to latest
Ronald Holshausen [Tue, 12 Jan 2021 03:25:50 +0000 (14:25 +1100)]
chore: bump Pact-JS version to latest

3 years agochore: update readme
Ronald Holshausen [Tue, 5 Jan 2021 04:48:57 +0000 (15:48 +1100)]
chore: update readme

3 years agofeat: URLs are now injected by the mock server
Ronald Holshausen [Tue, 5 Jan 2021 04:45:55 +0000 (15:45 +1100)]
feat: URLs are now injected by the mock server

3 years agochore: update readme
Ronald Holshausen [Mon, 9 Nov 2020 03:57:53 +0000 (14:57 +1100)]
chore: update readme

3 years agochore: updated readme with array contains matcher
Ronald Holshausen [Mon, 9 Nov 2020 03:55:16 +0000 (14:55 +1100)]
chore: updated readme with array contains matcher

3 years agochore: add another endpoint
Ronald Holshausen [Mon, 9 Nov 2020 03:51:03 +0000 (14:51 +1100)]
chore: add another endpoint

3 years agochore: update to Pact JVM 4.2.0-beta.1
Ronald Holshausen [Mon, 9 Nov 2020 03:17:18 +0000 (14:17 +1100)]
chore: update to Pact JVM 4.2.0-beta.1

3 years agochore: add array contains matcher
Ronald Holshausen [Thu, 5 Nov 2020 06:05:48 +0000 (17:05 +1100)]
chore: add array contains matcher

3 years agofix: make the order ID different than in the consumer test
Ronald Holshausen [Wed, 30 Sep 2020 04:11:12 +0000 (14:11 +1000)]
fix: make the order ID different than in the consumer test

3 years agochore: update readme
Ronald Holshausen [Wed, 30 Sep 2020 03:47:29 +0000 (13:47 +1000)]
chore: update readme

3 years agofeat: passing pact verification
Ronald Holshausen [Tue, 29 Sep 2020 08:20:13 +0000 (18:20 +1000)]
feat: passing pact verification

3 years agofeat: navigate from root
Ronald Holshausen [Tue, 29 Sep 2020 07:24:56 +0000 (17:24 +1000)]
feat: navigate from root

3 years agofeat: add consumer siren test
Ronald Holshausen [Tue, 29 Sep 2020 06:44:15 +0000 (16:44 +1000)]
feat: add consumer siren test

3 years agofeat: add basic consumer project
Ronald Holshausen [Tue, 29 Sep 2020 04:15:02 +0000 (14:15 +1000)]
feat: add basic consumer project

3 years agofeat: added Siren actions to order resource
Ronald Holshausen [Tue, 29 Sep 2020 04:06:08 +0000 (14:06 +1000)]
feat: added Siren actions to order resource

3 years agochore: add basic Siren resource
Ronald Holshausen [Tue, 29 Sep 2020 03:25:22 +0000 (13:25 +1000)]
chore: add basic Siren resource

3 years agochore: update gitignore
Ronald Holshausen [Tue, 29 Sep 2020 02:09:34 +0000 (12:09 +1000)]
chore: update gitignore

3 years agochore: switch to Java 11
Ronald Holshausen [Tue, 29 Sep 2020 02:08:57 +0000 (12:08 +1000)]
chore: switch to Java 11

3 years agochore: bootstrap springboot project
Ronald Holshausen [Tue, 29 Sep 2020 02:03:48 +0000 (12:03 +1000)]
chore: bootstrap springboot project

3 years agoInitial commit
Ronald Holshausen [Tue, 29 Sep 2020 01:47:37 +0000 (11:47 +1000)]
Initial commit