Commit Graph

945 Commits

Author SHA1 Message Date
Dave Syer
dcf09ef447 Update docs for new messaging interfaces 2016-07-19 08:44:16 +01:00
Dave Syer
a3c493c368 Remove another interface from user API 2016-07-19 08:40:10 +01:00
Dave Syer
03d8554adb Add back the ContractVerifierMessage in an internal package
It's easier to write generated tests with this abstraction, but
it doesn't have to be visible to users.
2016-07-19 07:21:00 +01:00
Dave Syer
a3712e77c4 Make ContractVerifierMessaging independent of the builder interface
The builder is really an internal detail of the messaging support,
so it' sbetter if users just use the send method directly.
2016-07-18 15:52:21 +01:00
Dave Syer
b618ae5868 Simplify the messaging APIs a bit
There is no need for users to know about any special contract-specific
Message object (payload and headers). Once you see that, it seems like
there is no need for it internally either. So this change removes the
message wrapper type and cleans up the interfaces it touches.
2016-07-18 15:39:25 +01:00
Dave Syer
472c6d3882 Add messaging automatically to stub runner autoconfig 2016-07-18 10:54:45 +01:00
Dave Syer
ac873f9c82 Migrate stubrunner config to @ConfigurationProperties 2016-07-18 09:36:48 +01:00
Dave Syer
a4371b1d9f Remove unused logger 2016-07-18 09:00:27 +01:00
Dave Syer
e8781778bb Spelling mistake in project name 2016-07-18 08:57:04 +01:00
Dave Syer
d3fddf59e0 Rejig dependencies to make tests pass 2016-07-18 08:52:12 +01:00
Dave Syer
81899839df Migrate http-client to plain Java test 2016-07-18 07:55:10 +01:00
Dave Syer
e03614c2f7 Shorten standalone sample names 2016-07-16 16:14:23 +01:00
Dave Syer
909e14e7ca Flatten stub runner messaging hierarchy 2016-07-16 15:37:57 +01:00
Dave Syer
5f662bc526 Move stub runner server features to main module 2016-07-16 15:02:53 +01:00
Dave Syer
5681cd1d55 Remove references to old stub runner modules 2016-07-16 10:40:56 +01:00
Dave Syer
8ea90396a6 Merge spring cloud features into main stub runner 2016-07-16 09:56:05 +01:00
Dave Syer
fc7ed47e3d Move stub runner spring into main module 2016-07-16 09:39:34 +01:00
Dave Syer
664082d843 Merge junit features into main stub runner module 2016-07-15 22:03:17 +01:00
Dave Syer
bbec38fa74 Convert stub runner integration to Java 2016-07-15 17:57:37 +01:00
Dave Syer
f1634eb0ff Convert stub runner camel to Java 2016-07-15 17:28:48 +01:00
Dave Syer
3a85b60408 Convert stub-runner base to Java 2016-07-15 17:10:48 +01:00
Marcin Grzejszczak
65eaba0b23 Updated codecov for Gradle 2016-07-15 15:38:13 +02:00
Marcin Grzejszczak
e9f1d7150a Added Jacoco for Gradle 2016-07-15 15:36:36 +02:00
Marcin Grzejszczak
1f86138517 Updated docs 2016-07-15 15:27:39 +02:00
Marcin Grzejszczak
d0f7572872 Updated docs 2016-07-15 15:17:59 +02:00
Marcin Grzejszczak
0b16a861e9 Updated docs 2016-07-15 14:50:59 +02:00
Marcin Grzejszczak
38533e7f0b Added missing toc 2016-07-15 14:43:15 +02:00
Marcin Grzejszczak
9961e9cb2e Updated docs 2016-07-15 14:41:33 +02:00
Marcin Grzejszczak
77703c0003 Migrated docs to new folders 2016-07-15 14:34:40 +02:00
Marcin Grzejszczak
a8a1bc1f2e Updated docs with a fast intro 2016-07-15 14:27:17 +02:00
Marcin Grzejszczak
bc22227fe3 Added missing docs for #32 2016-07-15 14:27:17 +02:00
Marcin Grzejszczak
4ccec4fd22 Refactored the documentation 2016-07-15 14:27:17 +02:00
Dave Syer
15dc75dece Move plugins in to tools folder
Also rename plugins removing 'verifer'.
2016-07-15 10:49:14 +01:00
Marcin Grzejszczak
66bc04a6da Generating values if only one regex is passed
with this change if in the DSL the regex is not in the valid place - an exception will be thrown
if the regex is passed properly but there is no other value (client / server) - it will get generated

fixes #32
2016-07-15 00:27:14 +02:00
Marcin Grzejszczak
8752cf2324 Added codecov integration 2016-07-14 23:46:04 +02:00
Marcin Grzejszczak
281df97897 Fixed the tests 2016-07-14 19:05:57 +02:00
Dave Syer
560d7a7194 Fix gradle plugin tests (missing annotation on base class) 2016-07-14 15:59:52 +01:00
Dave Syer
73c15c117c Add wiremock samples back as real folders 2016-07-14 15:21:35 +01:00
Dave Syer
94b6f6e0f7 Use the right annotations on test cases 2016-07-14 15:18:41 +01:00
Dave Syer
fbfa19dcbd Fix wrong group id 2016-07-14 14:54:57 +01:00
Dave Syer
6181bd6249 Add plain wiremock samples 2016-07-14 14:19:06 +01:00
Dave Syer
7fad0cd730 Remove unused classes 2016-07-14 13:50:23 +01:00
Dave Syer
0522cbb4d6 Introduce @AutoConfigureContractVerifierMessaging
as a new autoconfig switch for test cases (instead of relying on
plain autoconfiguration).

Fixes gh-33
2016-07-14 13:38:16 +01:00
Dave Syer
6f0030bf58 Introduce @AutoConfigureStubRunner in place of autoconfig
In a Spring test user can add this annotation to run stubs
rather than rely on auto configuration (which might not be
welcome outside a test).

Fixes gh-33
2016-07-14 12:59:42 +01:00
Dave Syer
324c2326a4 Rename test class 2016-07-14 09:55:52 +01:00
Dave Syer
476aecaa6b Rename @WireMockTest -> @AutoConfigureWireMock 2016-07-14 09:53:57 +01:00
Dave Syer
f5d3a63869 Remove unused grape config 2016-07-14 09:53:23 +01:00
Marcin Grzejszczak
e472c466d6 Updated props in maven plugin 2016-07-13 19:44:41 +02:00
Marcin Grzejszczak
dd5f821d08 Wat? 2016-07-13 19:33:07 +02:00
Marcin Grzejszczak
04f9b75181 Changing group id
to org.springframework.cloud from org.springframework.cloud.contract

also stopped running an http server if the contract doesn't support it
added back stub runner modules
2016-07-13 19:24:42 +02:00