Commit Graph

277 Commits

Author SHA1 Message Date
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
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
Marcin Grzejszczak
0cca942e86 Merge branch '1.1.x' 2017-11-27 14:39:44 +01:00
Marcin Grzejszczak
3bbdda83a9 PathNotFoundException when request body wraps into multiline string ; fixes #458 2017-11-27 13:59:21 +01:00
Marcin Grzejszczak
763802d26d Merge branch 'master' into 2.0.x 2017-11-22 22:44:23 +01:00
Marcin Grzejszczak
8e7494add0 Fixes regression with ; fixes #465 2017-11-22 22:24:16 +01:00
Marcin Grzejszczak
f3871a2f04 Fixed checkstyle 2017-11-14 19:10:19 +01:00
Marcin Grzejszczak
7ca1b7bab1 Fixed wrong streammessages usage 2017-11-14 19:08:13 +01:00
Marcin Grzejszczak
7e9d397673 Merge branch 'master' into 2.0.x 2017-10-24 11:55:14 +02:00
Marcin Grzejszczak
bf6ceb4f81 Merge branch '1.1.x' 2017-10-24 11:55:00 +02:00
Marcin Grzejszczak
98b7b49459 Fixes the way tests from simple json are generated
json can have a very primitive structure. Without this change we have bugs when we try to generate tests

fixes #443
2017-10-24 11:47:28 +02:00
Marcin Grzejszczak
2aac2cc7c2 Merge branch 'master' into 2.0.x 2017-10-19 14:35:25 +02:00
Marcin Grzejszczak
143acc4ae2 Merge branch '1.1.x' 2017-10-19 14:35:17 +02:00
Marcin Grzejszczak
04bd1f5be7 Fixed unnecessary quotes for java messaging tests 2017-10-19 14:35:11 +02:00
Marcin Grzejszczak
40fc6886c5 Merge branch 'master' into 2.0.x 2017-10-19 11:51:25 +02:00
Marcin Grzejszczak
25bba16ce8 Merge branch '1.1.x' 2017-10-19 11:51:13 +02:00
Marcin Grzejszczak
6aa8910ae8 Added ExecutionProperty resolution for sentTo; fixes #440 2017-10-19 11:16:48 +02:00
Marcin Grzejszczak
25feb0c0db Maybe now? 2017-10-11 13:15:05 +02:00
Marcin Grzejszczak
7242649f9c Almost there 2017-10-11 12:33:13 +02:00
Marcin Grzejszczak
43eef1a1a8 Fixed quite a few tests 2017-10-09 18:22:19 +02:00
Marcin Grzejszczak
8da33723a4 Merge branch 'master' into 2.0.x 2017-10-06 11:24:21 +02:00
Marcin Grzejszczak
3ec444e776 Fixed the invalid check of transformers array 2017-10-06 11:21:52 +02:00
Marcin Grzejszczak
0758f4ec38 Introduced adding of custom WireMock extensions (#429)
without this change we set only a single extension "response-transformer" without an option to provide any other ones
with this change we introduce the "spring.factories" based extension model. It's enough to provide your own implementation of `org.springframework.cloud.contract.verifier.dsl.wiremock.WireMockExtensions` and register it in `spring.factories`. That way you can control all extensions (request / response).

fixes #425
2017-10-05 15:52:27 +02:00
Marcin Grzejszczak
f8401ccb38 Merge branch 'master' into 2.0.x 2017-09-30 19:15:14 +02:00
Marcin Grzejszczak
4a46760ee2 Merge branch '1.1.x' 2017-09-30 19:14:57 +02:00
Marcin Grzejszczak
6af2501422 Fixed invalid header parsing for absent matching strategy; fixes #424 2017-09-30 19:14:45 +02:00
Marcin Grzejszczak
5e1b99777b Merge branch '1.1.x' 2017-09-28 14:40:46 +02:00
Marcin Grzejszczak
521f27b4a7 Bumps jsonassert to fix the issue with isEmpty
without this change when we're building a stub and it contains a non-empty array, we execute isEmpty to verify the array size. In jsonassert there's a bug cause isEmpty was the only method that didn't check if a flag to ignore exceptions was set

with this change we're bumping jsonassert where the exception got fixed

fixes #427
2017-09-28 14:37:03 +02:00
Marcin Grzejszczak
f4ec52d4ac Removed Camel support (#387)
until https://issues.apache.org/jira/browse/CAMEL-11430 gets fixed

fixes #386
2017-09-05 15:14:31 +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
de17fb7638 Merge branch 'master' into 2.0.x 2017-09-04 11:33:14 +02:00
Marcin Grzejszczak
343109af7e Removed escaping unicode chars; fixes #385 2017-09-04 11:27:05 +02:00
Marcin Grzejszczak
94703b0c0f Merge branch 'master' into 2.0.x 2017-09-01 17:22:36 +02:00
Marcin Grzejszczak
5f8fd5058c Added support for fromRequest.path
without this change you can't referrence path of the request in the response
with this change that functionality is added

also Removed lang3 dependency and changed it to commons-text

fixes #388
2017-09-01 17:22:28 +02:00