Commit Graph

373 Commits

Author SHA1 Message Date
Marcin Grzejszczak
edb3d97f3f Fixed invalid cloning of a json; fixes gh-763 2018-10-23 22:13:41 +02:00
Marcin Grzejszczak
38afb59076 Fixed conversion of GString to String; fixes gh-762 2018-10-23 20:21:44 +02:00
Olga Maciaszek-Sharma
d976c18c3e Merge branch '1.2.x' into 2.0.x
# Conflicts:
#	pom.xml
#	spring-cloud-contract-verifier/src/main/java/org/springframework/cloud/contract/verifier/messaging/camel/CamelStubMessages.java
#	spring-cloud-contract-verifier/src/main/java/org/springframework/cloud/contract/verifier/messaging/camel/ContractVerifierCamelMessageBuilder.java
2018-10-15 16:45:08 +02:00
Olga Maciaszek-Sharma
8b50edb340 Merge pull request #750 from spring-cloud/gh-667
Remove duplicated backslashes. Fixes gh-667
2018-10-15 16:38:51 +02:00
Olga Maciaszek-Sharma
1413704cfb Remove duplicated backslashes. Fixes gh-667 2018-10-15 16:04:53 +02:00
Marcin Grzejszczak
c3984f0c3a Fixed YAML Dsl conversion issues
fixes gh-738
2018-09-28 10:22:51 -04:00
Yuriy
ccd4e2f532 bump camel version (#733) 2018-09-19 17:55:09 +02:00
Marcin Grzejszczak
52a5ed6cec Fixed the contract to yml conversion; fixes gh-732 2018-09-17 17:54:55 +02:00
Olga Maciaszek-Sharma
7b75c0345d Merge branch '1.2.x' into 2.0.x 2018-09-12 14:29:24 +02:00
Olga Maciaszek-Sharma
1b36df5caf Revert - resolve conflicts. 2018-09-12 14:14:09 +02:00
Olga Maciaszek-Sharma
35719ae2be Revert 077e18aa25. 2018-09-12 14:13:39 +02:00
Olga Maciaszek-Sharma
3befda64f4 Revert 077e18aa25.
(cherry picked from commit 67170ae0de)
2018-09-12 14:12:56 +02:00
Marcin Grzejszczak
d23684d1c4 Fixed backward compatibility of native WireMock helpers 2018-08-31 12:05:22 +02:00
Marcin Grzejszczak
b143d16f32 Chaned the helper's bounds 2018-08-30 12:21:14 +02:00
Marcin Grzejszczak
14498889f6 Fixed broken compilation 2018-08-29 16:23:56 +02:00
Marcin Grzejszczak
83e700cc97 Fixed broken compilation 2018-08-29 16:22:15 +02:00
Marcin Grzejszczak
d22b94ab83 Fixed broken compilation 2018-08-29 16:19:41 +02:00
Marcin Grzejszczak
8bd931cb4f Added compatibility with WireMock helpers
(cherry picked from commit 9fe36dc747)
2018-08-29 16:13:08 +02:00
Marcin Grzejszczak
9fe36dc747 Added compatibility with WireMock helpers 2018-08-29 15:50:24 +02:00
Marcin Grzejszczak
52ed19d194 Merge branch '1.2.x' into 2.0.x 2018-08-08 18:09:49 +02:00
Marcin Grzejszczak
e5b0a9dabc Added better exception for null collection elements; fixes gh-703 2018-08-08 18:09:27 +02:00
Marcin Grzejszczak
01c056e938 Merge branch '1.2.x' into 2.0.x 2018-08-06 11:53:57 +02:00
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
c2ecd2cd17 Merge branch '1.2.x' into 2.0.x 2018-08-01 13:02:30 +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
SvenBayer
0a28d0848d Move YamlContractConverter list of available contract converters. (#684)
Great pointer and great pull request. Thanks a lot!
2018-07-09 08:52:19 +02:00
Marcin Grzejszczak
302347f399 Fixed the invalid mockito verification that ignored null; fixes gh-676 2018-07-02 16:06:18 +02: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
Marcin Grzejszczak
7f3d80ad07 Added missing test 2018-05-11 14:44:54 +02:00
Marcin Grzejszczak
9f578f87d1 Merge branch '1.2.x' 2018-05-11 02:35:42 +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
Tim Ysewyn
3fe82362a8 Return the actual object instead of the String used for matching the pattern (#654) 2018-05-11 01:54:20 +02:00
Tim Ysewyn
abecf1fc83 Added assertion for empty map/object to autogenerated test (#653)
* Added assertion for empty map/object to autogenerated test

Fixes #554
2018-05-11 01:31:36 +02:00
Tim Ysewyn
13873f3481 A response header should be verified against an execution property (#649)
Fixes #628
2018-05-09 07:57:30 +02:00
Axel Hodler
87d6d9e4f1 Dont parse body if not specified in contract (#624) 2018-05-01 09:32:12 -04: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
Tim Ysewyn
f64feaf84d 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
2018-04-18 23:17:59 +02:00
Marcin Grzejszczak
4010144136 Merge branch '1.2.x' 2018-04-12 16:32:15 +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
b965c49a7e Added support for multipart with content type, fixes gh-599 2018-04-11 15:37:13 +02:00
Marcin Grzejszczak
34f367e62b Merge branch '1.2.x' 2018-04-11 12:48:22 +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
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
Alex Xandra Albert Sim
bca6c14350 Added compilation test to cookie assertion tests 2018-04-10 08:27:56 +07:00