Commit Graph

45 Commits

Author SHA1 Message Date
Marcin Grzejszczak
251e160e9b Added starters
fixes #40
2016-07-20 14:35:12 +02:00
Marcin Grzejszczak
1bbf572d4c Fixed the pomx 2016-07-19 19:50:23 +02:00
Marcin Grzejszczak
f389d59798 Updated docs 2016-07-19 19:22:32 +02:00
Dave Syer
07befc839f Re-instate integration tests for stub runner messaging 2016-07-19 16:11:08 +01:00
Dave Syer
4c900f46fe Remove stub tests (already covered in other tests) 2016-07-19 15:22:20 +01:00
Dave Syer
3d1d96c55c Collapse stub runners into one project 2016-07-19 15:22:19 +01:00
Dave Syer
675278eb4f Remove some references to deleted projects 2016-07-19 14:35:08 +01:00
Dave Syer
4137d964f8 Move verifier up to top level 2016-07-19 14:35:08 +01:00
Marcin Grzejszczak
9b7fe97a54 Minor polishing 2016-07-19 14:27:53 +02:00
Dave Syer
2143574868 Rename (again) StubMessages -> MessageVerifier
It's not a stub, it's just a wrapper around the underlying
messaging framework.
2016-07-19 12:01:11 +01:00
Dave Syer
7cdf36127e Finish refactoring in tests 2016-07-19 11:10:47 +01:00
Dave Syer
ca95b7f53b Consolidate messaging interface names (StubMessages) 2016-07-19 11:09:01 +01:00
Dave Syer
a46766bd0b Remove commons-io dependency 2016-07-19 10:34:33 +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
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
a8a1bc1f2e Updated docs with a fast intro 2016-07-15 14:27:17 +02: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
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
f5d3a63869 Remove unused grape config 2016-07-14 09:53:23 +01: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
Dave Syer
5df2f5eb68 Remove .empty files (not needed in STS any more) 2016-07-13 14:20:34 +01:00
Dave Syer
5fe510f45e Add Wiremock features (Tomcat only for now)
User can depend on spring-cloud-contract-wiremock and
spring-cloud-starter-web (or tomcat) to get tomcat to run
the wiremock server. The idea is that wiremock runs in the
"ambient" server from Sprign Boot. So far we only support
Tomcat (should be easy to extend).

See tests in spring-cloud-contract-wiremock for details.
2016-07-12 18:10:18 +01:00
Dave Syer
ff48c5dbda Add dependencies BOM
Updates to groovy 2.4.7 which makes static compilation stricter
(hence the code changes).

Fixes gh-8
2016-07-12 13:57:57 +01:00
Marcin Grzejszczak
ebf8dd4b67 Bumping WireMock to 2.1.7 (#27)
* Bumping WireMock to 2.1.7
* Added samples to the project
* Updated docs

fixes #26, #7
2016-07-12 13:06:42 +02:00
Dave Syer
dd1410b5f9 Convert samples to Java 2016-07-12 10:45:03 +01:00
Marcin Grzejszczak
1280452a9d Added Circle CI integration 2016-07-11 18:00:18 +02:00
Dave Syer
6c287a09ec Wrangle tests to pass 2016-07-11 10:43:34 +01:00
Dave Syer
809e71f1d9 Remove groovy plugin where it isn't needed 2016-07-11 09:12:12 +01:00
Dave Syer
a7720c3915 Fix parent poms 2016-07-09 11:51:14 +01:00
Dave Syer
432f952d3d Flatten hierarchy 2016-07-09 10:34:49 +01:00