Commit Graph

1325 Commits

Author SHA1 Message Date
Marcin Grzejszczak
3d1da49eba Merge branch '1.0.x'
fixes #189
2017-01-13 16:41:44 +01:00
Marcin Grzejszczak
8a878b286a Fixed broken indentation
without this change tests are improperly indented

fixes #189
2017-01-13 16:41:37 +01:00
Marcin Grzejszczak
7ed97e1423 Merge branch '1.0.x' 2017-01-13 12:53:31 +01:00
Marcin Grzejszczak
6c6f1d3c68 Fixed the messaging indents
currently in messaging we were not properly indenting part of the body assertion.
with this change we're fixing that issue

fixes #187
2017-01-13 12:52:02 +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
2808d3eb2e Updated to sc-zookeeper changes 2017-01-12 15:11:22 +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
d20f761526 Merge branch '1.0.x' 2017-01-09 10:49:50 +01:00
Marcin Grzejszczak
666f5a9d9d Added snapshot repos 2017-01-09 10:49:44 +01:00
Marcin Grzejszczak
2d0d06b6f6 Added snapshot repos 2017-01-09 10:48:59 +01:00
Marcin Grzejszczak
b404369341 Added isoDate, isoTime, isoDateTime
fixes #183
2017-01-03 18:14:10 +01:00
Marcin Grzejszczak
150f7fdc43 Added isoDate, isoTime, isoDateTime
fixes #183
2017-01-03 18:13:06 +01:00
Marcin Grzejszczak
78ebacd9c5 Merge branch '1.0.x'
fixes #143
2017-01-02 11:35:11 +01:00
Marcin Grzejszczak
d4f5689dc7 Documented potential issues with blocked ports with Stub Runner
fixes #369
2017-01-02 11:30:27 +01:00
Marcin Grzejszczak
0ca4ddf762 Updated docs 2017-01-02 11:22:43 +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
b7101f2a77 Merge branch '1.0.x'
fixes #135
2016-12-29 15:38:45 +01:00
Marcin Grzejszczak
4ceaff5b66 Added missing body pattern comparison
without this change the eact contents of the body were mostly ignored
with this change we support all WireMock body matching patterns

fixes #135
2016-12-29 15:38:34 +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
e4d8e1f6e2 Added missing method verification
without this change the only criterion for matching of requests was URL / headers / content. The method check was missing
with this change we verify if the HTTP method matches too

fixes #163
2016-12-29 14:10:13 +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
0fd91976f3 Added excludeBuildFolders property
without this change when we work with the repo with common contracts then in the logs we can see that a lot of unnecessary files are processed. Those files are related to the fact that `target` / `build` folders are created and reside in the path in which we're searching for contracts. Due to this we have duplicates in terms of converting files.
with this change we add the `excludeBuildFolders` property that is by default turned off. If you enable it in the `pom.xml` that is used by the consumers to install stubs locally then the target folder gets ignored.

fixes #167
2016-12-28 12:28:07 +01:00
Marcin Grzejszczak
60648f6203 Updated video in the docs 2016-12-27 19:54:05 +01:00
Marcin Grzejszczak
492fc93511 Merge branch '1.0.x'
fixes #85
2016-12-27 14:18:53 +01:00
Marcin Grzejszczak
07bf0cb9c7 Fixed the way in JUnit we address list indices
without this change for some reason we're using .get() to address an entry in the list via a index
with this change we're doing it in the proper JSON path format which is `$[index]`

fixes #85
2016-12-27 14:18:40 +01:00
Marcin Grzejszczak
eda0e1d061 Merge branch '1.0.x'
fixes #178
2016-12-27 12:26:13 +01:00
Marcin Grzejszczak
b7beb322b5 Fixed deserialization of byte array
without this fix we're not assuming that the payload can be an array of bytes
with this fix we're converting an array of bytes into a String

fixes #178
2016-12-27 12:24:34 +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
c334733993 Merge branch '1.0.x'
fixes #169
2016-12-23 14:31:15 +01:00
Marcin Grzejszczak
6da0cb25ac Unescaping escaped quotes
without this change we're escapng an already escaped quotes in a regex
with this change we're doing a hack to unescape a double escaped quote

fixes #169
2016-12-23 14:26:29 +01:00
Marcin Grzejszczak
aba1ddc0cd Merge branch '1.0.x'
fixes #176
2016-12-22 19:10:51 +01:00
Marcin Grzejszczak
4582a6a3bf Fixed invalid parsing of ids
without this change when someone has provided an empty value of port then a default classifier was set instead of picking the provided one

fixes #176
2016-12-22 19:10:42 +01:00
Marcin Grzejszczak
c1b2fd4432 Merge branch '1.0.x' 2016-12-22 18:50:58 +01:00