Commit Graph

120 Commits

Author SHA1 Message Date
Marcin Grzejszczak
7e19f9fceb Adds option to generate contracts from RestDocs
with this change we're giving an option to not only generate stubs but also generate contracts from the RestDocs test

    fixes #14
2017-02-23 17:37:24 +01:00
Marcin Grzejszczak
14f18dcdd3 Added information in the docs about execute method and concatation
without this it can be misunderstood that execute() can be used with Strings
with this we're informing the users that the value of the given property (url, header, body) has to be uniquely a execute command

fixes #231
2017-02-23 11:09:27 +01:00
Marcin Grzejszczak
47102d722b Added the byCommand matcher
with this change the users can pass their own custom methods for the given matcher

hopefully fixes #217
2017-02-10 13:30:09 +01:00
Marcin Grzejszczak
ab7fe13aac Adding an option to validate children nodes in an array (#219)
without this change it's impossible to assert with response matchers all elements of an array
with this change we're using AssertJs conditions in case the pattern contains [*]

fixes #217
2017-02-08 11:41:59 +01:00
Marcin Grzejszczak
8449382110 Added info about the dependencies 2017-02-08 11:06:58 +01:00
Marcin Grzejszczak
8621a3258b Added support for ranges of versions
fixes #210
2017-02-03 09:57:56 +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
fca7e1935f Updated docs 2017-01-13 18:10:05 +01:00
Marcin Grzejszczak
897bce6b16 Fixed wrong comparison of size 2017-01-12 12:32:06 +01:00
Marcin Grzejszczak
2bd95b6edb Changed byValue to byEquality 2017-01-11 19:13:49 +01:00
Marcin Grzejszczak
76966a985c Added equality check to matchers 2017-01-11 14:16:53 +01:00
Marcin Grzejszczak
9ccc5bc0fd Polish 2017-01-10 18:45:42 +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
7d739cc3bd Updated info about Groovy plugins
fixes #122
2017-01-02 11:20:23 +01:00
Marcin Grzejszczak
a57ac0a5ea Updated the readme 2016-12-29 14:15:02 +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
60648f6203 Updated video in the docs 2016-12-27 19:54:05 +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
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
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
Marcin Grzejszczak
293fa22bf4 Updated contract deps 2016-11-08 17:09:07 +01:00
Marcin Grzejszczak
a34e1973f8 Update introduction.adoc 2016-11-01 14:25:29 +01:00
Marcin Grzejszczak
8a9098c8b7 Updated docs with webinar info 2016-11-01 07:42:25 +01:00
Mathias Düsterhöft
49520d4c3d Add support for spring-amqp annotated listener endpoints
without this change only explicit Spring AMQP support was present
with this change support for spring-amqp annotated listener endpoints was added

fixes #127
2016-10-31 14:23:56 +01:00
Mathias Düsterhöft
2b70b450b9 add spring-amqp/spring-rabbit support for message contracts (#106) 2016-10-20 12:43:31 +02:00
dantwining
4779729ed9 Minor typo in README (#108) 2016-10-13 22:27:13 +02:00
Marcin Grzejszczak
b17238ff4e Fixing missing context-path usage
without this change when the user adds context-path it gets ignored and WireMock fails to register stubs
with this change we update the WireMock instance to include the context path

fixes #99
2016-10-11 11:27:24 +02:00
Marcin Grzejszczak
e8031c0a65 Small updates of docs 2016-09-26 14:34:36 +02:00
Marcin Grzejszczak
b598518281 Added ignored to contracts
without this change the only way to ignore a contract was to provide it in the plugin's config

with this change you can also set it on the contract itself.

fixes #30
2016-09-26 14:32:01 +02:00
Marcin Grzejszczak
0694d5b6f6 Updated docs 2016-09-23 22:44:01 +02:00
Marcin Grzejszczak
3f6a1601ab Updated docs 2016-09-23 16:02:27 +02:00
Marcin Grzejszczak
a3e67a1b34 Updated docs 2016-09-23 15:59:55 +02:00
Marcin Grzejszczak
186ac4762f Updated docs 2016-09-23 15:56:11 +02:00
Marcin Grzejszczak
e8917940ec Added option of multiple test base classes
without this change the user was forced to use a single base class for all of the generated tests. It could become problematic after some time.

With this change we provide a range of options of providing different base classes for different contracts.

fixes #16
2016-09-23 15:52:14 +02:00
Marcin Grzejszczak
f079b8e440 Updated docs 2016-09-23 10:56:52 +02:00
Marcin Grzejszczak
429cab76cc Updated docs 2016-09-23 10:43:27 +02:00
Marcin Grzejszczak
01f4ad76be Consumer Contracts (#83)
With this functionality you can have one centralized repository containing all contracts. This repo will have to produce a JAR containing all contracts. The layout of the repository can be arbitrary but some sensible defaults are assumed. The producer will be able to then download that JAR and produce tests and stubs from it.

fixes #38
2016-09-23 10:16:51 +02:00
Marcin Grzejszczak
0d9a7b54ca Updated docs 2016-09-20 12:39:04 +02:00
Marcin Grzejszczak
b9eee2b2a7 Added docs about async
fixes #80
2016-09-20 12:33:55 +02:00
Marcin Grzejszczak
f1a2561df3 Removed adoc footer 2016-09-07 18:02:02 +02:00
Marcin Grzejszczak
2b4eb23839 Added a section on how to work with stub jars
without this people can be surprised with the transitive dependencies being included in their project from stub jars.

We explain 3 different approaches to solving this issue.

Fixes #55
2016-09-07 10:03:24 +02:00
Marcin Grzejszczak
dbc7c57702 Changed the docs (#74)
* reorganized the entries (now the Contract details went to the very bottom)
* added FAQ section where versioning and dynamic props are better defined
* added in a couple of places links to Groovy JSON docs

fixes #69
2016-09-06 19:41:34 +02:00
Marcin Grzejszczak
5ceb9f1a8e Simplified addition of dependencies by using Camden BOM 2016-09-02 11:24:08 +02:00
Marcin Grzejszczak
8dde9f333b Removed XML entry
will readd it once it has been fixed

fixes #67
2016-08-30 11:06:04 +02:00
Marcin Grzejszczak
ab535dc8ea Updated the introductory project 2016-08-24 18:02:16 +02:00
Marcin Grzejszczak
5d3e99874f Added options to pass props via @AutoConfigureStubRunner (#61)
* Added options to pass props via @AutoConfigureStubRunner

it's much easier to pass props via the annotation instead of property files. With this change the user can provide the properties inside the test via the annotation. The only thing that has to be passed via props is repositoryRoot (typically it's a very constant property that you set once).

fixes #46
2016-08-24 16:14:10 +02:00