@Configuration @EnableConfigurationProperties(value=StubRunnerProperties.class) @ConditionalOnMissingBean(type="org.springframework.cloud.contract.wiremock.WiremockServerConfiguration") @Import(value=org.springframework.cloud.contract.stubrunner.spring.StubRunnerPortBeanPostProcessor.class) public class StubRunnerConfiguration extends Object
BatchStubRunner
that runs
StubRunner
instance for each
stub.Constructor and Description |
---|
StubRunnerConfiguration() |
Modifier and Type | Method and Description |
---|---|
BatchStubRunner |
batchStubRunner()
Bean that initializes stub runners, runs them and on shutdown closes them.
|
@Bean public BatchStubRunner batchStubRunner()
Copyright © 2016–2019 Spring. All rights reserved.