2153 Commits

Author SHA1 Message Date
Marcin Grzejszczak
7046690842 Fixed the way body is parsed for stub generation
without this fixed some bodies were treated as XML where they should be treated as text

fixes gh-493
2018-08-06 11:48:40 +02:00
Marcin Grzejszczak
e65aa5d6d5 Ensures that the proper channel will be picked for the same destination
fixes gh-694
2018-08-01 12:54:47 +02:00
Marcin Grzejszczak
46963e3da5 Fixed invalid contract package string
without this change we were matching the package for contracts with _REPLACEME_ text in it
with this change we're checking it against the package for contracts in a proper way

fixes gh-701
2018-08-01 12:12:37 +02:00
Marcin Grzejszczak
85406875e1 When referencing from request a number adds "L" for longs
fixes gh-702
2018-08-01 11:43:46 +02:00
Marcin Grzejszczak
58ce759ce6 Bumped jsonassert to 0.4.13; fixes gh-689 2018-07-13 10:59:46 -04:00
Marcin Grzejszczak
18c34f745f Fixed wrong sc-deps update after the release 2018-07-02 14:05:02 +02:00
buildmaster
63418e0400 Bumping versions to 1.2.6.BUILD-SNAPSHOT after release 2018-06-29 20:38:49 +00:00
buildmaster
983b363512 Going back to snapshots 2018-06-29 20:38:47 +00:00
buildmaster
7d9dd84431 Update SNAPSHOT to 1.2.5.RELEASE 2018-06-29 20:22:31 +00:00
Marcin Grzejszczak
7ff571de93 bumped libs 2018-06-29 22:07:44 +02:00
Ryan Baxter
8e4af644b2 adding spring boot autoconfigure processor 2018-06-11 10:57:13 -04:00
Henry Jonathan
d72524173d Contract for multipart/mixed endpoint backport to 1.2.x (#662)
* apply cherry pick based on b965c49a7e and fix conflict
2018-06-08 12:25:37 +02:00
Olga Maciaszek-Sharma
75c082a9c6 Fix pluginGroups entry info. Fix plugin call examples. Add info about (#656)
necessary directory setup.
2018-05-13 19:14:51 +02:00
Marcin Grzejszczak
45b566111a Fixed missing concrete value generation from a regex for messaging
fixes gh-650
2018-05-11 14:29:51 +02:00
Tim Ysewyn
077e18aa25 A response header should be verified against an execution property (#649)
Fixes #628
2018-05-11 02:12:16 +02:00
Tim Ysewyn
bf1c54dec7 Added assertion for empty map/object to autogenerated test (#653)
* Added assertion for empty map/object to autogenerated test

Fixes #554
2018-05-11 02:01:25 +02:00
Marcin Grzejszczak
7341b570b8 Added better support for XML in RestDocs; fixes gh-647 2018-05-08 20:38:00 +02:00
Marcin Grzejszczak
72f5ba2722 StubRunner config with role infra 2018-05-02 10:39:37 -04:00
Marcin Grzejszczak
0e51f97c2f Made stub runner executable jar; fixes gh-630 2018-04-26 13:23:32 +02:00
Marcin Grzejszczak
349f906544 Updated libs 2018-04-26 13:23:32 +02:00
Tim Ysewyn
bfb5495ae7 Added the missing $() convenience method for messaging contracts (#623)
Fixes gh-619

(cherry picked from commit 4cf6e19)
2018-04-19 08:56:06 +02:00
Tim Ysewyn
5dbac1f210 Generated messaging tests could create compilation errors for certain regexes in headers (#622)
* Fixed an issue with the generation of messaging tests where the regex pattern was creating compilation errors

fixes gh-620

(cherry picked from commit f64feaf)
2018-04-19 08:54:27 +02:00
Marcin Grzejszczak
d467341427 Ensured that stub part of the body gets returned form WIreMock response, fixes gh-611 2018-04-12 15:49:18 +02:00
Marcin Grzejszczak
7de5c7c4dd Bumped JSON Assert to 0.4.12, fixes gh-610 2018-04-12 15:48:29 +02:00
Marcin Grzejszczak
264757d114 Fixed broken JaxRs cookie test 2018-04-11 16:00:08 +02:00
Marcin Grzejszczak
6ace68284c Added docs 2018-04-11 12:34:23 +02:00
Marcin Grzejszczak
d203fe8dea Added tests, dsl -> yml cookies 2018-04-11 12:04:34 +02:00
Marcin Grzejszczak
ddbd097b39 Merge branch '1.2.x_cookies' of https://github.com/bertzzie/spring-cloud-contract into bertzzie-1.2.x_cookies 2018-04-11 10:41:28 +02:00
Alex Xandra Albert Sim
2068fdc8ca Added more tests to have better coverage 2018-04-11 14:47:17 +07:00
Alex Xandra Albert Sim
a181c6576f YAML cookie support 2018-04-11 14:47:00 +07:00
Marcin Grzejszczak
a0641790a9 Wiremock stubs with cookies + some tests 2018-04-11 10:05:43 +07:00
Marcin Grzejszczak
f771f00fbb Invalid equality check of messaging headers in input / output scenario
fixes gh-609
2018-04-10 16:47:46 +02:00
Alex Xandra Albert Sim
e7996e846e Update @since version for Cookie(s) class 2018-04-10 08:29:36 +07:00
Alex Xandra Albert Sim
bca6c14350 Added compilation test to cookie assertion tests 2018-04-10 08:27:56 +07:00
Alex Xandra Albert Sim
c740f8b3dd Add cookie header check to contract verifier 2018-04-09 15:45:08 +07:00
Marcin Grzejszczak
7652bcff48 Fixed missing support for predefined matchers for messages; fixes #604 2018-04-03 20:58:10 +02:00
Marcin Grzejszczak
8c87ed16bf Added docker modules in deploy profile 2018-04-02 23:27:21 +02:00
Marcin Grzejszczak
625780615c Bump remaining wiremock versions 2018-03-31 18:46:05 +02:00
Marcin Grzejszczak
9aa1eab483 Bumped wiremock to 2.16.0; fixes gh-600 2018-03-31 18:43:39 +02:00
buildmaster
766cd59f64 Bumping versions to 1.2.5.BUILD-SNAPSHOT after release 2018-03-27 00:44:45 +00:00
buildmaster
ce62f7f77a Going back to snapshots 2018-03-27 00:44:43 +00:00
buildmaster
71061a7d7f Update SNAPSHOT to 1.2.4.RELEASE 2018-03-27 00:33:17 +00:00
Marcin Grzejszczak
1e0ea34c91 Parametrized and bumped rest assured; fixes gh-597
(cherry picked from commit f6a8f49)
2018-03-25 13:16:16 +02:00
Marcin Grzejszczak
841a7bdfca Added a test for regular expressions in wiremock stubs; fixes gh-449 2018-03-21 16:03:49 +01:00
Marcin Grzejszczak
4e08f77996 escapes all generated strings by Xeger so that the code is java compatible
related to gh-589

fixes gh-588
2018-03-21 11:35:29 +01:00
Marcin Grzejszczak
f70c1dbfdd Added support for patterns inside GStrings in URL
related to gh-589

fixes gh-588
2018-03-21 10:54:24 +01:00
Marcin Grzejszczak
cd07f6d42b Xeger can cause stackoverflow and doesn't understand \d \w \s
fixes gh-589, fixes gh-590
2018-03-21 10:53:30 +01:00
Marcin Grzejszczak
f57cefc68a Ensured that regular expressions are generated properly; fixes gh-587 2018-03-21 09:13:19 +01:00
mfeygelson
4d72a2744e Support pattern properties in messaging contracts (#564)
(cherry picked from commit c4ab647)
2018-03-21 08:29:40 +01:00
Marcin Grzejszczak
67019774e1 Fixed missing conversion of messaging patterns to java
without this change patterns were not escaped the way they should

fixes gh-587
2018-03-20 21:08:24 +01:00