Commit Graph

270 Commits

Author SHA1 Message Date
Marcin Grzejszczak
011f4b3e31 Merge branch 'master' into 2.0.x 2017-08-24 12:08:12 +02:00
Marcin Grzejszczak
3b88fea8bd basePackageForTests can be configured automatically
without this change we always set the default value of the package with generated tests, unless a value overrides it.
with this change the flow for setting the generated tests package name will look like this:

- pick basePackageForTests
- if basePackageForTests wasn't set pick the package from baseClassForTests
- if baseClassForTests wasn't set pick packageWithBaseClasses
- if nothing got set pick the default org.springframework.cloud.contract.verifier.tests

The rationale behind this change is such that often in the base class you would like to have package scoped methods and the fact that the tests are always generated in the default location requires to make these methods public or always override this property.

fixes #260
2017-08-24 12:08:02 +02:00
Marcin Grzejszczak
1b00129a25 Merge branch 'master' into 2.0.x 2017-08-18 18:15:50 +02:00
Marcin Grzejszczak
b49d5724d3 Merge branch '1.1.x' 2017-08-18 18:15:41 +02:00
Marcin Grzejszczak
1cebf3f450 Add documentation that matchers are removing only part of request / response
fixes #383
2017-08-18 18:04:17 +02:00
Marcin Grzejszczak
1f5d3a1f16 Whitelisted 2.0.x branch 2017-08-07 17:14:08 +02:00
Marcin Grzejszczak
5e3efb9d69 Merge branch 'master' into 2.0.x 2017-08-07 17:11:38 +02:00
Marcin Grzejszczak
3ff1e6573b Merge branch '1.1.x' 2017-08-07 17:08:09 +02:00
Marcin Grzejszczak
7f22c14371 Lowered number of elements in toc 2017-08-07 17:07:35 +02:00
Marcin Grzejszczak
8cccad5eba Merge branch 'master' into 2.0.x 2017-08-07 16:54:04 +02:00
Marcin Grzejszczak
4912cb0e8e Merge branch '1.1.x' 2017-08-07 16:40:26 +02:00
Marcin Grzejszczak
2dd22d6646 Added 1.1.x to whitelisted branches 2017-08-07 16:37:07 +02:00
Marcin Grzejszczak
c32da1a96e Updated the documentation layout and style 2017-08-07 16:34:42 +02:00
Marcin Grzejszczak
53a5fe7076 Merge branch 'master' into 2.0.x 2017-07-31 16:11:18 +02:00
Marcin Grzejszczak
b431f1b788 Bumped WireMock to 2.7.1 and added debug option for WireMock
fixes #374 #369
2017-07-31 16:09:35 +02:00
Marcin Grzejszczak
e4af835b8e Going back to snapshots 2017-07-21 14:30:45 +02:00
Marcin Grzejszczak
85f458e34c Update SNAPSHOT to 1.1.2.RELEASE 2017-07-21 14:06:43 +02:00
Marcin Grzejszczak
473a2b9197 Merge branch 'master' into 2.0.x 2017-07-18 17:30:48 +02:00
Marcin Grzejszczak
4de7d38a51 Added support for referencing file contents in the contract (#360)
without this change, large bodies can't be parsed by the compiler
with this change we allow those bodies to be read from files

fixes #357
2017-07-18 16:26:44 +02:00
Marcin Grzejszczak
0ea6d366aa Merge branch 'master' into 2.0.x 2017-07-13 19:14:04 +02:00
Marcin Grzejszczak
ff03b25cb3 Merge branch '1.1.x' 2017-07-13 19:13:04 +02:00
Marcin Grzejszczak
28abd6fdce Added username and password for Gradle contract downloading
without this change you can't generate tests when working with Gradle that is to download contracts from an external repo

fixes #333
2017-07-13 18:59:20 +02:00
Marcin Grzejszczak
135a832056 Merge branch 'master' into 2.0.x 2017-07-13 15:54:16 +02:00
Marcin Grzejszczak
66d38f83a5 Added documentation on migrating from 1.0.x to 1.1.x
fixes #350
2017-07-13 15:53:15 +02:00
Marcin Grzejszczak
7328012989 Merge branch 'master' into 2.0.x 2017-07-13 15:30:50 +02:00
Marcin Grzejszczak
0c234e089c Adding option to dump mappings to files (#356)
without this feature we're missing an option to print all mappings registered for servers
with this feature it will be much easier to debug what was registered in which http server stub. The mappings will be dumped to files with name artifactName_registeredPort

fixes #355
2017-07-13 15:30:34 +02:00
Marcin Grzejszczak
baed8898e1 Merge branch 'master' into 2.0.x 2017-07-04 13:19:57 +02:00
Marcin Grzejszczak
da85b3f252 Merge branch '1.1.x' 2017-07-04 13:19:47 +02:00
Dmitri Karpovich
f0f6a26d04 fixed wrong path of the contracts in documentation 2017-07-04 13:19:39 +02:00
Marcin Grzejszczak
801a25801a Merge branch 'master' into 2.0.x 2017-07-04 13:17:33 +02:00
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
935171c13a Merge branch 'master' into 2.0.x 2017-07-03 13:03:45 +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
2d7055560f Going back to snapshots 2017-06-29 08:34:29 +02:00
Marcin Grzejszczak
76e47bfdec Update SNAPSHOT to 2.0.0.M1 2017-06-29 08:24:17 +02:00
Marcin Grzejszczak
6816b08e0c Merge branch 'master' into 2.0.x 2017-06-28 15:04:28 +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
f37eb63a1a Merge branch 'master' into 2.0.x 2017-06-26 18:28:33 +02:00
Marcin Grzejszczak
7be2d8dad5 Bumped rest assured to 3.0
fixes #267
2017-06-26 18:15:39 +02:00
Marcin Grzejszczak
e8142b4b43 Merge branch 'master' into 2.0.x 2017-06-26 11:38:57 +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
82fda14b61 Bumped versions 2017-06-20 15:10:16 +02:00
Marcin Grzejszczak
c1fca13f12 Initial commit 2017-06-15 14:56:18 +02:00
Marcin Grzejszczak
4631ab6ea8 Adds support for execute in request body
fixes #313
2017-06-01 17:50:10 +02:00
Marcin Grzejszczak
8979b79c56 Added examples of multipart support
fixes #304
2017-05-31 15:40:35 +02:00
Marcin Grzejszczak
464e886bb8 Added versions 2017-05-26 22:03:29 +02:00
Marcin Grzejszczak
5a82609e41 Added docs for byCommand and execute
without this there's no knowledge of what type should the method in byCommand and execute

fixes #299
2017-05-26 21:30:34 +02:00