Commit Graph

65 Commits

Author SHA1 Message Date
Dominik Labuda
199afbd042 Docker image support for authenticated contracts download (#912)
Since there was no way to download contracts from external binary repository as authenticated user while using Docker Verifier image, it was added.
2019-03-29 11:28:40 +01:00
Marcin Grzejszczak
39be0aef0e Merge branch '2.1.x' 2019-03-22 11:42:28 +01:00
Marcin Grzejszczak
55a0ae86c5 Fixed https 2019-03-22 11:41:20 +01:00
Marcin Grzejszczak
fbea35edf4 Hoxton 2019-03-08 17:07:28 +01:00
Marcin Grzejszczak
4da781b214 HTTP to HTTPS 2019-03-07 13:50:15 +01:00
buildmaster
029312f814 Bumping versions to 2.1.2.BUILD-SNAPSHOT after release 2019-03-05 20:30:55 +00:00
buildmaster
73c0122a79 Going back to snapshots 2019-03-05 20:30:54 +00:00
buildmaster
be3dd56cd8 Update SNAPSHOT to 2.1.1.RELEASE 2019-03-05 20:21:45 +00:00
Marcin Grzejszczak
8ce80e6e7f Applied checkstyle rules 2019-02-08 18:20:59 +01:00
buildmaster
6597c6eec2 Bumping versions to 2.1.1.BUILD-SNAPSHOT after release 2019-01-22 20:46:19 +00:00
buildmaster
1314163825 Going back to snapshots 2019-01-22 20:46:18 +00:00
buildmaster
cd239d8c39 Update SNAPSHOT to 2.1.0.RELEASE 2019-01-22 20:39:11 +00:00
buildmaster
e6640350bc Going back to snapshots 2018-12-20 21:43:00 +00:00
buildmaster
f47d0d3406 Update SNAPSHOT to 2.1.0.RC3 2018-12-20 21:37:41 +00:00
buildmaster
ba02983ff6 Going back to snapshots 2018-12-11 22:34:06 +00:00
buildmaster
eae5866fba Update SNAPSHOT to 2.1.0.RC2 2018-12-11 22:28:39 +00:00
buildmaster
cb401b9cc2 Going back to snapshots 2018-12-11 19:03:21 +00:00
buildmaster
ca9bd89614 Update SNAPSHOT to 2.1.0.RC1 2018-12-11 18:57:39 +00:00
Marcin Grzejszczak
e0e72c9c7f Fixed missing deprecation refactoring 2018-11-13 12:13:46 +01:00
Marcin Grzejszczak
193c27447b Merge branch '2.0.x' 2018-10-19 16:16:56 +02:00
Marcin Grzejszczak
78048826a3 Merge branch '1.2.x' into 2.0.x 2018-10-19 16:14:40 +02:00
Marcin Grzejszczak
34c2ed0330 Migrated to Ubuntu:18.10 and Java installation via SDKMan. Fixes gh-754 2018-10-19 16:14:12 +02:00
buildmaster
c20ecc91ed Bumping versions to 1.2.7.BUILD-SNAPSHOT after release 2018-10-16 00:27:32 +00:00
buildmaster
697b5ac37f Going back to snapshots 2018-10-16 00:27:30 +00:00
buildmaster
621c99fba8 Update SNAPSHOT to Edgware.SR5 2018-10-16 00:08:01 +00:00
buildmaster
1d275c346a Going back to snapshots 2018-09-21 23:48:07 +00:00
buildmaster
19fca03627 Update SNAPSHOT to Greenwich.M1 2018-09-21 23:41:27 +00:00
Marcin Grzejszczak
096790e04d Upgraded to Greenwhich 2018-08-29 14:04:28 +02:00
Marcin Grzejszczak
a0bc2eb1c4 Deprecating skipSnapshotCheck and providing fake m2 for Aether
without this change Aether, when having both local and remote JARs, always picks the local one, even though we don't want it to. There seems to be no way to change it via an API. We had a check in Spring Cloud Contract to throw an exception when we wanted a remote JAR but the local one was fetched. You could have changed it by providing a system property or a plugin property called `skipSnapshotCheck` or `contractsSkipSnapshotCheck`

with this change we're deprecating that flag since we're moving this logic to the internals of how we integrate with Aether. If the problem was that there was both the local and the remote JAR, what we could do is get rid of the local JAR. Obviously we don't want to remove it so what we're doing is when someone provides the REMOTE stub mode, we're creating a temporary directory and we're temporarily pointing Aether to that directory as our local m2. Since it's empty, Aether will not assume that we have any stubs stored locally. Thus, we will never have conflicts of remote vs local jars.

fixes gh-643

additional links:
- http://maven.40175.n5.nabble.com/Resolving-an-Artifact-from-Remote-Repository-instead-of-Local-td5875134.html
- https://stackoverflow.com/questions/9123004/maven-is-it-possible-to-override-location-of-local-repository-via-the-use-of-co
2018-08-23 13:30:56 +02:00
Marcin Grzejszczak
3d42ab9d35 Bumped dependency management plugin 2018-08-21 11:58:18 +02:00
Marcin Grzejszczak
f9ff03f24d Updated Gradle to 4.9 2018-08-21 11:56:59 +02:00
buildmaster
5375cf51ff Bumping versions to 2.0.2.BUILD-SNAPSHOT after release 2018-07-31 20:10:10 +00:00
buildmaster
2e92b65169 Going back to snapshots 2018-07-31 20:10:09 +00:00
buildmaster
c9758f5d4c Update SNAPSHOT to 2.0.1.RELEASE 2018-07-31 19:50:29 +00:00
Marcin Grzejszczak
fbee744992 Bump to Greenwich, 2.1.0 2018-07-19 15:00:13 +02:00
buildmaster
63418e0400 Bumping versions to 1.2.6.BUILD-SNAPSHOT after release 2018-06-29 20:38:49 +00:00
buildmaster
983b363512 Going back to snapshots 2018-06-29 20:38:47 +00:00
buildmaster
7d9dd84431 Update SNAPSHOT to 1.2.5.RELEASE 2018-06-29 20:22:31 +00:00
buildmaster
3be8122604 Bumping versions to 2.0.1.BUILD-SNAPSHOT after release 2018-06-19 01:35:06 +00:00
buildmaster
8540c6ffdd Going back to snapshots 2018-06-19 01:35:04 +00:00
buildmaster
ffeb8f74eb Update SNAPSHOT to 2.0.0.RELEASE 2018-06-19 01:22:57 +00:00
buildmaster
af93d926cb Going back to snapshots 2018-05-25 13:31:27 +00:00
buildmaster
1e14427889 Update SNAPSHOT to 2.0.0.RC2 2018-05-25 13:22:50 +00:00
buildmaster
7484fc339c Going back to snapshots 2018-04-23 15:16:20 +00:00
buildmaster
7a6037cafe Update SNAPSHOT to 2.0.0.RC1 2018-04-23 15:09:43 +00: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
buildmaster
766cd59f64 Bumping versions to 1.2.5.BUILD-SNAPSHOT after release 2018-03-27 00:44:45 +00:00
buildmaster
ce62f7f77a Going back to snapshots 2018-03-27 00:44:43 +00:00
buildmaster
71061a7d7f Update SNAPSHOT to 1.2.4.RELEASE 2018-03-27 00:33:17 +00:00
buildmaster
b9740e900d Going back to snapshots 2018-03-22 23:54:47 +00:00