Marcin Grzejszczak
14c0600f8b
Contract converters shouldn't require java 8
2018-02-09 10:04:26 +01:00
Ryan Baxter
1598f97575
using latest spring-cloud-dependencies-parent
2018-02-07 16:34:38 -05:00
Ryan Baxter
2bef31d7a5
using latest spring-cloud-build
2018-02-07 16:33:20 -05:00
Marcin Grzejszczak
83e304008e
Bumped jsonassert to 0.4.11
...
fixes gh-538, gh-537
2018-02-05 14:48:04 +01:00
Dave Syer
3ee5c4c308
Revert "Remove unnecessary placeholder resolution"
...
This reverts commit 2d9c505715 .
2018-01-30 11:16:45 +00:00
Marcin Grzejszczak
af463792ca
Updated the docs
2018-01-29 15:19:06 +01: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
a49630bade
Added debug information
2018-01-25 17:57:56 +01:00
Marcin Grzejszczak
01f55db2c6
Bumped WireMock to 2.14; fixes #506
2018-01-25 10:50:32 +01:00
Marcin Grzejszczak
0da705520e
Trying to fix Circle build
2018-01-24 18:25:03 +01:00
Marcin Grzejszczak
1808923b43
Fixed docker org name
2018-01-24 17:29:14 +01:00
Marcin Grzejszczak
37d7e8cfd3
Docker images ( #527 )
...
with this change we're adding generation of 2 docker images - verifier and stub runner
we also added a project `spring-cloud-contract-stub-runner-boot` which contains a far jar with stub runner boot
fixes gh-526, gh-516
2018-01-24 17:07:22 +01:00
Marcin Grzejszczak
a5bdb32b7c
Fixing the build?
2018-01-19 09:33:43 +01:00
Marcin Grzejszczak
ec10ca8bb9
Fixed wrong version
2018-01-19 01:28:01 +01:00
Marcin Grzejszczak
ca51769f98
Using unique port for standalone tests
2018-01-19 01:20:34 +01:00
Marcin Grzejszczak
f486eeb85b
Added 1.2.x to whitelist
2018-01-19 00:47:20 +01:00
Marcin Grzejszczak
2fc0c75c44
Bumped parent
2018-01-19 00:42:16 +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
Ryan Baxter
470faf7523
bumping netflix, commons, and build
2018-01-15 19:34:44 -05: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
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