Commit Graph

823 Commits

Author SHA1 Message Date
Marcin Grzejszczak
708a9e8b36 Fixed broken tests 2016-09-02 17:34:41 +02:00
Marcin Grzejszczak
49c5089b40 Added missing beans + Added auto creation of message channels 2016-09-02 17:06:18 +02:00
Marcin Grzejszczak
18b5cf8890 Added a check for missing bean 2016-09-02 16:06:15 +02:00
Marcin Grzejszczak
5c4bc1bda1 Added missing version 2016-09-02 11:24:08 +02:00
Marcin Grzejszczak
8dde9f333b Removed XML entry
will readd it once it has been fixed

fixes #67
2016-08-30 11:06:04 +02:00
Marcin Grzejszczak
c59306ce5d Going back to snapshots 2016-08-27 00:27:55 +02:00
Marcin Grzejszczak
bf60a6b72f Bumping versions before release 2016-08-26 23:51:33 +02:00
Marcin Grzejszczak
64d6d3ef6c Automatic stub registration (#64)
before this change the support for Stub Runner Boot with Service Discovery was pretty useless since Stub Runner stubbed service discovery. That makes a lot of sense in unit / integration tests but not when you want to do some version of end to end tests. 

With this change you can pass a property to enable automated registration of stubs in Service Discovery.

Technical changes:
* Added Zookeeper registration
* Added Eureka registration
* Added Consul registration
* Added checkstyle plugin - fixed part of exceptions
2016-08-26 16:09:16 +02:00
Marcin Grzejszczak
c7665db7d9 Fixed code style issues 2016-08-12 11:46:41 +02:00
Marcin Grzejszczak
3552684f93 Invalid array size check
there was a problem with the way property related to array size check was passed. Not only was the condition inverse, but also the properties weren't passed.

With this change those issues were fixed, we've added the missing maven plugin feature and ensured that the array check is the default option.

fixes #60
2016-08-11 14:33:30 +02:00
Marcin Grzejszczak
01cfa8dcf9 Fixed build 2016-08-09 14:28:57 +02:00
Marcin Grzejszczak
c1f6857f7a Updated docs
fixes #53
2016-07-26 10:49:37 +02:00
Marcin Grzejszczak
ddc66b4c0c Going back to Snapshots 2016-07-22 16:22:47 +02:00
Marcin Grzejszczak
62f7d48f8d Bumping version before M1 release 2016-07-22 16:17:30 +02:00
Marcin Grzejszczak
7496101b1d Fixed the generation of values for regexs 2016-07-21 14:35:59 +02:00
Marcin Grzejszczak
5ef7a7fee2 Changed client / server to consumer / producer 2016-07-21 12:08:38 +02:00
Marcin Grzejszczak
72e67d6397 Polish 2016-07-20 19:39:01 +02:00
Marcin Grzejszczak
19092baabd Updated docs 2016-07-20 18:58:38 +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
Dave Syer
e3c564e023 Move converters to tools directory 2016-07-19 12:18:01 +01: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
Dave Syer
df5902fabd Move some dependencies from bom to parent 2016-07-19 10:51:09 +01:00
Dave Syer
a46766bd0b Remove commons-io dependency 2016-07-19 10:34:33 +01:00
Marcin Grzejszczak
5b163363a9 Removed ContractVerifierFilter fixes #42 2016-07-19 09:48:54 +02: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
d3fddf59e0 Rejig dependencies to make tests pass 2016-07-18 08:52:12 +01:00
Dave Syer
3a85b60408 Convert stub-runner base to Java 2016-07-15 17:10:48 +01:00
Marcin Grzejszczak
bc22227fe3 Added missing docs for #32 2016-07-15 14:27:17 +02: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
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
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
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
Dave Syer
25f18db8fb Stop managing slf4j explicitly 2016-07-11 12:04:59 +01:00
Marcin Grzejszczak
8523c49d6a Added global unroll dep 2016-07-11 12:10:50 +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
Marcin Grzejszczak
d4dac7e705 Fixed Gradle project build 2016-07-10 10:47:39 +02: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
Dave Syer
9736fa91b0 Remove gradle build 2016-07-09 10:07:30 +01:00