@Configuration
@AutoConfigureOrder(value=-2147483648)
@ConditionalOnProperty(name="embedded.couchbase.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=CouchbaseProperties.class)
public class EmbeddedCouchbaseBootstrapConfiguration
extends Object
| Constructor and Description |
|---|
EmbeddedCouchbaseBootstrapConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.testcontainers.containers.GenericContainer |
couchbase(org.springframework.core.env.ConfigurableEnvironment environment,
CouchbaseProperties properties,
org.testcontainers.containers.Network network) |
org.testcontainers.containers.Network |
couchbaseNetwork() |
public EmbeddedCouchbaseBootstrapConfiguration()
@Bean(destroyMethod="close") @ConditionalOnMissingBean(value=org.testcontainers.containers.Network.class) public org.testcontainers.containers.Network couchbaseNetwork()
@Bean(name="embeddedCouchbase",
destroyMethod="stop")
public org.testcontainers.containers.GenericContainer couchbase(org.springframework.core.env.ConfigurableEnvironment environment,
CouchbaseProperties properties,
org.testcontainers.containers.Network network)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.