Commit Graph

295 Commits

Author SHA1 Message Date
buildmaster
be3dd56cd8 Update SNAPSHOT to 2.1.1.RELEASE 2019-03-05 20:21:45 +00:00
Marcin Grzejszczak
4747adf9bc Parametrized maven; fixes gh-813 2019-02-18 11:57:33 +01:00
Marcin Grzejszczak
ab49216445 I give up 2019-02-18 10:58:49 +01:00
Marcin Grzejszczak
6fcb61eca4 I give up 2019-02-18 10:56:02 +01:00
Marcin Grzejszczak
c004737816 Polish 2019-02-18 10:44:56 +01:00
Marcin Grzejszczak
d72aada46c Polish 2019-02-18 10:27:59 +01:00
Marcin Grzejszczak
b733a718a4 Restarting WireMock stubs when reusing servers running on random ports 2019-02-18 10:17:45 +01:00
Marcin Grzejszczak
d7f39c1a80 Polish 2019-02-18 09:29:03 +01:00
Marcin Grzejszczak
9ce1b0374d Polish 2019-02-18 09:20:24 +01:00
Marcin Grzejszczak
6383285265 Polish 2019-02-18 09:17:00 +01:00
boothen
11965323ae #883: Wiremock: Fix for Spring context always being set to Dirty. (#884)
* #883: Using boolean values in Wiremock.server so that it's possible to identify if dynamic ports have been configured.

* #883: Triage feedback. Added  @author. Updated license year. Changed test name.

* #883: Fixed portIsFixed logic. Added test to check expect port status to applicable tests. @DirtiesContext to test so that context is cleared down to avoid conflict in the next test.

* #883: Removed duplicate portIsFixed/portIsNotFixed unit tests.

* #883: Checkstyle fixes.
2019-02-17 17:22:00 +01:00
Marcin Grzejszczak
f4475f44b7 Merge branch '2.0.x' 2019-02-14 14:11:51 +01:00
Marcin Grzejszczak
f7ea8f0241 Request param not accepting empty values; fixes gh-886 2019-02-14 14:10:10 +01:00
Marcin Grzejszczak
8ce80e6e7f Applied checkstyle rules 2019-02-08 18:20:59 +01:00
Marcin Grzejszczak
55f648fc85 Migrated to non snapshot versions for classpath tests 2019-01-23 11:00:12 +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
Marcin Grzejszczak
d8f5986115 Removed snapshot versions 2019-01-22 20:31:10 +01:00
Marcin Grzejszczak
1eed5c606d Merge branch '2.0.x' 2019-01-20 20:33:57 +01:00
Marcin Grzejszczak
fb1e081dda Added a test and docs on how to add all stubs from the classpath; fixes gh-591 2019-01-20 20:33:49 +01:00
Marcin Grzejszczak
5d8015aa0f Merge branch '2.0.x' 2019-01-18 16:28:07 +01:00
Marcin Grzejszczak
03a4303a10 Not causing an exception when context is broken; fixes gh-833 2019-01-18 16:28:00 +01:00
Marcin Grzejszczak
4a127e7785 Removed unnecessary duplicated call to rest doc's document method; fixes gh-816 2019-01-15 17:36:25 +01:00
Marcin Grzejszczak
6de903368a Added support for additional configuration of HTTP Server stubs
without this change it's hard to add HTTPs support for the stubs ran by stub runner. It's close to impossible to alter the default configuration of HTTP server stubs at all (e.g. lower the logging level of WireMock stubs etc.)
    with this change we allow to pass a class as a property to stub runner either via annotation, JUnit rule / extension or just system properties. That way the configurer will be applied at runtime for WireMock stubs (implementors of custom HTTP server stubs will need to perform some additional work to allow this)

    fixes gh-742
2019-01-11 13:47:40 +01:00
Marcin Grzejszczak
6901fe03f5 BUmped wiremock to 2.20.0; fixes gh-925 2018-12-24 09:35:18 +01: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
Marcin Grzejszczak
6969d233b8 Removed httpclient setup 2018-12-18 14:08:42 +01:00
Marcin Grzejszczak
204c6a97f7 Merge branch '2.0.x' 2018-12-18 13:24:17 +01:00
Marcin Grzejszczak
7b2cce7513 Fixed issues with bound ports 2018-12-18 13:20:39 +01:00
Marcin Grzejszczak
f45f624d34 Made test less brittle 2018-12-17 13:49:06 +01:00
Marcin Grzejszczak
fa16ea945c Merge branch '2.0.x' 2018-12-17 10:46:21 +01:00
Marcin Grzejszczak
d23e0c61bf The DSL generated from RESTDocs for String response is wrong; fixes gh-775 2018-12-17 10:43:22 +01:00
Marcin Grzejszczak
1973c28550 Merge branch '2.0.x' 2018-12-16 14:08:23 +01:00
Marcin Grzejszczak
51f7ef6f67 web dependency is optional, StubRunner listener conditional
without this change we always include `spring-boot-starter-web` to Stub Runner. With this change the dependency is optional. Thanks to this reactive applications will be able to work fine with contract on the classpath.

without this change we always run Stub Runner test execution listener, even if the test class is not annotated. With this change we run the listener only, if the test class was annotated with `@AutoConfigureStubRunner`.

Also we add information about the `java.net.SocketException: Unexpected end of file from server` exception to the docs and how to override that issue.

Fixes gh-798, gh-809, gh-799
2018-12-16 13:44:00 +01: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
杨博 (Yang Bo)
3c3d3f7b19 Configure for WireMockServer instead of port (#812)
When port = 0, WireMock will assign different ports for admin server and mock server. As a result, the original implementation will send admin requests to mock server, which is wrong behavior.

If this PR got merged, WireMock will directly add stubs instead of sending admin requests, which is correct behavior and also improves performance.
2018-12-11 18:47:52 +00:00
Olga Maciaszek-Sharma
0785f405ed Return empty array if null body. Fixes gh-804 2018-11-28 13:51:44 +01:00
Marcin Grzejszczak
67c2be5e67 Merge branch '2.0.x' 2018-11-14 14:54:39 +01:00
Marcin Grzejszczak
07e662a4ad Making tests less brittle 2018-11-14 14:54:27 +01:00
Marcin Grzejszczak
9bb4bc10ab Merge branch '2.0.x' 2018-11-14 12:22:25 +01:00
Marcin Grzejszczak
d82baee855 Added url matching to MockRestServiceServer; fixes gh-740 2018-11-14 12:21:36 +01: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
Marcin Grzejszczak
ae0cf8365c Making immutable mutable 2018-10-12 10:08:01 +02:00