@Configuration
@ConditionalOnExpression(value="${embedded.containers.enabled:true}")
@AutoConfigureAfter(value=com.playtika.test.common.spring.DockerPresenceBootstrapConfiguration.class)
@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.couchbase.CouchbaseContainer |
couchbase(org.springframework.core.env.ConfigurableEnvironment environment,
CouchbaseProperties properties) |
public EmbeddedCouchbaseBootstrapConfiguration()
@Bean(name="embeddedCouchbase",
destroyMethod="stop")
public org.testcontainers.couchbase.CouchbaseContainer couchbase(org.springframework.core.env.ConfigurableEnvironment environment,
CouchbaseProperties properties)
Copyright © 2021. All rights reserved.