Commit Graph

428 Commits

Author SHA1 Message Date
Tim Ysewyn
5dbac1f210 Generated messaging tests could create compilation errors for certain regexes in headers (#622)
* Fixed an issue with the generation of messaging tests where the regex pattern was creating compilation errors

fixes gh-620

(cherry picked from commit f64feaf)
2018-04-19 08:54:27 +02:00
Marcin Grzejszczak
d467341427 Ensured that stub part of the body gets returned form WIreMock response, fixes gh-611 2018-04-12 15:49:18 +02:00
Marcin Grzejszczak
6ace68284c Added docs 2018-04-11 12:34:23 +02:00
Marcin Grzejszczak
d203fe8dea Added tests, dsl -> yml cookies 2018-04-11 12:04:34 +02:00
Alex Xandra Albert Sim
2068fdc8ca Added more tests to have better coverage 2018-04-11 14:47:17 +07:00
Alex Xandra Albert Sim
a181c6576f YAML cookie support 2018-04-11 14:47:00 +07:00
Marcin Grzejszczak
a0641790a9 Wiremock stubs with cookies + some tests 2018-04-11 10:05:43 +07:00
Alex Xandra Albert Sim
bca6c14350 Added compilation test to cookie assertion tests 2018-04-10 08:27:56 +07:00
Alex Xandra Albert Sim
c740f8b3dd Add cookie header check to contract verifier 2018-04-09 15:45:08 +07:00
Marcin Grzejszczak
7652bcff48 Fixed missing support for predefined matchers for messages; fixes #604 2018-04-03 20:58:10 +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
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
f57cefc68a Ensured that regular expressions are generated properly; fixes gh-587 2018-03-21 09:13:19 +01:00
Marcin Grzejszczak
67019774e1 Fixed missing conversion of messaging patterns to java
without this change patterns were not escaped the way they should

fixes gh-587
2018-03-20 21:08:24 +01:00
Marcin Grzejszczak
c7250a8d62 Added support for RoutingKey in AMQP stub messages
fixed via @KazuoD suggestion

fixes gh-585
2018-03-20 14:17:05 +01:00
Marcin Grzejszczak
9c4758b069 Removed empty if statement 2018-03-09 17:23:29 +01:00
Marcin Grzejszczak
2fc413755b Fixed unnecessary quoting of non string value when referencing request from response
fixes gh-559
2018-03-09 16:56:47 +01:00
Marcin Grzejszczak
f05aa45704 Fixed a test; fixes gh-542 2018-02-19 10:52:00 +01:00
Axel Hodler
82fb1cdac3 Avoid quoting of floating point numbers 2018-02-19 10:15:51 +01:00
Marcin Grzejszczak
5de9959561 Bumped to WireMock 2.15.0; fixes gh-548 2018-02-12 17:09:21 +01:00
Marcin Grzejszczak
0fe931b3e8 Allows execute property in multipart; fixes gh-541 2018-02-09 17:10:58 +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
Marcin Grzejszczak
83e304008e Bumped jsonassert to 0.4.11
fixes gh-538, gh-537
2018-02-05 14:48:04 +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
3c0dcad1d6 Numbers are acceptable in the method name
fixes gh-518
2018-01-16 17:19:47 +01:00
Tom Hombergs
659545a774 replace invalid characters in generated method names with underscore (#519)
* replace invalid characters in generated method names with underscore

fixes #518
2018-01-12 23:35:03 +01:00
Marcin Grzejszczak
bea0d4f78d Added pact evaluation of $.body type matcher
fixes #511
2018-01-12 15:24:15 +01:00
Marcin Grzejszczak
709df3e291 Unescaping any json body entries
without this change we're escaping the json body response and then wiremock is escaping it again
with this change we're unescaping the first json body escaping so that wiremock applies it only once

fixes gh-515
2018-01-12 12:56:09 +01:00
Tom Hombergs
6e65f36c31 replaced ".class" with ".getClass()" (#513)
... so that the actual class of the object is returned instead of
potentially an element with key "class" if object is a Map
2018-01-11 10:18:37 +01:00
Marcin Grzejszczak
640f8e493e Merge branch '1.1.x' into 1.2.x 2017-12-20 16:34:31 +01:00
Marcin Grzejszczak
4906f4b24e Added one more null dereferencing 2017-12-20 16:34:20 +01:00
Marcin Grzejszczak
2b17370bba Merge branch '1.1.x' into 1.2.x 2017-12-20 16:33:24 +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
Marcin Grzejszczak
b3a8124168 Fixed the way form URL encoded request body is treated
fixes #493
2017-12-20 15:22:42 +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
Marcin Grzejszczak
ea064d9c82 Merge branch 'fix-471' of https://github.com/JohannesDorn/spring-cloud-contract into JohannesDorn-fix-471 2017-11-28 11:40:09 +01:00
JohannesDorn
e3ade3ec0f Update MockMvcMethodBodyBuilderWithMatchersSpec.groovy 2017-11-28 08:41:52 +01:00
JohannesDorn
130600dce2 Update MockMvcMethodBodyBuilderSpec.groovy 2017-11-28 08:27:16 +01:00
JohannesDorn
f4a1fb5821 Update JaxRsClientMethodBuilderSpec.groovy 2017-11-28 08:25:16 +01:00
Marcin Grzejszczak
63a1981f54 Merge branch 'master' into 2.0.x 2017-11-27 15:39:54 +01:00