Commit Graph

2000 Commits

Author SHA1 Message Date
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
Tom Hombergs
833a7114ab matcher now correctly matches response instead of request 511 (#517) 2018-01-12 22:51:59 +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
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
b3e6159bbb Using the new registration mechanism
without this change we're using Eureka lite to register the apps. However we're not reusing any mechanisms that are bound to registration of the main app. That's why we also loose the OAuth2 instrumentation of Spring Cloud Services.
with this change we're reusing the default mechanism. For Cloud based applications we also register the stubs under a different route so as to support the multiple port binding.

fixes gh-490
2017-12-22 12:23:09 +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
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
Regev Brody
f69a2f63d0 Fix bad commiter info from #491 (#498)
* #491 - Stubs are registered to consul with localhost

fixes #491
2017-12-19 04:33:17 -05:00
rbrody
5d9ffc3059 #491 - Stubs are registered to consul with localhost 2017-12-10 14:38:40 +02:00
rbrody
32e5f84dec #491 - Stubs are registered to consul with localhost 2017-12-10 14:18:39 +02:00
rbrody
9a297437d8 #491 - Stubs are registered to consul with localhost 2017-12-10 14:06:41 +02:00
Marcin Grzejszczak
99ad52c2dd Fixed stub runner cloud registration 2017-12-09 07:03:08 -08:00
Marcin Grzejszczak
d9790a4b17 Added option to disable adding custom publication; fixes #482 2017-12-08 15:03:59 -08:00
Marcin Grzejszczak
c06e671292 Merge branch '1.2.x' 2017-12-08 14:22:50 -08:00
chengpohi
bff685eb46 when contract is ignored, should not generate empty json, since it's invalid format for json 2017-12-08 14:13:40 -08:00
Marcin Grzejszczak
8be95a0a2e bumping wiremock to 2.12.0
; fixes #477
2017-12-08 11:01:37 -08:00
Marcin Grzejszczak
7caa3102aa Removed server delegation; fixes #487 2017-12-08 10:25:00 -08:00
Marcin Grzejszczak
1ea834bc19 bumping Boot o 1.5.9 2017-12-03 15:45:42 -05:00
Marcin Grzejszczak
7477207a72 Updated versions 2017-12-03 15:28:35 -05: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
Spencer Gibb
07ed029919 Fix unresolved doc refs 2017-12-01 23:24:23 -05:00
Spencer Gibb
2f59968361 Updates groupId to org.springframework.cloud 2017-12-01 22:47:34 -05:00
Spencer Gibb
2a95122ed7 Updates groupId to org.springframework.cloud 2017-12-01 22:44:18 -05:00
Biju Kunjummen
f898993856 Fix the order of version and classifier (#475)
Fixes a minor typo - order of version and classifier in javadoc.
2017-12-01 19:50:06 +01:00
Marcin Grzejszczak
22b0869ddb Updated whitelisted branches 2017-11-28 19:01:19 +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
9dca045197 Update DslToWireMockClientConverterSpec.groovy 2017-11-28 09:49:52 +01:00
JohannesDorn
e3ade3ec0f Update MockMvcMethodBodyBuilderWithMatchersSpec.groovy 2017-11-28 08:41:52 +01:00
JohannesDorn
475ab6af4b Update DslToWireMockClientConverterSpec.groovy 2017-11-28 08:33:45 +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
JohannesDorn
be1c57ffbf Fix #471 2017-11-27 11:45:19 +01:00
Marcin Grzejszczak
32c1850c54 updated the versions 2017-11-24 14:34:43 +01:00
Marcin Grzejszczak
6323ec4acb Fixed bumping libs 2017-11-24 13:16:54 +01:00
Marcin Grzejszczak
7e4d44a412 Changed samples versions 2017-11-24 12:53:34 +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