Commit Graph

561 Commits

Author SHA1 Message Date
Marcin Grzejszczak
3127bfdee0 Merge branch '1.2.x' 2018-02-19 15:57:31 +01:00
Marcin Grzejszczak
e2b61cd125 Added Stub Runner entry in the readme
fixes gh-530
2018-02-19 15:56:47 +01:00
Marcin Grzejszczak
f6b6b43c9f Merge branch '1.2.x'
also accidentally fixed gh-507
2018-02-16 16:05:54 +01:00
Marcin Grzejszczak
c8ec61c1c2 Changed the snapshot skip test property 2018-02-16 14:06:33 +01:00
Marcin Grzejszczak
d87e669a23 Adding a mechanism to disable the local vs remote stub location
When fetching stubs / contracts in a CI, shared environment, what might happen is that
both the producer and the consumer reuse the same local Maven repository. Due to this,
the framework, responsible for downloading a stub JAR from remote location,
can't decide which JAR should be picked, local or remote one. That caused
the `"The artifact was found in the local repository but you have explicitly
stated that it should be downloaded from a remote one"` exception
and failed the build.

For such cases we're introducing the property mechanism:

- via `stubrunner.snapshot-check.skip` system property
- via `STUBRUNNER_SNAPSHOT_CHECK_SKIP` environment variable

if either of these values is set to `true`, then the stub downloader will not
verify the origin of the downloaded JAR.

fixes gh-545
2018-02-16 13:35:56 +01:00
buildmaster
a8e3b64fe6 Bumping versions to 1.2.4.BUILD-SNAPSHOT after release 2018-02-09 16:08:54 +00:00
buildmaster
ab660f8944 Going back to snapshots 2018-02-09 16:08:53 +00:00
buildmaster
c510a555b7 Update SNAPSHOT to 1.2.3.RELEASE 2018-02-09 15:54:44 +00:00
Marcin Grzejszczak
fb1bffd7fc Merge branch '1.2.x' 2018-01-25 17:58:10 +01:00
Marcin Grzejszczak
a49630bade Added debug information 2018-01-25 17:57:56 +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
buildmaster
f5561d3f9b Going back to snapshots 2018-01-16 17:20:15 +00:00
buildmaster
19deb01269 Update SNAPSHOT to 1.2.2.RELEASE 2018-01-16 17:09:51 +00: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
09a1de01aa Merge branch '1.2.x' 2017-12-22 12:41:03 +01:00
Marcin Grzejszczak
b3e6159bbb Using the new registration mechanism
without this change we're using Eureka lite to register the apps. However we're not reusing any mechanisms that are bound to registration of the main app. That's why we also loose the OAuth2 instrumentation of Spring Cloud Services.
with this change we're reusing the default mechanism. For Cloud based applications we also register the stubs under a different route so as to support the multiple port binding.

fixes gh-490
2017-12-22 12:23:09 +01:00
Biju Kunjummen
0398148a3e Support loading limited context for stub runner tests (#496)
* Support loading limited context for stub runner tests
* Removes slice test runner
2017-12-21 11:31:12 +01:00
Marcin Grzejszczak
48c1d7ba2c Updated code' 2017-12-20 17:06:19 +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
2b17370bba Merge branch '1.1.x' into 1.2.x 2017-12-20 16:33:24 +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
rbrody
5d9ffc3059 #491 - Stubs are registered to consul with localhost 2017-12-10 14:38:40 +02:00
rbrody
32e5f84dec #491 - Stubs are registered to consul with localhost 2017-12-10 14:18:39 +02:00
rbrody
9a297437d8 #491 - Stubs are registered to consul with localhost 2017-12-10 14:06:41 +02:00
Marcin Grzejszczak
99ad52c2dd Fixed stub runner cloud registration 2017-12-09 07:03:08 -08:00
Marcin Grzejszczak
8be95a0a2e bumping wiremock to 2.12.0
; fixes #477
2017-12-08 11:01:37 -08:00
Marcin Grzejszczak
7caa3102aa Removed server delegation; fixes #487 2017-12-08 10:25:00 -08:00
buildmaster
2981b54b82 Going back to snapshots 2017-12-02 04:40:23 +00:00
buildmaster
9e5ac9020b Update SNAPSHOT to 2.0.0.M5 2017-12-02 04:37:52 +00:00
Biju Kunjummen
f898993856 Fix the order of version and classifier (#475)
Fixes a minor typo - order of version and classifier in javadoc.
2017-12-01 19:50:06 +01:00
Marcin Grzejszczak
19973a2320 Merge branch 'master' into 2.0.x 2017-11-23 12:00:36 +01:00
Marcin Grzejszczak
470ea54fff Ensuring that we don't print any credentials 2017-11-23 11:59:31 +01:00
Marcin Grzejszczak
a792a48620 Merge branch 'master' into 2.0.x 2017-11-23 11:53:40 +01:00
Marcin Grzejszczak
4c073c8a52 Fixing the way StubRunnerBuilder options are built
without this change we're completely ignoring the option of using system properties to set the stub runner builder options
with this change we set it up with defaults from system properties and then we override it with the user's code

fixes #462
2017-11-23 11:53:15 +01:00
Marcin Grzejszczak
0358629a1e Options are passed to StubRunnerRule; fixes #466 2017-11-23 11:25:49 +01:00
buildmaster
cb9b99baf9 Bumping versions to 1.2.1.BUILD-SNAPSHOT after release 2017-11-22 13:32:51 +00:00
buildmaster
4aa3b42fbc Going back to snapshots 2017-11-22 13:32:50 +00:00
buildmaster
c62155e265 Update SNAPSHOT to 1.2.0.RELEASE 2017-11-22 13:26:43 +00:00
Marcin Grzejszczak
1cee74932d Merge branch 'master' into 2.0.x 2017-11-21 16:35:31 +01:00
Marcin Grzejszczak
c354bffafb Lower the logging level where password can be printed; fixes #463 2017-11-21 16:35:22 +01:00
buildmaster
5b2cc6f258 Going back to snapshots 2017-11-16 18:20:37 +00:00
buildmaster
f9908cefd2 Update SNAPSHOT to 2.0.0.M4 2017-11-16 18:17:31 +00:00
Marcin Grzejszczak
8ae5988dcb Merge branch 'master' into 2.0.x 2017-11-13 10:55:29 +01:00
Marcin Grzejszczak
72b72d83a0 Merge branch '1.1.x' 2017-11-13 10:55:17 +01:00
Marcin Grzejszczak
4dd8f0c515 Polish 2017-11-13 10:55:09 +01:00
Marcin Grzejszczak
232854d8f4 Merge branch 'master' into 2.0.x 2017-11-13 10:45:07 +01:00
Marcin Grzejszczak
99649a0437 Updated WireMock code 2017-11-13 10:44:48 +01:00
buildmaster
4cdd7462cc Going back to snapshots 2017-10-28 07:25:37 +00:00