Commit Graph

179 Commits

Author SHA1 Message Date
Marcin Grzejszczak
f435201a90 Merge branch '1.0.x' 2017-05-05 11:42:22 +02:00
Tomasz Kopczynski
1851aaf2b0 Additional linking between sections in REST Docs integration documentation (#291) 2017-05-05 11:42:07 +02:00
Marcin Grzejszczak
15ef2cab35 Merge branch '1.0.x' 2017-05-05 11:41:39 +02:00
Marcin Grzejszczak
a85ece38f3 Updated docs 2017-05-04 16:49:50 +02:00
Tomasz Kopczynski
d301f547f6 Spring REST Docs integration docs fix (#288)
I believe this was meant to enumerate Spring REST Docs supported technologies. If so, then it should be Rest Assured here.
2017-04-28 18:12:29 +02:00
Marcin Grzejszczak
c9538548fd Adds an option to use StubRunner from classpath (#284)
without this change there's no option to use Stub Runner to pick stubs from classpath
with this change we're adding that option. It's enough for the user not to provide neither the `repositoryRoot` nor `workOffline`. If that's the case then Classpath scanning will take place.

fixes #282
2017-04-27 17:13:15 +02:00
Marcin Grzejszczak
a804894c9a Updated code and docs 2017-04-26 12:42:33 +02:00
Marcin Grzejszczak
0552560345 Polish 2017-04-25 07:52:00 +02:00
Marcin Grzejszczak
221b88044d Merge branch 'master' into features/docs-tuning 2017-04-25 07:42:33 +02:00
Dave Syer
225e83d025 Merge branch '1.0.x' 2017-04-21 16:10:30 +01:00
Dave Syer
235281ce9f Add @AutoConfigureHttpClient for SSL validation error handling
For tests only users can add this annotation to make the rest template
in their app ignore SSL validation.
2017-04-21 16:09:08 +01:00
jkubrynski
b600b85908 Polish documentation 2017-04-18 21:41:09 +02:00
Marcin Grzejszczak
1a22c00359 Merge branch '1.0.x' 2017-04-14 17:10:17 +02:00
Marcin Grzejszczak
2ce4b2e67c Added an option to use Rest Assured version 3.0
without this change it's impossible to use Rest Assured 3.0 with Spring Cloud Contract. That's because we are adding Rest Assured 2.0 imports.
with this change we detect Rest Assured version. If 3.0 is available on the classpath we change the imports

fixes #266
2017-04-14 15:31:22 +02:00
Marcin Grzejszczak
d8aa81bf44 Updated docs 2017-04-10 14:42:03 +02:00
Peter Frank
05f7602bb3 gh-258: Added logging config for debugging to FAQ (#259)
Changed the advice to use Spring Boot's logging common application property and linked to appropriate reference page for more information

fixes gh-258
2017-04-05 06:55:34 +02:00
Marcin Grzejszczak
5f714f13c1 Merge branch '1.0.x' 2017-03-10 13:04:02 +01:00
Marcin Grzejszczak
aa92a11d82 Added docs for he STS issue
fixes #244
2017-03-10 12:53:06 +01:00
Marcin Grzejszczak
d8b4452c2a Merge branch '1.0.x' 2017-03-03 17:34:47 +01:00
Marcin Grzejszczak
c25e375241 Elaborated more on base class config in step by step part
fixes #239
2017-03-03 17:17:22 +01:00
Marcin Grzejszczak
d6f2227f89 Referencing request from response (#238)
The best situation is to provide fixed values but sometimes you need to reference a request in your response. In order to do this you can profit from the fromRequest() method that allows you to reference a bunch of elements from the HTTP request. You can use the following options:

- `fromRequest().url()` - return the request URL
- `fromRequest().query(String key)` - return the first query parameter with a given name
- `fromRequest().query(String key, int index)` - return the nth query parameter with a given name
- `fromRequest().header(String key)` - return the first header with a given name
- `fromRequest().header(String key, int index)` - return the nth header with a given name
- `fromRequest().body()` - return the full request body
- `fromRequest().body(String jsonPath)` - return the element from the request that matches the JSON Path

fixes #237
2017-03-02 10:14:10 +01:00
Marcin Grzejszczak
9c96d3de3d Merge branch '1.0.x' 2017-02-28 13:12:27 +01:00
Dennis Kieselhorst
a568f0d89d use local repository path from maven settings (#236)
without this change the local repository maven setup is completely ignored
with this change whatever you have set up locally will be taken into consideration
2017-02-28 13:07:24 +01:00
Marcin Grzejszczak
79fb8be4c3 Merge branch '1.0.x' 2017-02-27 09:41:16 +01:00
linzhaoming
bf2207a043 Fixed a typo in docs (#234) 2017-02-27 09:40:52 +01:00
Marcin Grzejszczak
255b996ba5 Fixed a typo in docs 2017-02-23 17:52:28 +01:00
Marcin Grzejszczak
10c28a3eea Merge branch '1.0.x' 2017-02-23 17:49:52 +01:00
Marcin Grzejszczak
31f1727bdb Fixed a typo in docs 2017-02-23 17:48:36 +01:00
Marcin Grzejszczak
0048ebd756 Merge branch '1.0.x' 2017-02-23 17:37:40 +01:00
Marcin Grzejszczak
7e19f9fceb Adds option to generate contracts from RestDocs
with this change we're giving an option to not only generate stubs but also generate contracts from the RestDocs test

    fixes #14
2017-02-23 17:37:24 +01:00
Marcin Grzejszczak
265815db61 Merge branch '1.0.x' 2017-02-23 11:12:16 +01:00
Marcin Grzejszczak
14f18dcdd3 Added information in the docs about execute method and concatation
without this it can be misunderstood that execute() can be used with Strings
with this we're informing the users that the value of the given property (url, header, body) has to be uniquely a execute command

fixes #231
2017-02-23 11:09:27 +01:00
Marcin Grzejszczak
a1eb124e0c Updated docs 2017-02-10 13:40:49 +01:00
Marcin Grzejszczak
47102d722b Added the byCommand matcher
with this change the users can pass their own custom methods for the given matcher

hopefully fixes #217
2017-02-10 13:30:09 +01:00
Marcin Grzejszczak
b94a074e41 Merge branch '1.0.x' 2017-02-08 11:42:12 +01:00
Marcin Grzejszczak
ab7fe13aac Adding an option to validate children nodes in an array (#219)
without this change it's impossible to assert with response matchers all elements of an array
with this change we're using AssertJs conditions in case the pattern contains [*]

fixes #217
2017-02-08 11:41:59 +01:00
Marcin Grzejszczak
0c39063cce Merge branch '1.0.x' 2017-02-08 11:07:10 +01:00
Marcin Grzejszczak
8449382110 Added info about the dependencies 2017-02-08 11:06:58 +01:00
Marcin Grzejszczak
e93e6b2dfe Merge branch '1.0.x' 2017-02-03 09:58:42 +01:00
Marcin Grzejszczak
8621a3258b Added support for ranges of versions
fixes #210
2017-02-03 09:57:56 +01:00
Marcin Grzejszczak
bda72f136c Allows to use multiple stub converters
with this change all available stub converters on the classpath will be executed to convert the contract. That way you can make such a flow pass:

- from DSL input
- generate Java tests
- produce WireMock stubs
- produce Pact files

fixes #194
2017-01-16 16:23:27 +01:00
Marcin Grzejszczak
f59107fd62 Merge branch '1.0.x' 2017-01-16 13:45:59 +01:00
Marcin Grzejszczak
12aa340e46 Added an option to build the project in parallel
with this change we've added some scripts to run the build in parallel. It makes the build ~ 2 times faster

fixes #190
2017-01-16 13:05:15 +01:00
Marcin Grzejszczak
8d23d934c9 Bumped copyrights 2017-01-16 12:40:34 +01:00
Marcin Grzejszczak
1dabe2b610 :xMerge branch '1.0.x' 2017-01-14 22:10:24 +01:00
Marcin Grzejszczak
fca7e1935f Updated docs 2017-01-13 18:10:05 +01:00
Marcin Grzejszczak
22a5e44471 Pact Contract (#188)
with this change we're providing support for Pact based contracts. No longer do you have to set up your contracts using the Groovy DSL. In the same way as with the DSL you can use the Pact contracts to generate tests and the stubs on the producer side.

fixes #96
2017-01-13 18:06:32 +01:00
Marcin Grzejszczak
9644b0b790 Merge branch '1.0.x' 2017-01-12 13:25:59 +01:00
Marcin Grzejszczak
897bce6b16 Fixed wrong comparison of size 2017-01-12 12:32:06 +01:00
Marcin Grzejszczak
6ee7f0cf0d Merge branch '1.0.x' 2017-01-11 19:13:59 +01:00