Marcin Grzejszczak
251e160e9b
Added starters
...
fixes #40
2016-07-20 14:35:12 +02:00
Marcin Grzejszczak
4d5badafda
Changed contractVerifier into contracts
2016-07-20 12:49:58 +02:00
Marcin Grzejszczak
3e9aabab9d
Fixed poms
2016-07-20 11:47:03 +02:00
Dave Syer
6586015d99
Move 'samples' into 'tests' folder
...
Some of the samples are more like pure integratiuon tests (I wouldn't
use them to copy code into a real app). So I put them with the other
"test" projects.
2016-07-20 09:13:08 +01:00
Dave Syer
ad12dfa47b
Fix wrong dependency reference
2016-07-20 08:08:16 +01:00
Marcin Grzejszczak
b19921a13a
Update README.adoc
2016-07-19 21:58:39 +02:00
Marcin Grzejszczak
1bbf572d4c
Fixed the pomx
2016-07-19 19:50:23 +02:00
Marcin Grzejszczak
bf23804909
Rearranged props for docs
2016-07-19 16:09:33 +02: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
Dave Syer
618da21f9e
Consolidate rest of messaging into verifier core
2016-07-19 14:35:08 +01:00
Dave Syer
16c892682d
Collapse messaging core into the main verifier library
2016-07-19 14:35:08 +01:00
Marcin Grzejszczak
9fc0502901
Added moar tags for docs
2016-07-19 15:00:42 +02:00
Marcin Grzejszczak
a697d9e8ef
Added tags for docs
2016-07-19 14:37:52 +02:00
Marcin Grzejszczak
18ac42b601
Fixed clearing of stubs
2016-07-19 14:12:44 +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
ca95b7f53b
Consolidate messaging interface names (StubMessages)
2016-07-19 11:09:01 +01:00
Marcin Grzejszczak
939ea3fd38
Updated field names
2016-07-19 11:11:22 +02:00
Dave Syer
f7aa68e41b
Fix project names in gradle samples
2016-07-19 09:23:22 +01:00
Dave Syer
7c4fc6dc78
Remove config code that was added 'for test'
2016-07-19 09:15:10 +01:00
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