Commit Graph

1629 Commits

Author SHA1 Message Date
Marcin Grzejszczak
6b71bb95fb Merge branch '1.1.x' 2017-07-04 13:17:10 +02:00
Dmitri Karpovich
06a3a5ff2d fixed typo 2017-07-04 13:12:36 +02:00
Marcin Grzejszczak
476baa1c63 Merge branch '1.1.x' 2017-07-03 13:03:31 +02:00
Marcin Grzejszczak
8c96a21abf Fixed caching of downloaded contracts in Gradle
without this change when using a daemon, for snapshot versions of downloaded contracts allways the same folder is returned
with this change we cache only non snapshot artifacts; also there's a switch you can set to disable caching at all

fixes #343
2017-07-03 12:52:48 +02:00
Marcin Grzejszczak
c496722838 Merge branch '1.1.x' 2017-07-03 11:10:20 +02:00
Marcin Grzejszczak
b54c36ce8b Polish 2017-07-03 11:10:02 +02:00
Tomasz Kopczynski
9d0075f586 gh-342: Rest Docs stubs with no body 2017-07-02 22:59:38 +02:00
Marcin Grzejszczak
c574c0dc77 Merge branch '1.1.x' 2017-07-02 14:17:57 +02:00
Marcin Grzejszczak
0fbefbaf24 Trying to make the stub runner logic work with changes in sc-common 2017-07-02 14:05:27 +02:00
Marcin Grzejszczak
7890e75328 Merge branch '1.1.x' 2017-06-28 15:04:18 +02:00
Marcin Grzejszczak
99deaad17e Contracts path cannot be overriden
without this change there's no way to change the default path of the path to the contracts when trying to execute the convert / generateTests task for another project
with this change we're setting properly the `spring.cloud.contract.verifier.contractsDirectory` for both tasks

fixes #338
2017-06-28 14:45:33 +02:00
Marcin Grzejszczak
828590b476 Merge branch '1.1.x' 2017-06-28 12:47:27 +02:00
Marcin Grzejszczak
aa68196b27 Added tests for #336
fixes #336
2017-06-28 12:46:56 +02:00
Marcin Grzejszczak
9295f6b554 Merge branch '1.1.x' 2017-06-28 12:08:28 +02:00
Marcin Grzejszczak
39be73ac13 Fixed checkstyle 2017-06-28 12:08:20 +02:00
Marcin Grzejszczak
4611a49ed9 Merge branch '1.1.x' 2017-06-28 11:47:01 +02:00
Marcin Grzejszczak
36409ac400 Fixing the way queue binding key gets used for rabbit listener
without this change we're very strict in terms of the number of called send methods on the rabbittemplate
with this change we accept that the method could have been called more than once

fixes #332
2017-06-28 11:46:22 +02:00
Marcin Grzejszczak
7be2d8dad5 Bumped rest assured to 3.0
fixes #267
2017-06-26 18:15:39 +02:00
Marcin Grzejszczak
61411e0831 Don't swallow exceptions when downloading stubs
without this change when any exception occurs (e.g. the stub can't be downloaded) a null will be returned
with this change we want to throw an exception instead

fixes #314
2017-06-26 14:34:29 +02:00
Marcin Grzejszczak
a58461f1c0 Bumped libs
WireMock to 2.6.0
 Boot to 1.5.5.BUILD-SNAPSHOT
 jopt to 5.0.3
 spock global unroll to 0.5.1
 hoverfly to 0.2.2
 commons3 to 3.6

fixes #317
2017-06-26 11:01:55 +02:00
Marcin Grzejszczak
22e2284256 Removed deprecations 2017-06-23 14:36:43 +02:00
Marcin Grzejszczak
e76d57dcbd Merge branch '1.1.x' 2017-06-21 06:57:23 +02:00
Marcin Grzejszczak
49a542e214 Fixed the logging level for #329 2017-06-21 06:57:13 +02:00
Marcin Grzejszczak
3e5de6d209 Merge branch '1.1.x' 2017-06-20 21:52:03 +02:00
Marcin Grzejszczak
97380129a4 Fixed wrong contract pattern scanning
e.g. this worked

com/example/foo/...

this didn't

/contract/com/example/foo/...

fixes #335
2017-06-20 21:46:22 +02:00
Marcin Grzejszczak
953f98d494 Fixed intellij shading dependencies 2017-06-20 21:46:13 +02:00
Marcin Grzejszczak
c286bf15aa Trying to make things work 2017-06-20 17:24:47 +02:00
Marcin Grzejszczak
3ff0ed942c Trying to make the shading work in intellij (again) 2017-06-20 17:24:32 +02:00
Marcin Grzejszczak
82fda14b61 Bumped versions 2017-06-20 15:10:16 +02:00
Marcin Grzejszczak
ea5e7e238b Trying to make the shading work in intellij (again) 2017-06-20 09:26:11 +02:00
Marcin Grzejszczak
12ce468b6d Removing deprecations 2017-06-19 18:46:02 +02:00
Dave Syer
d67e69624a Revert change the fails tests (committed by mistake) 2017-06-19 11:28:50 +01:00
Dave Syer
8cdad73158 Add support for placeholder resolution in stub file names
E.g. document("{method-name}/{step}").

Fixes gh-84
2017-06-16 14:47:38 +01:00
Marcin Grzejszczak
0905469866 Shades aether (#326)
That way we do not interfere with whatever Maven brings on its classpath

without this change deployment might fail due to being unauthorized.
with this change we're shading aether and maven in stub runner. Due to this there is no classpath clash any more

fixes #325
2017-06-14 14:30:56 +02:00
Marcin Grzejszczak
cec5d29f1c Less noise from WireMockHttpServerStub; fixes #329 2017-06-14 14:16:26 +02:00
Marcin Grzejszczak
6e61b5b8f3 Fixed broken test 2017-06-14 13:50:40 +02:00
Marcin Grzejszczak
69d1be515d Added helper methods for contract extension
without these methods to use  and  fields you need to prepend the  word - otherwise you're setting it on the project

fixes #328
2017-06-14 12:46:58 +02:00
Marcin Grzejszczak
88c959beea Fixed wrong classifier setting
without this change the classifier is picked from the `classifier` field in the extension and not from the parsed string notation

fixes #327
2017-06-14 12:36:10 +02:00
Dave Syer
186886029b Switch to Boot 1.5.4.RELEASE for samples in Gradle 2017-06-13 14:52:43 +01:00
Dave Syer
ac28dd204c Switch to Boot 1.5.4.RELEASE for samples 2017-06-13 14:46:05 +01:00
Marcin Grzejszczak
1a462893e2 Fixed missing header setting and messaging test indentation
fixes #323
2017-06-09 13:05:42 +02:00
Marcin Grzejszczak
2b527b5579 Added a null check if someone passes null as headers for amqp 2017-06-09 12:15:43 +02:00
Marcin Grzejszczak
325afbe3ec Fixed wrong condition on jsonpath for rest docs
fixes #298
2017-06-06 13:28:31 +02:00
Marcin Grzejszczak
b158ed4919 Fixed broken response headers assertions
fixes #318
2017-06-05 11:29:43 +02:00
Marcin Grzejszczak
4631ab6ea8 Adds support for execute in request body
fixes #313
2017-06-01 17:50:10 +02:00
Marcin Grzejszczak
fe299de7c2 Throwing exception when wanted remote repo and got a local m2 instance
without this change even though we want a remote repo to be used for the artifact we return a cached instance
with this change we're throwing an exception if we can't download the artifact and we found one cached in the local repo

fixes #312
2017-06-01 15:48:13 +02:00
Marcin Grzejszczak
066dd20709 Upgraded jacoco to 0.7.7 - without this moco tests fail 2017-05-31 17:06:37 +02:00
Marcin Grzejszczak
bd5a3b39ca Downgraded jacoco 2017-05-31 16:50:50 +02:00
Marcin Grzejszczak
cd67e1f0ea Revert "Trying to make moco thing work"
This reverts commit 29f1d614eb.
2017-05-31 16:42:50 +02:00
Marcin Grzejszczak
29f1d614eb Trying to make moco thing work 2017-05-31 16:30:42 +02:00