Commit Graph

165 Commits

Author SHA1 Message Date
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
Axel Hodler
663e1929d8 Extend matchers (#598)
* Added anyHttpsUrl DslProperty

* Added anyPositiveInt DslProperty
2018-03-25 13:03:59 +02: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
297ee8e2ea Changed the Groovy equals & hashcode usage to manual one
there's a bug in Groovy with autogenerated hashCode and byte arrays
to fix it we've migrated from the AST to manual hashcode and equals generation

fixes gh-546
2018-03-21 14:03:06 +01:00
Marcin Grzejszczak
0078230492 Merge branch '1.2.x' 2018-03-21 11:35:42 +01:00
Marcin Grzejszczak
4e08f77996 escapes all generated strings by Xeger so that the code is java compatible
related to gh-589

fixes gh-588
2018-03-21 11:35:29 +01:00
Marcin Grzejszczak
f70c1dbfdd Added support for patterns inside GStrings in URL
related to gh-589

fixes gh-588
2018-03-21 10:54:24 +01:00
Marcin Grzejszczak
cd07f6d42b Xeger can cause stackoverflow and doesn't understand \d \w \s
fixes gh-589, fixes gh-590
2018-03-21 10:53:30 +01:00
mfeygelson
4d72a2744e Support pattern properties in messaging contracts (#564)
(cherry picked from commit c4ab647)
2018-03-21 08:29:40 +01:00
Marcin Grzejszczak
e4eaafc697 Added Support Content-Transfer-Encoding in Multipart regexp
fixes gh-339
2018-03-19 15:31:42 +01:00
Marcin Grzejszczak
068206f02a Removed private access 2018-03-16 11:52:18 +01:00
Marcin Grzejszczak
8e4360535c Added HttpStatus delegate in the Groovy DSL Response
with this change there are numerous helper methods that should provide a more descriptive DSL for the response status. Instead of a numerical status you can now call a method e.g. instead of 200 call OK()

fixes gh-575
2018-03-15 10:00:45 +01:00
Axel Hodler
f31e9ba137 Added anyDouble DslProperty (#571) 2018-03-14 21:07:20 +01:00
mfeygelson
c4ab64757f Support pattern properties in messaging contracts (#564) 2018-03-05 10:22:31 +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
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
Marcin Grzejszczak
65ee88aa23 Merge branch '1.2.x' 2018-01-19 01:18:33 +01:00
Marcin Grzejszczak
b745d9a7e3 YAML contracts (#522)
with this change we allow the users to use YAML to define contracts

fixes gh-300 gh-508
helps with #501
2018-01-19 00:27:15 +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
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
Marcin Grzejszczak
1aa422e485 Merge branch '1.2.x' 2017-11-28 11:40:52 +01:00
JohannesDorn
be1c57ffbf Fix #471 2017-11-27 11:45:19 +01:00
Marcin Grzejszczak
10bec3e94a Bumping versions to 1.2.2.BUILD-SNAPSHOT after release 2017-11-24 11:25:31 +01:00
Marcin Grzejszczak
118aba3f43 Going back to snapshots 2017-11-24 11:19:18 +01:00
Marcin Grzejszczak
23f7cf2fe0 Update SNAPSHOT to 1.2.1.RELEASE 2017-11-24 11:13:12 +01:00
buildmaster
cb9b99baf9 Bumping versions to 1.2.1.BUILD-SNAPSHOT after release 2017-11-22 13:32:51 +00:00
buildmaster
4aa3b42fbc Going back to snapshots 2017-11-22 13:32:50 +00:00
buildmaster
c62155e265 Update SNAPSHOT to 1.2.0.RELEASE 2017-11-22 13:26:43 +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
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
a6b767a19b Merge branch 'master' into 2.0.x 2017-09-04 13:29:36 +02:00
Marcin Grzejszczak
db642f8849 Merge branch '1.1.x' 2017-09-04 13:29:29 +02:00
Marcin Grzejszczak
4adde109fd Trying to make surefire work 2017-09-04 13:29:19 +02:00
Marcin Grzejszczak
22599b4ef9 Merge branch 'master' into 2.0.x 2017-09-04 12:49:11 +02:00
Marcin Grzejszczak
28e8df2ad7 Merge branch '1.1.x' 2017-09-04 12:34:52 +02:00
Marcin Grzejszczak
d92dbf09ee Fixed Non empty and non blank regex patterns
also catching ClassNotFoundError and printing it in trace level

fixes #412
2017-09-04 12:16:33 +02:00
Marcin Grzejszczak
94703b0c0f Merge branch 'master' into 2.0.x 2017-09-01 17:22:36 +02:00