Commit Graph

1321 Commits

Author SHA1 Message Date
Marcin Grzejszczak
a3c1167df4 Polish 2017-03-10 14:25:18 +01:00
Marcin Grzejszczak
1502c4c7ad Updated gradle plugin build 2017-03-10 14:17:47 +01:00
Marcin Grzejszczak
7c1eb995ae Added links to samples with stub runner cloud
fixes #241
2017-03-10 13:03:45 +01:00
Marcin Grzejszczak
aa92a11d82 Added docs for he STS issue
fixes #244
2017-03-10 12:53:06 +01:00
Marcin Grzejszczak
456253bfe8 Moved releaser config to config folder 2017-03-10 12:52:43 +01:00
Marcin Grzejszczak
302ded2c3d Added the releaser config 2017-03-10 12:31:18 +01:00
Marcin Grzejszczak
74359041da Added build with docs script 2017-03-10 12:20:07 +01:00
Marcin Grzejszczak
3425f9aefa Updated mvnw 2017-03-08 12:08:24 +01:00
Marcin Grzejszczak
b3ee45a48c Made tests less brittle 2017-03-07 22:57:10 +01:00
Marcin Grzejszczak
5d0c63f5c3 Bumped libs 2017-03-07 16:36:34 +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
dec7c1e428 Trying to limit the memory for circleci 2017-03-02 11:22:04 +01:00
Marcin Grzejszczak
59bde4b640 Made headers private 2017-03-02 10:36:30 +01:00
Marcin Grzejszczak
a4007cc3cb Updated Gradle and removed gradle deamon 2017-02-28 14:26:48 +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
linzhaoming
bf2207a043 Fixed a typo in docs (#234) 2017-02-27 09:40:52 +01:00
Marcin Grzejszczak
31f1727bdb Fixed a typo in docs 2017-02-23 17:48:36 +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
a6a8c79b75 Added tests for runtime running stubs interpolation 2017-02-23 11:44:32 +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
19120f55fc Fixed the way we clone bodies in response
without this change we are not doing a deep copy of a collection thus we're accidentaly removing the original value
with this change we ensure that a deep copy is made

fixes #229
2017-02-22 13:30:59 +01:00
Marcin Grzejszczak
60e35be082 Fixed bad javadoc 2017-02-15 14:33:45 +01:00
Marcin Grzejszczak
e9771a08cc Fixed bad javadoc 2017-02-15 14:32:20 +01:00
Marcin Grzejszczak
266bc8e25e Fixing tests 2017-02-14 14:28:32 +01:00
Marcin Grzejszczak
99d393b8e3 Fixed the way we work with body that is just a number
fixes #226
2017-02-14 14:04:39 +01:00
Marcin Grzejszczak
902934f9e3 Fixed the order of tasks
without this change generate contract tests task wasn't forced to be before any test compilation tasks
with this change that's fixed

fixes #223
2017-02-13 17:32:47 +01:00
Marcin Grzejszczak
047addfe84 Fixed the missing setup of path inclusion in generateContractTests task
without this change the Gradle plugin works only by chance since the stub creation task is setting the proper paths. If you execute the task manually it will fail

fixes #222
2017-02-10 15:51:04 +01:00
Marcin Grzejszczak
270907fbd9 Fixed broken tests 2017-02-10 13:42:47 +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
576330652f Added support for .. in the path
when one provides .. in the path it's actually a collection. So if regex is there now we support it. If it's size check - exception will be thrown

fixes #217
2017-02-09 16:36:37 +01:00
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
ab5d47e7a6 Changed the taken port
fixes #221
2017-02-08 17:41:26 +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
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
8449382110 Added info about the dependencies 2017-02-08 11:06:58 +01:00
Marcin Grzejszczak
5db234dc0f Trying to fix the NPE 2017-02-07 14:09:01 +01:00
Marcin Grzejszczak
7549e14a26 Fixed checkstyle 2017-02-07 13:59:10 +01:00
Marcin Grzejszczak
b8890febfd Fixed NPE due to missing bean 2017-02-07 13:56:17 +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
8621a3258b Added support for ranges of versions
fixes #210
2017-02-03 09:57:56 +01:00
Marcin Grzejszczak
7af3a75ac4 Removed info about missing contracts
fixes #212
2017-02-02 17:25:58 +01:00
Marcin Grzejszczak
e135e618ec Polish 2017-02-02 17:16:36 +01:00
Marcin Grzejszczak
1e9e7a4792 Added foreward compatibility with WireMock stubs
fixes #213
2017-02-02 17:00:17 +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
032a1637ab Fixing broken json outputs 2017-02-01 13:28:47 +01:00
Marcin Grzejszczak
91e2a8f6bf Reusing the org.skyscreamer:jsonassert from boot's BOM
fixes #209
2017-02-01 13:14:22 +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
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
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