Commit Graph

188 Commits

Author SHA1 Message Date
Marcin Grzejszczak
a2dddff057 Bumped libs 2017-08-29 08:57:07 +02:00
Marcin Grzejszczak
13bc6aa93c Removed unnecessary gson dep fixes #58 2017-08-22 17:40:48 +02:00
Marcin Grzejszczak
0b3233fd03 Bumped maven samples 2017-08-21 12:56:19 +02:00
Marcin Grzejszczak
7f2833a868 Bumped Gradle plugin version in samples 2017-08-21 12:35:44 +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
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
11b864dada Updated Boot version 2017-07-19 11:14:56 +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
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
464e886bb8 Added versions 2017-05-26 22:03:29 +02:00
Marcin Grzejszczak
f599a8d745 Updated versions 2017-05-26 20:34:29 +02:00
Marcin Grzejszczak
76de9cec36 Bumped versions after release 2017-05-26 14:57:34 +02:00
Marcin Grzejszczak
e0ea1b27f0 Bumping versions to 1.1.2.BUILD-SNAPSHOT after release 2017-05-22 23:57:24 +02:00
Marcin Grzejszczak
82f68347fa Going back to snapshots 2017-05-22 23:57:23 +02:00
Marcin Grzejszczak
7a10b3bf34 Update SNAPSHOT to 1.1.1.RELEASE 2017-05-22 23:51:18 +02:00
Dave Syer
2f01b89345 Update Spring Boot versions in messaging tests 2017-05-15 11:41:09 +01: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
cf52e6baa6 Added support fot dots in keys
without this change it's impossible to work with jsons that have dots in keys
    with this change that's possible again

    fixes #269
2017-04-26 12:12:17 +02:00
Marcin Grzejszczak
221b88044d Merge branch 'master' into features/docs-tuning 2017-04-25 07:42:33 +02:00
Marcin Grzejszczak
e9770c6ac2 Fixed the build 2017-04-24 15:05:43 +02:00
Dave Syer
f3102d6366 Merge branch '1.0.x' 2017-04-24 09:21:35 +01:00
Dave Syer
d3f6ad90a8 Add a fault injector if server is jetty or tomcat
Tomcat sends a slightly different reponse and the client sees it
differently in the malformed chunk scenario. It would be good to have
the same features for Undertow.

See gh-270.
2017-04-24 09:20:17 +01: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
Jakub Kubryński
7c8a8b4d33 Simplify samples used in documentation (#268) 2017-04-18 14:17:35 +02:00
Marcin Grzejszczak
fb2520b9d3 Merge branch '1.0.x' 2017-04-14 17:16:17 +02:00
Marcin Grzejszczak
f4aa98636e Fixed tests 2017-04-14 17:16:01 +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
ef5020986f Bumping versions to 1.1.1.BUILD-SNAPSHOT after release 2017-04-11 11:26:11 +02:00
Marcin Grzejszczak
fe14d5c7d9 Going back to snapshots 2017-04-11 11:23:13 +02:00
Marcin Grzejszczak
c167df4fd6 Update SNAPSHOT to 1.1.0.RELEASE 2017-04-11 11:08:00 +02:00
Dave Syer
ac9e976a4b Merge remote-tracking branch 'origin/1.0.x' 2017-03-24 09:43:04 +00:00
Dave Syer
c1e285e76f Fix property source ordering issue with bootstrap context
The problem is that the bootstrap context gets created first
with the correct wiremock server port, and then the environment
is merged into the main context before the annotation
property source is created, so the latter takes precedence.
Fixed by re-ordering the property sources if detected.

Also switch off bootstrap context for wiremock server

Fixes gh-225
2017-03-24 09:41:36 +00:00
Marcin Grzejszczak
a6cd890b50 Going back to snapshots 2017-03-17 10:09:33 +01:00
Marcin Grzejszczak
47dc54cad4 Update SNAPSHOT to 1.1.0.RC1 2017-03-17 10:04:52 +01:00
Marcin Grzejszczak
77f42a6f98 Bumped versions 2017-03-13 09:51:30 +01:00
Marcin Grzejszczak
ef9c567d46 Going back to snapshots 2017-03-10 15:00:53 +01:00
Marcin Grzejszczak
63180de4fe Bumping versions before release 2017-03-10 14:46:47 +01:00
Marcin Grzejszczak
220ddd85bf Bumped libs: 2017-03-07 23:11:51 +01:00
Marcin Grzejszczak
5d0c63f5c3 Bumped libs 2017-03-07 16:36:34 +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
e36a6e2b56 Going back to snapshots 2017-01-30 11:47:27 +01:00