Commit Graph

163 Commits

Author SHA1 Message Date
Marcin Grzejszczak
4dc8ea4b9b -x test disables test generation
fixes #306
2017-05-30 12:37:44 +02:00
Marcin Grzejszczak
464e886bb8 Added versions 2017-05-26 22:03: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
Marcin Grzejszczak
15ef2cab35 Merge branch '1.0.x' 2017-05-05 11:41:39 +02:00
Marcin Grzejszczak
1e16934fce Bumped jsonassert to 0.4.9
without this change we analyze empty sets of jsonpath results improperly

fixes #289
2017-05-05 11:25:19 +02:00
Marcin Grzejszczak
551f77d0ca Merge branch '1.0.x' 2017-04-28 15:08:06 +02:00
Marcin Grzejszczak
d0841400ef Fixed the test resources for Gradle
wiuthout this change Intellij support wasn't great if one hasn't applied the idea plugin
with this change if someone's using Intellij (we check that by verifying the presence of .idea folder) then we apply the plugin automatically

fixes #286
2017-04-28 15:05:56 +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
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
e9770c6ac2 Fixed the build 2017-04-24 15:05:43 +02:00
Marcin Grzejszczak
bca972df63 Updated test 2017-04-14 10:01:22 +02:00
Marcin Grzejszczak
b142195d09 Merge branch '1.0.x' 2017-04-14 09:59:31 +02:00
Marcin Grzejszczak
5843234fa1 Fixed invalid escaping of characters for regex
without this change some regex contained invalid characters. Even though the code compiles the regular expressions passed to json assert are invalid.
with this change that gets fixed and tests are added. We're now checking if the code can be executed and not only compiled. We also check if WireMock fed with the stubs generated from these cases works fine and not only do we check if stub mappings are properly generated.

fixes #250
2017-04-14 09:40:15 +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
d9ff5667a7 Remove duplicate plugin 2017-03-22 12:06:55 +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
169d1f11c1 Merge branch '1.0.x' 2017-03-10 16:25:25 +01:00
Marcin Grzejszczak
2473408a73 Updated maven docs 2017-03-10 16:24:08 +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
a3c1167df4 Polish 2017-03-10 14:25:18 +01:00
Marcin Grzejszczak
2520a681c1 Polish 2017-03-10 14:22:38 +01:00
Marcin Grzejszczak
87b374c1ad Merge branch '1.0.x' 2017-03-10 14:22:00 +01:00
Marcin Grzejszczak
1502c4c7ad Updated gradle plugin build 2017-03-10 14:17:47 +01:00
Marcin Grzejszczak
220ddd85bf Bumped libs: 2017-03-07 23:11:51 +01:00
Marcin Grzejszczak
ffcca47722 Merge branch '1.0.x' 2017-03-07 22:59:29 +01:00
Marcin Grzejszczak
5d0c63f5c3 Bumped libs 2017-03-07 16:36:34 +01:00
Marcin Grzejszczak
7340f2893d Merge branch '1.0.x' 2017-02-28 14:27:30 +01:00
Marcin Grzejszczak
a4007cc3cb Updated Gradle and removed gradle deamon 2017-02-28 14:26:48 +01:00
Marcin Grzejszczak
6d1c9cb89a Merge branch '1.0.x' 2017-02-14 14:28:39 +01:00
Marcin Grzejszczak
266bc8e25e Fixing tests 2017-02-14 14:28:32 +01:00
Marcin Grzejszczak
6b561eb3b0 Merge branch '1.0.x' 2017-02-13 17:33:57 +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
bb1cf960c8 Merge branch '1.0.x' 2017-02-10 15:54:17 +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
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
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
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
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