@Configuration @ConditionalOnBean(value=CouchbaseProperties.class) @ConditionalOnProperty(value="embedded.couchbase.enabled", matchIfMissing=true) public class EmbeddedCouchbaseTestOperationsAutoConfiguration extends Object
| Constructor and Description |
|---|
EmbeddedCouchbaseTestOperationsAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
NetworkTestOperations |
couchbaseNetworkTestOperations(org.testcontainers.containers.GenericContainer couchbase) |
PackageInstaller |
couchbasePackageInstaller(InstallPackageProperties couchbasePackageProperties,
org.testcontainers.containers.GenericContainer couchbase) |
InstallPackageProperties |
couchbasePackageProperties() |
public EmbeddedCouchbaseTestOperationsAutoConfiguration()
@Bean @ConfigurationProperties(value="embedded.couchbase.install") public InstallPackageProperties couchbasePackageProperties()
@Bean public PackageInstaller couchbasePackageInstaller(InstallPackageProperties couchbasePackageProperties, @Qualifier(value="embeddedCouchbase") org.testcontainers.containers.GenericContainer couchbase)
@Bean @ConditionalOnMissingBean(name="couchbaseNetworkTestOperations") public NetworkTestOperations couchbaseNetworkTestOperations(@Qualifier(value="embeddedCouchbase") org.testcontainers.containers.GenericContainer couchbase)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.