Commit Graph

925 Commits

Author SHA1 Message Date
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
Dave Syer
c02c11db35 Add support for Jetty 9 2016-07-13 16:51:27 +01:00
Dave Syer
de914a7b27 Add support for Undertow and Wiremock 2016-07-13 16:23:51 +01:00
Marcin Grzejszczak
df7ee2e9f1 Reorganized samples 2016-07-13 15:50:34 +02:00
Marcin Grzejszczak
499243b5e8 Fixed broken Gradle tests 2016-07-13 15:34:38 +02:00
Marcin Grzejszczak
8181c199ec Polish 2016-07-13 15:23:39 +02:00
Marcin Grzejszczak
47f23c6ab7 Added missing target folder 2016-07-13 15:23:39 +02:00
Marcin Grzejszczak
719453e63f Updated the docs 2016-07-13 15:23:39 +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
Marcin Grzejszczak
cf27296f65 Added a script to generate docs 2016-07-13 13:54:06 +02:00
Marcin Grzejszczak
e9055ba690 Updated the docs 2016-07-13 12:19:37 +02:00
Marcin Grzejszczak
dd15af51d7 Refactored the project, added generation of maven docs 2016-07-12 19:14:42 +02: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
e28bf1f66e Move commons-* dependencies into parent 2016-07-12 18:10:18 +01:00
Marcin Grzejszczak
b4ebf8c07b Fixed the links in docs 2016-07-12 17:42:29 +02:00
Marcin Grzejszczak
cfc74721c6 Added toc for the docs 2016-07-12 17:01:08 +02:00
Marcin Grzejszczak
36f9dcf94e Updated the docs 2016-07-12 16:56:25 +02:00
Marcin Grzejszczak
7d293670f7 Removed the deprecated documentation 2016-07-12 16:54:30 +02: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
Dave Syer
acc8cd9467 Use non-deprecated context loader in tests 2016-07-12 12:59:08 +01:00