Commit Graph

290 Commits

Author SHA1 Message Date
Marcin Grzejszczak
dc0ffd587e Merged 1.1.x 2017-10-24 18:33:19 +02:00
Marcin Grzejszczak
d7bda71cf6 Merge branch '1.1.x' 2017-10-24 18:30:34 +02:00
Marcin Grzejszczak
05db1d0933 Removing file feature from docs 2017-10-24 18:29:05 +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
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
063cea4f5b Bumping versions to 1.1.5.BUILD-SNAPSHOT after release 2017-10-03 14:02:15 +02:00
Marcin Grzejszczak
67f4f11119 Going back to snapshots 2017-10-03 14:02:15 +02:00
Marcin Grzejszczak
e1b65dd672 Update SNAPSHOT to 1.1.4.RELEASE 2017-10-03 13:56:14 +02:00
Marcin Grzejszczak
ee5a1b997e Added a note about Rest Assured 3.0 2017-09-12 11:40:56 +02:00
Jay Bryant
2e9459d740 Proofreading pass (#417)
I proofread the documentation and made it more formal.
2017-09-09 09:09:31 +02:00
Marcin Grzejszczak
15cd85540c Updated docs about fromRequest().path() fixes #411 2017-09-04 11:40:33 +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
Marcin Grzejszczak
38028b5b07 Merge branch '1.1.x' 2017-09-01 14:39:00 +02:00
Marcin Grzejszczak
d9fe4ac307 Adding note in the docs about Stubrunner and messaging; fixes #407 2017-09-01 14:38:51 +02:00
Marcin Grzejszczak
bf0159dbc7 Merge branch '1.1.x' 2017-08-31 14:47:05 +02:00
Marcin Grzejszczak
2043548e4d Added missing links 2017-08-31 14:46:58 +02:00
Marcin Grzejszczak
385a09f456 Merge branch '1.1.x' 2017-08-31 14:42:59 +02:00
Marcin Grzejszczak
fd04b8a370 Referrencing resources from sc-build 2017-08-31 14:42:53 +02:00
Marcin Grzejszczak
2777b98485 Merge branch '1.1.x' 2017-08-30 16:40:04 +02:00
Marcin Grzejszczak
babd671e32 Rebalanced docs; fixes #403 2017-08-30 16:31:47 +02:00
Dave Syer
51a35ce6b7 Use wiremock-standalone instead of the ambient server
The standalone jar is in much better shape now, and relocates all the
dependencies, like guava and jetty, so it's safe to use in a Spring
Boot project with Tomcat or a different version of jetty.

Fixes gh-397
2017-08-30 08:29:29 +01:00
Marcin Grzejszczak
5381ef8447 Merge branch '1.1.x' 2017-08-29 15:40:30 +02:00
Marcin Grzejszczak
113d4e2a4d Migrated to new docs 2017-08-29 15:39:55 +02:00
Marcin Grzejszczak
587a0c37a0 New docs; fixes #395 2017-08-29 09:53:47 +02:00
Marcin Grzejszczak
e48a29297a Merge branch '1.1.x' 2017-08-28 17:31:09 +02:00
WhyINeedToFillUsername
08f20afd91 Updated description of byType testMatcher (#394)
fixes #393
2017-08-28 16:27:03 +02:00
Marcin Grzejszczak
4e122278a6 Merge branch '1.1.x' 2017-08-28 16:09:59 +02:00
Marcin Grzejszczak
49df7bf472 Wrong assertion type is picked for Iterables
without this change in the generated test when SpringCloudContractAssertions are used the compiler is picking an invalid type of Assertj Assertions.
with this change we're explicitly casting to the appropriate interface so that the SpringCloudContractAssertions methods are picked

fixes #381
2017-08-28 16:09:51 +02:00
Marcin Grzejszczak
4c82cf1b58 Revert "Wrong assertion type is picked for Iterables"
This reverts commit 8d2549fecf.
2017-08-28 16:04:13 +02:00
Marcin Grzejszczak
50c5a416bb Merge branch '1.1.x' 2017-08-28 15:52:24 +02:00
Marcin Grzejszczak
8d2549fecf Wrong assertion type is picked for Iterables
without this change in the generated test when SpringCloudContractAssertions are used, we're casting the read element of the JSON to a Collection class whereas we should be casting to an Iterable.

fixes #381
2017-08-28 15:39:34 +02:00
Marcin Grzejszczak
8e850a9184 Merge branch '1.1.x' 2017-08-28 10:02:19 +02:00
Marcin Grzejszczak
1c0d4e56cf Added more documentation to the byCommand assertion; #299 2017-08-28 10:02:13 +02:00
Marcin Grzejszczak
ccdeda1fe1 Going back to snapshots 2017-08-25 14:58:18 +02:00
Marcin Grzejszczak
9782ec10ea Update SNAPSHOT to 1.2.0.M1 2017-08-25 14:55:31 +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
b99bf95ff9 Bumping versions to 1.1.4.BUILD-SNAPSHOT after release 2017-08-21 12:33:24 +02:00
Marcin Grzejszczak
237ee85dc3 Going back to snapshots 2017-08-21 12:33:24 +02:00
Marcin Grzejszczak
b81bb2a489 Update SNAPSHOT to 1.1.3.RELEASE 2017-08-21 12:28:10 +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
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
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
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