Class EmbeddedCouchbaseBootstrapConfiguration
java.lang.Object
com.playtika.testcontainer.couchbase.EmbeddedCouchbaseBootstrapConfiguration
@Configuration
@ConditionalOnExpression("${embedded.containers.enabled:true}")
@AutoConfigureAfter(com.playtika.testcontainer.common.spring.DockerPresenceBootstrapConfiguration.class)
@ConditionalOnProperty(name="embedded.couchbase.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(CouchbaseProperties.class)
public class EmbeddedCouchbaseBootstrapConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.testcontainers.couchbase.CouchbaseContainercouchbase(org.springframework.core.env.ConfigurableEnvironment environment, CouchbaseProperties properties, Optional<org.testcontainers.containers.Network> network)
-
Constructor Details
-
EmbeddedCouchbaseBootstrapConfiguration
public EmbeddedCouchbaseBootstrapConfiguration()
-
-
Method Details
-
couchbase
@Bean(name="embeddedCouchbase", destroyMethod="stop") public org.testcontainers.couchbase.CouchbaseContainer couchbase(org.springframework.core.env.ConfigurableEnvironment environment, CouchbaseProperties properties, Optional<org.testcontainers.containers.Network> network)
-