Commit Graph

759 Commits

Author SHA1 Message Date
Marcin Grzejszczak
dfceed2ce1 Bumping versions before release 2017-01-30 11:41:56 +01:00
Marcin Grzejszczak
bda72f136c Allows to use multiple stub converters
with this change all available stub converters on the classpath will be executed to convert the contract. That way you can make such a flow pass:

- from DSL input
- generate Java tests
- produce WireMock stubs
- produce Pact files

fixes #194
2017-01-16 16:23:27 +01:00
Marcin Grzejszczak
f59107fd62 Merge branch '1.0.x' 2017-01-16 13:45:59 +01:00
Marcin Grzejszczak
12aa340e46 Added an option to build the project in parallel
with this change we've added some scripts to run the build in parallel. It makes the build ~ 2 times faster

fixes #190
2017-01-16 13:05:15 +01:00
Marcin Grzejszczak
8d23d934c9 Bumped copyrights 2017-01-16 12:40:34 +01:00
Marcin Grzejszczak
1dabe2b610 :xMerge branch '1.0.x' 2017-01-14 22:10:24 +01:00
Marcin Grzejszczak
fca7e1935f Updated docs 2017-01-13 18:10:05 +01:00
Marcin Grzejszczak
22a5e44471 Pact Contract (#188)
with this change we're providing support for Pact based contracts. No longer do you have to set up your contracts using the Groovy DSL. In the same way as with the DSL you can use the Pact contracts to generate tests and the stubs on the producer side.

fixes #96
2017-01-13 18:06:32 +01:00
Marcin Grzejszczak
bacde76798 Going back to snapshots 2017-01-12 15:58:06 +01:00
Marcin Grzejszczak
bc37cc9a1a Bumping version before release 2017-01-12 15:28:20 +01:00
Marcin Grzejszczak
9644b0b790 Merge branch '1.0.x' 2017-01-12 13:25:59 +01:00
Marcin Grzejszczak
897bce6b16 Fixed wrong comparison of size 2017-01-12 12:32:06 +01:00
Marcin Grzejszczak
6ee7f0cf0d Merge branch '1.0.x' 2017-01-11 19:13:59 +01:00
Marcin Grzejszczak
2bd95b6edb Changed byValue to byEquality 2017-01-11 19:13:49 +01:00
Marcin Grzejszczak
f605237136 Merge branch '1.0.x' 2017-01-11 14:32:54 +01:00
Marcin Grzejszczak
76966a985c Added equality check to matchers 2017-01-11 14:16:53 +01:00
Marcin Grzejszczak
c92e57bbdf Merge branch '1.0.x' 2017-01-10 18:47:53 +01:00
Marcin Grzejszczak
9ccc5bc0fd Polish 2017-01-10 18:45:42 +01:00
Marcin Grzejszczak
9543434ef7 Merge branch '1.0.x'
Stub / Test Matchers (#186)
Without this change we're forcing users to embed their dynamic properties inside the body. For some this is natural and acceptable, but especially for the users coming from the Pact world this sounds bizarre. Also some other people have a problem with remembering who the consumer / producer is etc.

With this change we're introducing the stubMatchers and testMatchers section. Thanks to this one can separate the body from defining the dynamic properties. Especially for Pact users this is more natural. Speaking of which this is a prerequisite for #96

fixes #185
2017-01-10 17:21:38 +01:00
Marcin Grzejszczak
27bf2af8fd Stub / Test Matchers (#186)
Without this change we're forcing users to embed their dynamic properties inside the body. For some this is natural and acceptable, but especially for the users coming from the Pact world this sounds bizarre. Also some other people have a problem with remembering who the consumer / producer is etc.

With this change we're introducing the stubMatchers and testMatchers section. Thanks to this one can separate the body from defining the dynamic properties. Especially for Pact users this is more natural. Speaking of which this is a prerequisite for #96

fixes #185
2017-01-10 16:47:10 +01:00
Marcin Grzejszczak
07961dc8a9 Merge branch '1.0.x'
fixes #122
2017-01-02 11:21:06 +01:00
Marcin Grzejszczak
7d739cc3bd Updated info about Groovy plugins
fixes #122
2017-01-02 11:20:23 +01:00
Marcin Grzejszczak
cdd01021c1 Updated the readme 2016-12-29 14:15:59 +01:00
Marcin Grzejszczak
4abc36e311 Merge branch '1.0.x'
fixes #163
2016-12-29 14:15:17 +01:00
Marcin Grzejszczak
a57ac0a5ea Updated the readme 2016-12-29 14:15:02 +01:00
Marcin Grzejszczak
fef078d2eb Bumped up boot version in samples 2016-12-28 19:57:07 +01:00
Marcin Grzejszczak
fb134a473d Merge branch '1.0.x'
fixes #179 #117
2016-12-28 19:40:42 +01:00
Marcin Grzejszczak
cb803320cd Updated tests for the context path
without this change the explicit mode is broken and context path scenario can't be tested
    with this change you can provide the EXPLICIT mode with which you can set the RestAssured to send real requests. That way you can set up your application to listen on a socket and have the context path setup. The contracts need to include the context path too since in real world you'll send a request to a URL that contains a context path element.

    fixes #179 #117
2016-12-28 19:38:39 +01:00
Marcin Grzejszczak
2ecb426814 Merge branch '1.0.x'
fixes #167
2016-12-28 12:52:15 +01:00
Marcin Grzejszczak
60648f6203 Updated video in the docs 2016-12-27 19:54:05 +01:00
Marcin Grzejszczak
405ca0186b Merge branch '1.0.x'
fixes #146
2016-12-23 14:38:57 +01:00
Marcin Grzejszczak
a509124976 Added info about WireMock exclusions to the docs
without this change if someone used the Spring Cloud BOM one could have some dependency related issues coming from exclusions of WireMock dependencies in SPring CLoud COntract
with this change we're informing the user about this

fixes #146
2016-12-23 14:38:46 +01:00
Marcin Grzejszczak
6963528a4a Updated contract docs 2016-12-13 09:52:08 +01:00
Marcin Grzejszczak
faa18a69b1 Made stub downloading pluggable (#165)
* Added implementation for pluggable stub downloading
* Added docs and test for pluggable sub dowloader

fixes #165
2016-12-13 09:32:32 +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
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
a328130418 WireMock done 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
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
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
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
Dave Syer
e93d951d50 Add support for file root location in @AutoConfigureWireMock 2016-11-11 14:15:11 +00:00