Marcin Grzejszczak
dc1c230b3d
Disabling support for size checks when path contains [*]
...
we'll need to flatten the array before checking the size. That logic will end up in our custom assertions.
related to #217
2017-02-09 15:07:31 +01:00
Marcin Grzejszczak
14182adba0
Merge branch '1.0.x'
2017-02-08 17:41:43 +01:00
Marcin Grzejszczak
ab5d47e7a6
Changed the taken port
...
fixes #221
2017-02-08 17:41:26 +01:00
Marcin Grzejszczak
f586cf298d
Changing the default layout of stubs
...
without this change the stubs are just placed under the contracts|mappings folders. If you have many of these JARs on the classpath then you might have a problem to say which stubs belong to which server.
with this change we're changing the default location to META-INF/groupid/artifactid/version/contract|mappings . That way you can easily discern stubs
fixes #54
2017-02-08 14:58:04 +01:00
Marcin Grzejszczak
d75636169f
Merge branch '1.0.x'
2017-02-08 14:04:24 +01:00
Marcin Grzejszczak
92349595e5
Fixed unnecessary slash ( #218 )
...
without this change the pattern for stubs contains an unnecessary / which corrupts the location search (e.g. /_files is converted to //_files and there is no such path)
with this change we're removing that value
fixes #216
2017-02-08 14:04:07 +01:00
Marcin Grzejszczak
f34039bbfb
Added SpringCloudContractAssertions
...
we're hiding the details related to assertions in our new abstraction over assertj assertions. That way we'll be able to add new methods in an easy way. There will be no need to create annonymous conditions etc.
2017-02-08 14:02:29 +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
824e00ef34
Removed adding the dependency by the Gradle plugin
2017-02-08 11:05:09 +01:00
Marcin Grzejszczak
f7582d2f14
Fixed the broken Gradle build
2017-02-07 19:03:40 +01:00
Marcin Grzejszczak
bb7f2f1cd5
Merge branch '1.0.x'
2017-02-07 14:09:25 +01:00
Marcin Grzejszczak
5db234dc0f
Trying to fix the NPE
2017-02-07 14:09:01 +01:00
Marcin Grzejszczak
d86e205c7d
Merge branch '1.0.x'
2017-02-07 13:59:19 +01:00
Marcin Grzejszczak
7549e14a26
Fixed checkstyle
2017-02-07 13:59:10 +01:00
Marcin Grzejszczak
6d078dead4
Merge branch '1.0.x'
2017-02-07 13:56:43 +01:00
Marcin Grzejszczak
b8890febfd
Fixed NPE due to missing bean
2017-02-07 13:56:17 +01:00
Marcin Grzejszczak
0c14acc412
Merge branch '1.0.x'
2017-02-03 10:49:57 +01:00
Marcin Grzejszczak
e1816681dd
Fixed the condition for min / max assertions to use 0 too
...
without this change due to Groovy Truth, size 0 is ignored
with this change we're checking for null, thus size 0 is not ignored
fixes #204
2017-02-03 10:49:47 +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
c2e2daf5d2
Merge branch '1.0.x'
2017-02-02 17:28:44 +01:00
Marcin Grzejszczak
7af3a75ac4
Removed info about missing contracts
...
fixes #212
2017-02-02 17:25:58 +01:00
Marcin Grzejszczak
6c0e141d59
Merge branch '1.0.x'
2017-02-02 17:18:13 +01:00
Marcin Grzejszczak
e135e618ec
Polish
2017-02-02 17:16:36 +01:00
Marcin Grzejszczak
eaea0a6d21
Upgrading WireMock to 2.5.1
...
fixes #202
2017-02-02 17:15:04 +01:00
Marcin Grzejszczak
1e9e7a4792
Added foreward compatibility with WireMock stubs
...
fixes #213
2017-02-02 17:00:17 +01:00
Marcin Grzejszczak
caf0452c4b
Clearing up the way dependencies are setup for Gradle plugin
2017-02-02 14:32:20 +01:00
Marcin Grzejszczak
79c6a2e72c
Asserting empty array in the response ( #211 )
...
with this change we're using new JSONAssert that allows to check if an array is empty
fixes #203
2017-02-02 13:27:46 +01:00
Marcin Grzejszczak
e5b9eb9843
Asserting empty array in the response ( #211 )
...
with this change we're using new JSONAssert that allows to check if an array is empty
fixes #203
2017-02-02 13:24:10 +01:00
Marcin Grzejszczak
87ec2a0f62
Merge branch '1.0.x'
2017-02-01 13:28:54 +01:00
Marcin Grzejszczak
032a1637ab
Fixing broken json outputs
2017-02-01 13:28:47 +01:00
Marcin Grzejszczak
0c6e61a1ca
Merge branch '1.0.x'
2017-02-01 13:14:36 +01:00
Marcin Grzejszczak
91e2a8f6bf
Reusing the org.skyscreamer:jsonassert from boot's BOM
...
fixes #209
2017-02-01 13:14:22 +01:00
Marcin Grzejszczak
490ba50613
Merge branch '1.0.x'
2017-02-01 10:14:44 +01:00
Patrice Conil
1337bb0dea
Implement JSON matching with JSON Content-Type ( #208 )
...
fixes #116
2017-02-01 10:13:24 +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
c2a8bb8cb7
Merge branch '1.0.x'
2017-01-26 13:11:54 +01:00
Marcin Grzejszczak
ed30fc6aa5
Fixed the not setting of response status for rest docs
...
without this change the status recorded in the test was not properly placed in the stub
with this change it gets fixed
fixes #199
2017-01-26 13:11:37 +01:00
Marcin Grzejszczak
c8784dccac
Made the tests less brittle
2017-01-26 12:20:01 +01:00
Marcin Grzejszczak
374a9916ed
Fixed the broken test
2017-01-25 17:13:11 +01:00
Marcin Grzejszczak
dc670f7f1f
Merge branch '1.0.x'
2017-01-25 16:53:17 +01:00
Marcin Grzejszczak
e10a752c45
Polish
2017-01-25 16:51:59 +01:00
Marcin Grzejszczak
d0149353c0
Fixed missing @Ignored import
...
fixes #200
2017-01-25 16:43:03 +01:00
Marcin Grzejszczak
152d598bff
Merge branch '1.0.x'
2017-01-20 13:49:15 +01:00
Koichi Sakata
46f0c99e2e
Fixed dirty jar with contracts
2017-01-20 13:48:26 +01:00
Marcin Grzejszczak
0922101b93
Merge branch '1.0.x'
2017-01-18 12:24:17 +01:00