Generate stubs at runtime (#1152)

* Generate stubs at runtime

without this change the producer side must publish the stubs for the consumer side to use them
with this change the consumer can toggle a switch so that the stubs get generated at runtime. This might of course lead to false positivies but we assume that the users know what they're doing

fixes gh-881
This commit is contained in:
Marcin Grzejszczak
2019-08-05 10:44:35 +02:00
committed by GitHub
parent d97db26001
commit dbb1af8d98
24 changed files with 501 additions and 97 deletions

View File

@@ -38,10 +38,10 @@ import org.springframework.cloud.contract.verifier.converter.RecursiveFilesConve
import org.springframework.cloud.contract.verifier.converter.ToYamlConverter;
/**
* Convert Spring Cloud Contract Verifier contracts into WireMock stubs mappings.
* Convert Spring Cloud Contract Verifier contracts into stubs mappings.
* <p>
* This goal allows you to generate `stubs-jar` or execute `spring-cloud-contract:run`
* with generated WireMock mappings.
* with generated mappings.
*
* @author Mariusz Smykula
*/