Commit Graph

199 Commits

Author SHA1 Message Date
Marcin Grzejszczak
6402e14f3c Added support for Stub Runner and Pact Broker
fixes gh-191
commit 533f1d3d0e8f6dcd37677bfef555fc2ea86bc1b1
Author: Tim Ysewyn <Tim.Ysewyn@me.com>
Date:   Wed Mar 7 15:56:48 2018 +0100

    Upgraded pact-jvm-model to 3.5.13
2018-04-02 22:50:40 +02:00
Tim Ysewyn
de529e222e Support for Pact v3 (#569)
* Upgraded pact-jvm-model to 3.5.13
* Enhanced the conversion of Spring Cloud contracts to Pact contracts using the v3 spec.
Introduces breaking change returning a list of `Pact`s instead of one.
* Enhanced the conversion of Pact contracts using the v3 spec tp Spring Cloud contracts.
* Implemented conversion of Pact v3 messaging to/from Spring Cloud contracts
* Updated code based on comments in the PR
* Added null matcher
* Added missing null matcher conversion from SCC to Pact
* Added number, integer and decimal matchers
* Added support for multiple matchers for the same json path.
Currently only the AND rule logic is supported.
* Added value generator functionality
* Refactored `stubMatchers` and `testMatchers` to support multiple types of "matcher groups", eg. header, path & query
* Refactored e37a8c5d82f96da6e1a698331afc62e6cf747bd6 in favor of a less invasive change using deprecation
* Added header matcher conversion
* Add/updated the ASF license header
* Fixed an issue with the header matchers while updating the documentation
* Updated the documentation
* Made some last minute changes to the `bodyMatchers`: `byNull()` isn't supported by WireMock

Closes #583
Fixes #595
2018-04-02 22:06:51 +02:00
Marcin Grzejszczak
84a7cff1c6 Merge branch '1.2.x' 2018-03-31 18:45:27 +02:00
Marcin Grzejszczak
9aa1eab483 Bumped wiremock to 2.16.0; fixes gh-600 2018-03-31 18:43:39 +02:00
buildmaster
766cd59f64 Bumping versions to 1.2.5.BUILD-SNAPSHOT after release 2018-03-27 00:44:45 +00:00
buildmaster
ce62f7f77a Going back to snapshots 2018-03-27 00:44:43 +00:00
buildmaster
71061a7d7f Update SNAPSHOT to 1.2.4.RELEASE 2018-03-27 00:33:17 +00:00
buildmaster
b9740e900d Going back to snapshots 2018-03-22 23:54:47 +00:00
buildmaster
501fefd389 Update SNAPSHOT to 2.0.0.M8 2018-03-22 23:52:03 +00:00
Marcin Grzejszczak
63e32fdf1f Added UrlResource support for WireMock config; fixes gh-591 2018-03-22 11:14:30 +01:00
Marcin Grzejszczak
5476e1d127 Allow parametrization of generated contract names
with this change we accept all the placeholder values that are acceptible by RestDocs

fixes gh-452
2018-03-20 11:38:49 +01:00
Marcin Grzejszczak
ed52de44ba 🤦 2018-03-19 11:43:32 +01:00
Marcin Grzejszczak
65cd71f38e Added support for byte multipart content
fixes gh-546
2018-03-19 10:54:02 +01:00
Marcin Grzejszczak
969cfe8573 Added an option to disable the wiremock rest tempalte customizer
with this change just set "wiremock.rest-template-ssl-enabled:false"  and the customizer will not be set up

fixes gh-413
2018-03-16 16:30:30 +01:00
buildmaster
9c2d54453e Going back to snapshots 2018-02-27 01:35:53 +00:00
buildmaster
c0f773ecd3 Update SNAPSHOT to 2.0.0.M7 2018-02-27 01:30:18 +00:00
Marcin Grzejszczak
813460bbcf Fixed broken RestAssured 3.0, rest docs tests 2018-02-21 13:49:20 +01:00
buildmaster
a8e3b64fe6 Bumping versions to 1.2.4.BUILD-SNAPSHOT after release 2018-02-09 16:08:54 +00:00
buildmaster
ab660f8944 Going back to snapshots 2018-02-09 16:08:53 +00:00
buildmaster
c510a555b7 Update SNAPSHOT to 1.2.3.RELEASE 2018-02-09 15:54:44 +00:00
Dave Syer
3ee5c4c308 Revert "Remove unnecessary placeholder resolution"
This reverts commit 2d9c505715.
2018-01-30 11:16:45 +00:00
Dave Syer
dde4c950a5 Merge branch '1.2.x' 2018-01-29 13:52:44 +00:00
Dave Syer
15ac841360 Put jsonPaths into request matchers (not response)
The correct WireMock JSON stubs should be available after this change.
Otherwise the json paths that were applied to the request in the
RESTdocs test were being translated into response matchers in the
contract (which doesn't even do anything in WireMock).
2018-01-29 13:52:11 +00:00
Dave Syer
2d9c505715 Remove unnecessary placeholder resolution 2018-01-29 13:52:08 +00:00
Marcin Grzejszczak
d80f31b72a Merge branch '1.2.x' 2018-01-25 12:50:49 +01:00
Marcin Grzejszczak
01f55db2c6 Bumped WireMock to 2.14; fixes #506 2018-01-25 10:50:32 +01:00
buildmaster
b2428c5f13 Bumping versions to 1.2.3.BUILD-SNAPSHOT after release 2018-01-16 17:20:16 +00:00
buildmaster
f5561d3f9b Going back to snapshots 2018-01-16 17:20:15 +00:00
buildmaster
19deb01269 Update SNAPSHOT to 1.2.2.RELEASE 2018-01-16 17:09:51 +00:00
Dave Syer
92848125b9 Draft support for WebTestClient (#514)
* Draft support for WebTestClient
* Share some common code between MockMvc and WebTestClient
* Fix co-ordinates of server stubs
* Fix project names in Gradle
2018-01-12 15:12:31 +01:00
Marcin Grzejszczak
d6871beeb3 Added WireMockConfigurationCustomizer
with this change it's possible to customize the WireMockConfiguration set up by Spring Cloud Contract

fixes gh-502
2017-12-27 13:29:22 +01:00
Marcin Grzejszczak
6ed344e976 Added WireMockConfigurationCustomizer
with this change it's possible to customize the WireMockConfiguration set up by Spring Cloud Contract

fixes gh-502
2017-12-27 13:15:14 +01:00
Marcin Grzejszczak
de12c4a349 Merge branch '1.2.x' 2017-12-20 17:12:44 +01:00
Marcin Grzejszczak
3054b3e8a4 Merge branch '1.1.x' into 1.2.x 2017-12-20 17:12:35 +01:00
Marcin Grzejszczak
5ea48987ea Fixed lack of triple quotes in json paths for generated contracts from rest docs
fixes #494
2017-12-20 17:12:01 +01:00
Marcin Grzejszczak
80f0e66292 Revert "Revert "Merge branch 'master' into 2.0.x""
This reverts commit 822dd4b732.
2017-12-20 16:37:38 +01:00
Marcin Grzejszczak
822dd4b732 Revert "Merge branch 'master' into 2.0.x"
This reverts commit 63a1981f54, reversing
changes made to 0cca942e86.
2017-12-20 16:31:52 +01:00
buildmaster
2981b54b82 Going back to snapshots 2017-12-02 04:40:23 +00:00
buildmaster
9e5ac9020b Update SNAPSHOT to 2.0.0.M5 2017-12-02 04:37:52 +00:00
buildmaster
5b2cc6f258 Going back to snapshots 2017-11-16 18:20:37 +00:00
buildmaster
f9908cefd2 Update SNAPSHOT to 2.0.0.M4 2017-11-16 18:17:31 +00:00
Marcin Grzejszczak
c09f8ca730 Merge branch 'master' into 2.0.x 2017-11-13 10:18:37 +01:00
Marcin Grzejszczak
bd02624671 Merge branch '1.1.x' 2017-11-13 10:16:36 +01:00
Marcin Grzejszczak
0097b6db6e Filters headers from response for Groovy DSL creation from rest docs; fixes #455 2017-11-13 10:16:29 +01:00
buildmaster
4cdd7462cc Going back to snapshots 2017-10-28 07:25:37 +00:00
buildmaster
02d6c3e185 Update SNAPSHOT to 2.0.0.M3 2017-10-28 07:23:12 +00:00
buildmaster
2c78b99f5a Going back to snapshots 2017-10-24 16:48:01 +00:00
buildmaster
cdfddc91d6 Update SNAPSHOT to 1.2.0.RC1 2017-10-24 16:45:05 +00:00
Marcin Grzejszczak
a893c0c93f Merge branch 'master' into 2.0.x 2017-10-23 12:59:05 +02:00
Eddú Meléndez Gonzales
a90ec81258 Fix WireMockRestDocs javadoc (#442) 2017-10-22 14:20:54 +02:00