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
Marcin Grzejszczak
8da2e4ee57
Checkstyle and jdk11 fix with spock
2018-10-05 10:44:28 +02: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
132c780de6
Ensures that the bean name is not overriding any other bean name
2018-09-12 09:28:32 +02:00
Marcin Grzejszczak
452c83bdf1
Merge branch '2.0.x'
2018-08-29 16:03:57 +02:00
Marcin Grzejszczak
cfc9d6fbb5
Added NPE guard; fixes gh-717
2018-08-29 15:51:27 +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
b8adc57bf2
Merge branch '2.0.x'
2018-08-10 14:36:11 +02:00
Marcin Grzejszczak
6f1d88c9b4
Merge branch '1.2.x' into 2.0.x
2018-08-10 14:36:00 +02:00
Marcin Grzejszczak
d2f0f6322e
Added comments related to the workaround with Java HTTP client; thanks to @tomakehurst
2018-08-10 14:35:52 +02:00
Marcin Grzejszczak
87c18a5625
Merge branch '2.0.x'
2018-08-08 21:58:13 +02:00
Marcin Grzejszczak
cb31ca7bf1
Removed DirtiesContext
2018-08-08 21:58:04 +02:00
Marcin Grzejszczak
50e6344a0c
Merge branch '2.0.x'
2018-08-08 18:10:37 +02:00
Marcin Grzejszczak
ac2b89d68c
Fixed checkstyle issues
2018-08-08 18:10:30 +02:00
Marcin Grzejszczak
f8b142ddea
Merge branch '2.0.x'
2018-08-08 18:03:18 +02:00
Marcin Grzejszczak
8bb61176ea
Removed dirties context on any tests
2018-08-08 18:00:58 +02:00
Marcin Grzejszczak
c9228969de
Closing and restarting WireMock stub after and before each test ( #707 )
...
fixes gh-665
2018-08-08 17:52:28 +02:00