demos/example-siren
2 years 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!

2 years 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`

2 years 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`

2 years 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`

2 years 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

2 years 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

2 years 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

2 years 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

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

4 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

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

4 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

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

4 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

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

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

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

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

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

4 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

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

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

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

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

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