Commit Graph

637 Commits

Author SHA1 Message Date
buildmaster
ca9bd89614 Update SNAPSHOT to 2.1.0.RC1 2018-12-11 18:57:39 +00:00
Marcin Grzejszczak
247b2ee646 Added included files to Groovy DSL; fixes gh-807 2018-12-04 10:45:56 +01:00
Olga Maciaszek-Sharma
9bafbf66c8 Code cleanup. 2018-11-19 11:37:33 +01:00
Marcin Grzejszczak
e0e72c9c7f Fixed missing deprecation refactoring 2018-11-13 12:13:46 +01:00
Marcin Grzejszczak
930eb02191 Removed deprecated contractRepositoryUrl prop; fixes gh-795 2018-11-13 11:44:29 +01:00
Marcin Grzejszczak
1b41c2b1a8 FIxed the algorithm of when to fetch contracts 2018-11-13 00:22:17 +01:00
Marcin Grzejszczak
080ac0f2f4 Gradle plugin no longer requires the artifact ids to be set for external contract downloading
without this change there's a difference between Maven and Gradle plugin usage. If you want to use a custom stubdownloaderbuilder, you need to set a artifact id of a dependency with contracts. That shouldn't be mandatory
with this change we no longer require it

fixes gh-794
2018-11-12 23:56:08 +01:00
Marcin Grzejszczak
a0aaee7578 Converted the storer's interface to byte[] 2018-11-12 22:23:14 +01:00
Marcin Grzejszczak
91aee048b5 Moved away from deprecated targetFramework 2018-11-11 17:55:57 +01:00
Marcin Grzejszczak
6210c42162 Add an option to dump contracts into a common representation
Allow an option to dump contracts as files for the given ContractConverter. In other words, if you have contracts written in e,g, groovy and yml, by providing a FQN of org.springframework.cloud.contract.verifier.converter.YamlContractConverter, you will be able to dump all files in a folder in a yml format.

fixes gh-793
2018-11-10 23:53:18 +01:00
Marcin Grzejszczak
3109d5b610 Groups pacts by name and parses to get consumer and provider
fixes gh-792
2018-11-10 21:25:04 +01:00
Marcin Grzejszczak
8f1ab301c9 Merge branch '2.0.x' 2018-11-08 20:10:49 +01:00
Marcin Grzejszczak
14d968a63f Should pick all the properties 2018-11-08 20:04:47 +01:00
Marcin Grzejszczak
11bbb9a391 Removed deprecated usage 2018-11-08 19:28:53 +01:00
Marcin Grzejszczak
01c95c85f0 Fixed wrong docs goals 2018-11-08 16:03:55 +01:00
Marcin Grzejszczak
8c77386816 Deprecated targetFramework in Gradle; fixes gh-725 2018-11-06 17:31:07 +01:00
Marcin Grzejszczak
1b1d4049d4 Bumped
- cglib to 3.2.9
- commons-text to 1.6
- handlebars to 4.1.2
- jgit to 5.1.3.201810200350-r
- gmaven to 1.6.2
- boot to 2.1.0
- aether to 1.1.0
2018-11-06 17:06:43 +01:00
Marcin Grzejszczak
31eab3e107 Bumping versions 2018-10-31 09:42:44 +01:00
Marcin Grzejszczak
67b537ae0a Added .mvn and .gradle to excluded build folders; fixes gh-772 2018-10-28 15:09:52 +01:00
Marcin Grzejszczak
23c46e7372 Disabled setting the default value of the package name for groovy plugin; fixes gh-771 2018-10-28 14:46:20 +01:00
Marcin Grzejszczak
51e6c73938 Asserts that contracts are valid; fixes gh-769 2018-10-26 21:08:01 +02:00
Marcin Grzejszczak
d963e0f159 Updated Boot to RC 2018-10-25 16:23:55 +02:00
Marcin Grzejszczak
57bafa6f68 Set boot to RC1 2018-10-25 14:03:30 +02:00
buildmaster
15344a159c Bumping versions to 2.0.3.BUILD-SNAPSHOT after release 2018-10-23 19:56:38 +00:00
buildmaster
55be026c4a Going back to snapshots 2018-10-23 19:56:36 +00:00
buildmaster
02d5a01025 Update SNAPSHOT to 2.0.2.RELEASE 2018-10-23 19:42:37 +00:00
Olga Maciaszek-Sharma
dbf1b660de Add failIfNoTests to samples' build setup. 2018-10-19 13:50:05 +02:00
Marcin Grzejszczak
50d62b6ee8 Using boot snaps for samples 2018-10-16 14:55:24 +02:00
Marcin Grzejszczak
42b775f76e Bump boot to 2.1.0.M4 2018-10-08 16:11:35 +02:00
Marcin Grzejszczak
6549e20c07 Added missing versions 2018-10-08 16:03:07 +02:00
Marcin Grzejszczak
ac0f4ce986 Fixed java version 2018-10-08 15:45:22 +02:00
Marcin Grzejszczak
024d7ff9f8 Better jdk verification mechanism 2018-10-08 15:33:01 +02:00
Marcin Grzejszczak
c3c251fada Bumped boot to 2.1.0.M1 2018-10-08 15:11:32 +02:00
Marcin Grzejszczak
454f6f25ec Fixed jdk11 2018-10-08 14:46:34 +02:00
Marcin Grzejszczak
107ed195f1 Bumped to work with jdk11 2018-10-05 18:27:18 +02:00
Marcin Grzejszczak
8da2e4ee57 Checkstyle and jdk11 fix with spock 2018-10-05 10:44:28 +02:00
Marcin Grzejszczak
bfaf15ebd1 Bumped WireMock to 2.19.0; fixes gh-737 2018-10-03 13:14:15 +02:00
Marcin Grzejszczak
4b32c47127 Migrated to common checkstyle 2018-09-30 18:53:58 +02:00
Marcin Grzejszczak
c3984f0c3a Fixed YAML Dsl conversion issues
fixes gh-738
2018-09-28 10:22:51 -04:00
Marcin Grzejszczak
aa6a515922 Fixed YAML Dsl conversion issues
fixes gh-738
2018-09-28 09:30:14 -04: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
1f475384bf Merge branch '2.0.x' 2018-08-31 12:06:30 +02:00
Marcin Grzejszczak
d23684d1c4 Fixed backward compatibility of native WireMock helpers 2018-08-31 12:05:22 +02:00
Marcin Grzejszczak
cac0ce3e27 Removed the web starter 2018-08-29 15:06:15 +02:00
Marcin Grzejszczak
9ef24e7240 Polish 2018-08-29 14:25:08 +02:00
Marcin Grzejszczak
096790e04d Upgraded to Greenwhich 2018-08-29 14:04:28 +02:00
Marcin Grzejszczak
58f3f429eb Upgraded to Greenwhich 2018-08-27 18:33:10 +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
983e0e4d0f Merge branch '2.0.x' 2018-08-01 13:05:56 +02:00