Commit Graph

3290 Commits

Author SHA1 Message Date
Marcin Grzejszczak
909930a6f4 Added failOnInProgress
with this change your plugin can fail the build if you have any in progress contracts

fixes gh-1156
2019-08-08 14:15:24 +02:00
Marcin Grzejszczak
875ac13427 Bumped WireMock to 2.24.1; fixes gh-1159 2019-08-08 13:00:27 +02:00
Marcin Grzejszczak
48b2b43210 Should not fail for openjdk13 2019-08-08 12:57:22 +02:00
Tim Ysewyn
8a2a1a3251 Additional functionality 2019-08-08 00:17:12 +02:00
Tim Ysewyn
981463dbf7 Added getter for 'inProgress' field 2019-08-07 23:59:26 +02:00
Marcin Grzejszczak
8b5fef00b7 Renamed the adoc file 2019-08-07 23:51:40 +02:00
Marcin Grzejszczak
9e3c565c5b Fixing the setup 2019-08-07 23:50:59 +02:00
Marcin Grzejszczak
a7e1af162b Added link to maven docs 2019-08-07 23:42:46 +02:00
Tim Ysewyn
c2ba0ecb90 Added 'inProgress' field 2019-08-07 23:37:38 +02:00
Tim Ysewyn
05f9486852 Merge branch 'master' into feature/kotlin-contract-support 2019-08-07 23:29:55 +02:00
Marcin Grzejszczak
238aa9e3af Updated the fail on no contracts option 2019-08-07 23:08:38 +02:00
Tim Ysewyn
2ebe11e2a5 Additional functionality 2019-08-07 23:05:02 +02:00
Marcin Grzejszczak
197864e4e0 Added info about the run maven goal; fixes gh-340 2019-08-07 22:06:21 +02:00
Marcin Grzejszczak
39a4718957 Added info about the new plugin portal; fixes gh-1054 2019-08-07 22:03:51 +02:00
Marcin Grzejszczak
7b60206c77 Added the generateStubs docs 2019-08-07 21:54:24 +02:00
Marcin Grzejszczak
48cdd556f7 Updated the docs for the stubs protocol 2019-08-07 21:38:14 +02:00
Tim Ysewyn
ab1c921c28 Added contract converter 2019-08-07 14:44:57 +02:00
Tim Ysewyn
2a8a21becd Additional functionality 2019-08-07 12:25:07 +02:00
Marcin Grzejszczak
24f8930237 Merge branch 'Buzzardo-new_docs'
fixes gh-1140
fixes gh-1157
2019-08-07 10:59:06 +02:00
Tim Ysewyn
63af1c47e6 Distribute Kotlin DSL with other specs 2019-08-07 10:47:03 +02:00
Marcin Grzejszczak
21318efa8d Polish 2019-08-07 10:45:32 +02:00
Jay Bryant
6eea97a4a0 Merge branch 'new_docs' of https://github.com/spring-cloud/spring-cloud-contract into new_docs 2019-08-06 15:17:09 -05:00
Jay Bryant
da3a09669c Editing pass for the new docs layout
I did a full editing pass on all the asciidoc files.
2019-08-06 14:37:41 -05:00
Marcin Grzejszczak
a7b62bb073 Boot version to 2.2.0.BUILD-SNAPSHOT 2019-08-06 17:25:56 +02:00
Marcin Grzejszczak
2be3d0ab86 Added the option "inProgress" to the contract
without this change we can't have a contract that will generate a stub but not a test. Of course that's for a reason since it's overriding the very essence of contract test.
with this change we assume that the users know what they're doing and that they will use this flag rarerly. Cause it means that you can have a false positive.

related to gh-881
2019-08-06 15:39:32 +02:00
Marcin Grzejszczak
4ae133a0f8 Add a switch to fail on no stubs (#1153)
* Add a switch to fail on no stubs

without this change we throw an exception if no stubs / contracts were found
with this change we catch exceptions from aether stub downloader and if there are no stubs found whatsover, and a switch is set to fail in that case, then we do throw an exception that no stubs / contracts were found

fixes gh-895
2019-08-06 11:54:52 +02:00
Tim Ysewyn
aff377bca8 Updated withQueryParameters infix extension functions 2019-08-06 00:38:06 +02:00
Tim Ysewyn
0419ccb18b Additional functionality + rework 2019-08-06 00:16:08 +02:00
Marcin Grzejszczak
4f652ad1e6 Sets a defaultInstance for WireMock server
without this change we're not resetting default instances upon test finish
with this change we're resetting the default intance and setting it once more upon configuration startup

fixes gh-1081
2019-08-05 21:32:15 +02:00
Tim Ysewyn
551d4dde59 Made helper functions static 2019-08-05 20:48:37 +02:00
Marcin Grzejszczak
dbb1af8d98 Generate stubs at runtime (#1152)
* Generate stubs at runtime

without this change the producer side must publish the stubs for the consumer side to use them
with this change the consumer can toggle a switch so that the stubs get generated at runtime. This might of course lead to false positivies but we assume that the users know what they're doing

fixes gh-881
2019-08-05 10:44:35 +02:00
Marcin Grzejszczak
d97db26001 Makes jdk13 build pass with Gradle 2019-08-04 08:14:44 +02:00
Marcin Grzejszczak
dd5fb8f55b Fixedinvalid setup 2019-08-04 07:59:57 +02:00
Marcin Grzejszczak
34af2fcc58 Added support for the stubs:// protocol
Currently Stub Runner can fetch a JAR, unpack it and only then pick the contract and stubs. Sometimes, what you want to achieve, is to point to a given folder where the stubs are already unpacked. Another option is a multimodule project, where the stubs are generated and then the user would like to just reference those instead of installing a JAR in a local m2.

With this change we suggest adding a protocol called stubs that would allow to define a path where the unpacked contracts and stub lay.

fixes gh-1150
2019-08-02 17:24:44 +02:00
Tim Ysewyn
3e49e7f4ae Formatting 2019-08-02 12:11:13 +02:00
Tim Ysewyn
b07e50bd8d Removed unwanted changed 2019-08-02 12:09:00 +02:00
Tim Ysewyn
9935b24a25 First implementation based on existing tests 2019-08-02 11:13:45 +02:00
Marcin Grzejszczak
5e84a38377 Revert " Added support for incremental Gradle builds"
This reverts commit 31972419
2019-08-01 14:01:40 +02:00
Marcin Grzejszczak
1b94f2cedd Updated maven-archiver to 3.4.0
fixes gh-1137
2019-08-01 09:27:31 +02:00
Marcin Grzejszczak
260fb3e458 Fixed wrong jacoco version 2019-08-01 09:24:10 +02:00
Marcin Grzejszczak
a77a07cac7 Bumped build-helper-maven-plugin to 3.0.0
fixes gh-1149
2019-08-01 09:06:50 +02:00
Marcin Grzejszczak
9dbb9cc9ea Bumped jacoco-maven-plugin to 0.8.4
fixes gh-1148
2019-08-01 09:05:27 +02:00
Marcin Grzejszczak
3cc125209e Bumped dependency-management-plugin to 1.0.8
fixes gh-1146
2019-08-01 09:04:40 +02:00
Marcin Grzejszczak
a4ab79c5d0 Bumping common-text to 1.7
fixes gh-1145
2019-08-01 09:03:19 +02:00
Marcin Grzejszczak
734992373c Bumping junit to 5.5.1
fixes gh-1147
2019-08-01 09:02:42 +02:00
Marcin Grzejszczak
531fa8ff86 Merge branch 'master' into new_docs 2019-07-31 23:28:12 +02:00
Marcin Grzejszczak
31972419e9 Added support for incremental Gradle builds
fixes gh-1133
2019-07-31 23:26:28 +02:00
Tim Ysewyn
746fe40f80 Fix consumer accept type 2019-07-31 18:24:25 +02:00
Marcin Grzejszczak
70bd589f13 Simplified the readme 2019-07-30 11:40:30 +02:00
Marcin Grzejszczak
53eede4c3d Fixing docs 2019-07-30 11:37:40 +02:00