Commit Graph

180 Commits

Author SHA1 Message Date
Marcin Grzejszczak
7c93e76aaa Merge branch '1.1.x' 2017-10-24 12:18:38 +02:00
Marcin Grzejszczak
a87a280a33 Parametrizing ranges 2017-10-24 12:16:35 +02:00
Marcin Grzejszczak
9026e08b16 Bumping boot to snapshots 2017-10-06 14:13:58 +02:00
Marcin Grzejszczak
5062ff5880 Bumped maven props 2017-10-03 14:25:02 +02:00
Marcin Grzejszczak
5e4eabee19 Bumped gradle props 2017-10-03 14:13:12 +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
8a30a18c47 Updated Boot to 2.0.0.M2 2017-08-13 18:40:42 -04:00
Marcin Grzejszczak
c9b4f19f00 Bumped Gradle in samples 2017-07-31 11:50:26 +02:00
Marcin Grzejszczak
e4af835b8e Going back to snapshots 2017-07-21 14:30:45 +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
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
33413084cb Moved the code from groovy to Java o avoid bizarre error 2017-06-22 13:45:29 +02:00
Marcin Grzejszczak
8dc8015be2 Finchley upgrade 2017-06-21 23:43:55 +02:00
Marcin Grzejszczak
82fda14b61 Bumped versions 2017-06-20 15:10:16 +02:00
Marcin Grzejszczak
7dca840cfb Trying to make stub runner work 2017-06-20 10:29:44 +02:00
Marcin Grzejszczak
57fe9939ce Bumped libs 2017-06-19 19:49:33 +02:00
Marcin Grzejszczak
c1fca13f12 Initial commit 2017-06-15 14:56:18 +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
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
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
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
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
ef9c567d46 Going back to snapshots 2017-03-10 15:00:53 +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
Marcin Grzejszczak
dfceed2ce1 Bumping versions before release 2017-01-30 11:41:56 +01:00
Marcin Grzejszczak
bacde76798 Going back to snapshots 2017-01-12 15:58:06 +01:00
Marcin Grzejszczak
bc37cc9a1a Bumping version before release 2017-01-12 15:28:20 +01:00
Marcin Grzejszczak
fef078d2eb Bumped up boot version in samples 2016-12-28 19:57:07 +01:00
Marcin Grzejszczak
b098e300e5 Merge branch '1.0.x' 2016-12-14 22:02:01 +01:00
Marcin Grzejszczak
f9961d17f6 Fixed missing regex value generation
without this change the autogenerated tests were wrong and contained a 'cursor' value
with this change it got fixed

fixes #168
2016-12-14 21:58:01 +01:00
Marcin Grzejszczak
29c8bc82da Depend on Dalston in gradle files 2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
980a0c9758 Depend on Dalston 2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
06243abe3c Added a test with multiple contracts in a file 2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
84d361bae7 Adding tests for multiple contracts 2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
d8ff715527 Bumped up version to 1.1.0 2016-12-07 14:34:56 +01:00
Marcin Grzejszczak
7a347da55a Going back to snapshots 2016-11-24 18:58:50 +01:00
Marcin Grzejszczak
c7883a0d97 Bumping version before release 2016-11-24 18:37:39 +01:00
Dave Syer
fa3c0035e0 Use apache HTTP client instead of JDK
Never got to the bottom of this, but the test failure with the
dropped connection (EOF on socket) seems to go away if we use
the Apache client instead of the JDK.
2016-11-15 09:53:42 +00:00