Commit Graph

3290 Commits

Author SHA1 Message Date
Marcin Grzejszczak
e22f5ec76e Fixed cloning of objects 2019-01-03 10:59:02 +01:00
Marcin Grzejszczak
120820ff9c Warn message if scm not matched 2019-01-02 19:00:40 +01:00
Marcin Grzejszczak
20c12e569d Fixed invalid flag 2019-01-02 18:10:45 +01:00
Marcin Grzejszczak
4b50846fb4 Polish 2019-01-02 10:13:40 +01:00
Marcin Grzejszczak
d90bf2ccab Polish 2019-01-01 11:58:04 +01:00
Marcin Grzejszczak
6464513878 Allow fetching contract definitions from file system and pushing them to GIT; fixes gh-773 2019-01-01 11:49:59 +01:00
Marcin Grzejszczak
56fbc11f62 Allows passing of regex type (#832)
without this change if one does $(regex("[0-9]")) we have no knowledge of whether the result should be text or a number. What we do ATM is we always generate a String
with this change once can pass the type of regular expression and we will generate the concrete value of that given type

fixes gh-768
2018-12-28 16:29:32 +01:00
Marcin Grzejszczak
58bf533462 Fixed invalid yaml contract name setting 2018-12-27 11:54:51 +01:00
Marcin Grzejszczak
59e5f8b1eb Convert Contract Definitions to YAML (#827)
without this change, if you're using some external libraries and you reference them in your DSL, those libraries need to also be used on the consumer side.

with this change, you can set the contractsToYaml property of the plugin, that will convert the contract definitions into YAML, and then generate tests and stubs. We will store the original contract definitions under the originals folder.

fixes #744
2018-12-27 11:14:31 +01:00
Marcin Grzejszczak
6901fe03f5 BUmped wiremock to 2.20.0; fixes gh-925 2018-12-24 09:35:18 +01:00
buildmaster
e6640350bc Going back to snapshots 2018-12-20 21:43:00 +00:00
buildmaster
f47d0d3406 Update SNAPSHOT to 2.1.0.RC3 2018-12-20 21:37:41 +00:00
Marcin Grzejszczak
a57a8e6548 Polish 2018-12-20 14:58:32 +01:00
Marcin Grzejszczak
9c7c896115 Assert size of collections on the request side; fixes gh-824 2018-12-20 14:53:38 +01:00
Marcin Grzejszczak
6969d233b8 Removed httpclient setup 2018-12-18 14:08:42 +01:00
Marcin Grzejszczak
d7ae991469 Fixed build 2018-12-18 14:04:53 +01:00
Marcin Grzejszczak
204c6a97f7 Merge branch '2.0.x' 2018-12-18 13:24:17 +01:00
Marcin Grzejszczak
7b2cce7513 Fixed issues with bound ports 2018-12-18 13:20:39 +01:00
Marcin Grzejszczak
f45f624d34 Made test less brittle 2018-12-17 13:49:06 +01:00
Marcin Grzejszczak
4ca8091494 Removed cross compilation 2018-12-17 13:31:24 +01:00
Olga Maciaszek-Sharma
0d2b4556c9 Remove duplicate dependency. Add developer entry. 2018-12-17 11:44:05 +01:00
Marcin Grzejszczak
fa16ea945c Merge branch '2.0.x' 2018-12-17 10:46:21 +01:00
Marcin Grzejszczak
d23e0c61bf The DSL generated from RESTDocs for String response is wrong; fixes gh-775 2018-12-17 10:43:22 +01:00
Marcin Grzejszczak
c00949a15c Revert "Added as type for backward compatibility"
This reverts commit 296f9c5091.
2018-12-17 09:24:12 +01:00
Marcin Grzejszczak
296f9c5091 Added as type for backward compatibility 2018-12-17 09:03:02 +01:00
Marcin Grzejszczak
46056aa783 Added a test that ensures that invalid class name gets converted 2018-12-16 23:28:02 +01:00
Marcin Grzejszczak
4464800512 Improved reading from file 2018-12-16 23:10:30 +01:00
Marcin Grzejszczak
e68448281f Revert "Fixed invalid multiline json reading"
This reverts commit 923faef7d3.
2018-12-16 22:54:57 +01:00
Marcin Grzejszczak
923faef7d3 Fixed invalid multiline json reading 2018-12-16 22:39:28 +01:00
Marcin Grzejszczak
1973c28550 Merge branch '2.0.x' 2018-12-16 14:08:23 +01:00
Marcin Grzejszczak
51f7ef6f67 web dependency is optional, StubRunner listener conditional
without this change we always include `spring-boot-starter-web` to Stub Runner. With this change the dependency is optional. Thanks to this reactive applications will be able to work fine with contract on the classpath.

without this change we always run Stub Runner test execution listener, even if the test class is not annotated. With this change we run the listener only, if the test class was annotated with `@AutoConfigureStubRunner`.

Also we add information about the `java.net.SocketException: Unexpected end of file from server` exception to the docs and how to override that issue.

Fixes gh-798, gh-809, gh-799
2018-12-16 13:44:00 +01:00
Marcin Grzejszczak
0058b987ae Adds support for binary payloads (#818)
with this change we're adding support for binary payloads both for HTTP and messaging.

fixes #664
2018-12-15 14:06:17 +01:00
Marcin Grzejszczak
928b32ecce BUmped boot 2018-12-15 09:19:35 +01:00
Marcin Grzejszczak
19c1140110 Fixed readme 2018-12-15 00:51:18 +01:00
buildmaster
ba02983ff6 Going back to snapshots 2018-12-11 22:34:06 +00:00
buildmaster
eae5866fba Update SNAPSHOT to 2.1.0.RC2 2018-12-11 22:28:39 +00:00
buildmaster
cb401b9cc2 Going back to snapshots 2018-12-11 19:03:21 +00:00
buildmaster
ca9bd89614 Update SNAPSHOT to 2.1.0.RC1 2018-12-11 18:57:39 +00:00
杨博 (Yang Bo)
3c3d3f7b19 Configure for WireMockServer instead of port (#812)
When port = 0, WireMock will assign different ports for admin server and mock server. As a result, the original implementation will send admin requests to mock server, which is wrong behavior.

If this PR got merged, WireMock will directly add stubs instead of sending admin requests, which is correct behavior and also improves performance.
2018-12-11 18:47:52 +00:00
Olga Maciaszek-Sharma
a5fab08712 Move aether deps from dependencies pom to parent pom. (#814) 2018-12-11 18:44:10 +00:00
Jarle Hansen
7fdae659df small fix in doc (#808) 2018-12-07 09:55:55 +01:00
Marcin Grzejszczak
247b2ee646 Added included files to Groovy DSL; fixes gh-807 2018-12-04 10:45:56 +01:00
Marcin Grzejszczak
38a70b5b75 Fixed the documentation 2018-12-03 14:34:55 +01:00
David Suárez
7e1a6941d6 fix stub runner application when is in real stream mode (#805)
* fix stub runner application when is in real stream mode

* fix stub runner application when is in real stream mode. Adding @ConditionalOnClass(TestSupportBinderAutoConfiguration.class)
2018-11-28 15:17:55 +01:00
Olga Maciaszek-Sharma
fdc0c085be Merge pull request #806 from spring-cloud/return-empty-array-for-null-body
Return empty array if null body. Fixes gh-804
2018-11-28 14:28:22 +01:00
Olga Maciaszek-Sharma
0785f405ed Return empty array if null body. Fixes gh-804 2018-11-28 13:51:44 +01:00
Olga Maciaszek-Sharma
9bafbf66c8 Code cleanup. 2018-11-19 11:37:33 +01:00
Marcin Grzejszczak
708af5d746 Added missing this. 2018-11-18 14:39:51 +01:00
Marcin Grzejszczak
7bffa8057c Merge branch '2.0.x' 2018-11-18 11:04:05 +01:00
Marcin Grzejszczak
34f7cd31ed Merge branch '1.2.x' into 2.0.x 2018-11-18 11:03:57 +01:00