Marcin Grzejszczak
9fe1a2e31b
Removed unnecessary spring-core reference
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
06243abe3c
Added a test with multiple contracts in a file
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
84d361bae7
Adding tests for multiple contracts
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
02bd7af2cd
Polish
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
eabb0f6724
Updated docs
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
ff4297dc0b
Added docs about stub runner
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
1923e6b890
Added a test with Moco as a stub provider
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
b81ecc36e4
Abstracted WireMock. Introduced the HttpServerStub abstraction
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
57bf619471
Polish
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
3e90c1ab9d
Polish
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
d69670db68
Bumped up version and polished
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
96525b2ad5
Fixed Maven tests
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
39bef2ce08
Fixed equals and hashcode
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
a328130418
WireMock done
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
7558fb183e
Polish
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
148dc4effc
Added documentation to the new features
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
01460f6d9f
Fixed Groovy
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
e7619a1117
Polish
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
6602f98be6
Added option to provide pluggable implementations for stubs
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
f148c5b8bf
Using factories
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
d63a557a29
Added Contract converter + Yaml example
2016-12-07 22:24:34 +01:00
Marcin Grzejszczak
21458deefc
Merge branch '1.0.x'
2016-12-07 16:53:33 +01:00
Marcin Grzejszczak
e3056a4978
#167 updated the regex and tests
2016-12-07 16:53:21 +01:00
Marcin Grzejszczak
9a31405154
Merge branch '1.0.x'
2016-12-07 16:29:29 +01:00
Marcin Grzejszczak
c067774eee
Fixed the invalid regex escape
...
fixes #162
2016-12-07 16:29:11 +01:00
Marcin Grzejszczak
d8ff715527
Bumped up version to 1.1.0
2016-12-07 14:34:56 +01:00
Marcin Grzejszczak
545874c951
Issues #110 user pass ( #157 )
...
can now configure username and password authentication and a proxy for accessing stub repository
Fixes #110
2016-12-05 14:56:08 +01:00
Marcin Grzejszczak
cf2dbc24a6
Adds the env prop for every run server ( #158 )
...
without this change you can't reference the port of a server as an env var
fixes #147
2016-12-01 22:49:23 +02:00
Marcin Grzejszczak
7a347da55a
Going back to snapshots
2016-11-24 18:58:50 +01:00
Marcin Grzejszczak
c7883a0d97
Bumping version before release
2016-11-24 18:37:39 +01:00
Marcin Grzejszczak
a5642265cd
Fixed the way contracts are packaged and tests are generated for plugins
...
the biggest problem was related with the scenario in which a jar with shared contracts is downloaded
with this change the output JAR structure is proper
fixes #156
2016-11-24 16:56:58 +01:00
Marcin Grzejszczak
c2a1efa9dc
Plugins are generating tests for all contracts when using external contracts
...
When using contract plugins together with a shared repo with contracts we end up with creating contract tests for all the contracts. Stubs are created properly but tests generation ignores the path pattern.
With this change we fix the way tests are generated
fixes #155
2016-11-23 17:43:25 +01:00
Andy Wilkinson
72e165e4ae
Use spring-asciidoctor-extensions to provide tabbed code blocks ( #153 )
2016-11-21 17:15:33 +01:00
Dave Syer
475fa2a40b
Fix escaping of __
2016-11-21 13:56:14 +00:00
Marcin Grzejszczak
699c7d2121
Added Gradle / Maven tabs
...
with these changes if someone is not interested with one of those tools one won't see it until it gets clicked
fixes #152
2016-11-21 13:59:42 +01:00
Marcin Grzejszczak
49373eb160
Added docs on extending the DSL
...
with this change we're explaining how you can add your custom methods to the DSL
fixes #23
2016-11-21 11:46:01 +01:00
Marcin Grzejszczak
b1175ff9bd
Simplification of the dsl ( #151 )
...
with this change to DSL we're adding some helper methods and DSL simplifications
- c(...) / p(...) - for consumer / producer
- for regex - e.g. $(anyUrl()) - insead of $(consumer(regex(url()))
- Added helper headers and media types
- Added helper http methods
fixes #149
2016-11-18 15:38:35 +01:00
Marcin Grzejszczak
df80cc8f1f
Added execute support for text based responses
...
without this change it's impossible to execute any custom method to assert a response for a body that is just text
with this change you can do it
fixes #150
2016-11-17 13:15:25 +01:00
Marcin Grzejszczak
d683d3d6f0
Added regex support for text based response
...
without this change any assertion on a text based response wouldn't work
with this change we start doing regex checks
fixes #150
2016-11-17 12:55:48 +01:00
Dave Syer
fa3c0035e0
Use apache HTTP client instead of JDK
...
Never got to the bottom of this, but the test failure with the
dropped connection (EOF on socket) seems to go away if we use
the Apache client instead of the JDK.
2016-11-15 09:53:42 +00:00
Marcin Grzejszczak
74574b3dc6
Added exclusion on demand of files from jar
...
without this change you can't control what should be excluded from your folder in the output stubs jar. That way when having a common repo with contracts you had the whole target put into stubs jar
with this change you can set e.g. `**/target/**/*.*` to exclude anything from the target folder
fixes #145
2016-11-14 15:54:57 +01:00
Marcin Grzejszczak
ffc691167f
Updated ports
2016-11-14 10:57:59 +01:00
Marcin Grzejszczak
42d82dca23
Prepared code for parallel run
2016-11-14 10:30:04 +01:00
Dave Syer
e93d951d50
Add support for file root location in @AutoConfigureWireMock
2016-11-11 14:15:11 +00:00
Dave Syer
3d4cb355c2
Add support for files in WireMockRestServiceServer
2016-11-11 13:10:27 +00:00
Dave Syer
4829e687d8
Improve test coverage of default stubs locations
2016-11-11 12:55:41 +00:00
Dave Syer
b063612d89
Add support for explicit priority in mock server stubs
2016-11-11 12:33:53 +00:00
Dave Syer
1b3496f492
Switch off web environment in tests
...
This seems to fix the flickering test problem for me at least.
Not sure why yet, so I'll continue to stare at it.
2016-11-11 11:53:48 +00:00
Marcin Grzejszczak
dcdb7e7f65
Added flaky test support :/
2016-11-10 13:39:34 +01:00
Dave Syer
891452376b
Don't use ServerProperties for configuring Wiremock server
...
The problem is that it is a Spring Boot app (really tiny one), so
it binds to server.* in the environment, if you try to use
the stock ServerProperties. We only need a subset of the features
so it's actually relatively easy to wrap it and use a delegate.
2016-11-09 16:12:23 +00:00