Revert "Trying to make moco thing work"
This reverts commit 29f1d614eb.
This commit is contained in:
@@ -8,8 +8,7 @@
|
||||
<version>1.1.2.BUILD-SNAPSHOT</version>
|
||||
<relativePath>..</relativePath>
|
||||
</parent>
|
||||
<groupId>com.example</groupId>
|
||||
<artifactId>fraudDetectionServerMoco</artifactId>
|
||||
<artifactId>spring-cloud-contract-stub-runner-moco-contract-jar</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>Spring Cloud Contract Stub Runner Moco Contract Jar</name>
|
||||
<description>Spring Cloud Contract Stub Runner Moco Contract Jar</description>
|
||||
|
||||
@@ -37,11 +37,12 @@ import spock.lang.Specification
|
||||
* @author Marcin Grzejszczak
|
||||
*/
|
||||
@ContextConfiguration(classes = MocoConfig, loader = SpringBootContextLoader)
|
||||
// tag::[classpath_stub_runner]
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
|
||||
@AutoConfigureStubRunner(ids = ["com.example:fraudDetectionServerMoco:+:"],
|
||||
workOffline = true,
|
||||
stubsPerConsumer = true,
|
||||
consumerName = "nested")
|
||||
// to use stubs from classpath just provide ids without passing any other properties to
|
||||
// @AutoConfigureStubRunner
|
||||
@AutoConfigureStubRunner( ids = ["com.example:fraudDetectionServerMoco"])
|
||||
// end::[classpath_stub_runner]
|
||||
@DirtiesContext
|
||||
@ActiveProfiles("test")
|
||||
class MocoHttpServerStubSpec extends Specification {
|
||||
|
||||
Reference in New Issue
Block a user