Commit Graph

31 Commits

Author SHA1 Message Date
Dave Syer
dcf09ef447 Update docs for new messaging interfaces 2016-07-19 08:44:16 +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
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
5681cd1d55 Remove references to old stub runner modules 2016-07-16 10:40:56 +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
15dc75dece Move plugins in to tools folder
Also rename plugins removing 'verifer'.
2016-07-15 10:49:14 +01:00
Marcin Grzejszczak
281df97897 Fixed the tests 2016-07-14 19:05:57 +02:00
Dave Syer
73c15c117c Add wiremock samples back as real folders 2016-07-14 15:21:35 +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
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
Marcin Grzejszczak
df7ee2e9f1 Reorganized samples 2016-07-13 15:50:34 +02:00
Dave Syer
5df2f5eb68 Remove .empty files (not needed in STS any more) 2016-07-13 14:20:34 +01:00
Dave Syer
f0656e8c78 Fix sample apps 2016-07-13 13:24:35 +01:00
Dave Syer
acc8cd9467 Use non-deprecated context loader in tests 2016-07-12 12:59:08 +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
1bed00ccf9 Use non-spring package names for samples 2016-07-12 11:18:25 +01:00
Dave Syer
dd1410b5f9 Convert samples to Java 2016-07-12 10:45:03 +01:00
Dave Syer
59be4bae4a Fix samples tests to run from command line 2016-07-11 13:45:03 +01:00
Dave Syer
11a385d75a Fix docs build 2016-07-09 11:58:36 +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