Commit Graph

77 Commits

Author SHA1 Message Date
Marcin Grzejszczak
6402e14f3c Added support for Stub Runner and Pact Broker
fixes gh-191
commit 533f1d3d0e8f6dcd37677bfef555fc2ea86bc1b1
Author: Tim Ysewyn <Tim.Ysewyn@me.com>
Date:   Wed Mar 7 15:56:48 2018 +0100

    Upgraded pact-jvm-model to 3.5.13
2018-04-02 22:50:40 +02:00
Marcin Grzejszczak
0fe31ce3a5 Git Stub Downloader (#596)
when stubsMode is set to LOCAL or REMOTE, and repositoryRoot starts with git:// we can clone the provided git repository, and search for the folder with stubs for the given artifact. So if the git repo has a folder structure of groupid/artifactid/version (where group id is either dot or slash separated), then we will provide a path to that repository for the stub runner to harvest the stubs

- externalized versions
- added more debugging messages
- added ContractProjectUpdater that updates the project containing contracts from SCM. ATM supports only git
- added ResourceResolver that retrieves the ProtocolResolvers. It does it via spring.factories entries containing StubDownloaderBuilder. SDP extends ProtocolResovler.
added StubRunner.properties map, that will contain any properties that will be later used by any StubDownloader implementations
- added PUBLISH_STUBS_TO_SCM env var for Docker, so that publishStubsToScm task gets called
- updated docs

Breaking:

- StubDownloaderBuilder extends ProtocolResovler. By default the ProtocolResolver methods return null.
- stubRunnerOptions.stubRepositoryRoot is a Resource not a String
- generateWireMockClientStubs Gradle task got removed
- if folder with contracts has a subfolder called contracts, we will pick contracts from the subfolder

fixes #580
2018-03-31 09:35:00 +02:00
Marcin Grzejszczak
c4ab192c8d Fixed messaging tests. Sth's wrong with metrics 2018-02-15 10:01:43 +01:00
Marcin Grzejszczak
4c627f8e61 Revert "Bumped the Boot plugin to RC1"
This reverts commit e0bda0f8aa.
2018-02-11 22:29:53 +01:00
Marcin Grzejszczak
e0bda0f8aa Bumped the Boot plugin to RC1 2018-02-10 08:54:23 +01:00
Marcin Grzejszczak
e0db3c058a Going to Boot snapshots 2018-01-19 10:17:51 +01:00
Marcin Grzejszczak
65ee88aa23 Merge branch '1.2.x' 2018-01-19 01:18:33 +01:00
Marcin Grzejszczak
b745d9a7e3 YAML contracts (#522)
with this change we allow the users to use YAML to define contracts

fixes gh-300 gh-508
helps with #501
2018-01-19 00:27:15 +01:00
buildmaster
b2428c5f13 Bumping versions to 1.2.3.BUILD-SNAPSHOT after release 2018-01-16 17:20:16 +00:00
Marcin Grzejszczak
709df3e291 Unescaping any json body entries
without this change we're escaping the json body response and then wiremock is escaping it again
with this change we're unescaping the first json body escaping so that wiremock applies it only once

fixes gh-515
2018-01-12 12:56:09 +01:00
Marcin Grzejszczak
74b843d76b Fixed a typo 2018-01-03 10:46:45 +01:00
Marcin Grzejszczak
748e512f4d Introduces explicit mode of stub downloading (#503)
* Introduces explicit mode of stub downloading

you have to explicitly provide the mode [CLASSPATH, REMOTE, LOCAL] of how you want to fetch and register stubs

fixes gh-287
2018-01-03 08:25:29 +01:00
Marcin Grzejszczak
80f0e66292 Revert "Revert "Merge branch 'master' into 2.0.x""
This reverts commit 822dd4b732.
2017-12-20 16:37:38 +01:00
Marcin Grzejszczak
822dd4b732 Revert "Merge branch 'master' into 2.0.x"
This reverts commit 63a1981f54, reversing
changes made to 0cca942e86.
2017-12-20 16:31:52 +01:00
Marcin Grzejszczak
30f5c62bce Moved to boot M6 2017-11-15 10:06:04 +01:00
Marcin Grzejszczak
6e6e142819 Merge branch 'master' into 2.0.x 2017-10-24 12:19:31 +02:00
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
b7901769df Merge branch '1.1.x' 2017-07-19 11:15:05 +02:00
Marcin Grzejszczak
11b864dada Updated Boot version 2017-07-19 11:14:56 +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
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
57fe9939ce Bumped libs 2017-06-19 19:49:33 +02:00
Marcin Grzejszczak
96a0b687fe Bumping gradle 2017-06-18 22:50:58 +02:00
Marcin Grzejszczak
c1fca13f12 Initial commit 2017-06-15 14:56:18 +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
Dave Syer
2f01b89345 Update Spring Boot versions in messaging tests 2017-05-15 11:41:09 +01:00
Marcin Grzejszczak
a804894c9a Updated code and docs 2017-04-26 12:42:33 +02:00
Marcin Grzejszczak
e9770c6ac2 Fixed the build 2017-04-24 15:05:43 +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
ef9c567d46 Going back to snapshots 2017-03-10 15:00:53 +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