@Configuration
@ConditionalOnClass(value=com.aerospike.client.AerospikeClient.class)
@ConditionalOnExpression(value="${embedded.containers.enabled:true}")
@AutoConfigureAfter(value=com.playtika.test.common.spring.DockerPresenceBootstrapConfiguration.class)
@ConditionalOnProperty(value="embedded.aerospike.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=AerospikeProperties.class)
public class EmbeddedAerospikeBootstrapConfiguration
extends Object
| Constructor and Description |
|---|
EmbeddedAerospikeBootstrapConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.testcontainers.containers.GenericContainer |
aerospike(AerospikeWaitStrategy aerospikeWaitStrategy,
org.springframework.core.env.ConfigurableEnvironment environment,
AerospikeProperties properties) |
AerospikeWaitStrategy |
aerospikeStartupCheckStrategy(AerospikeProperties properties) |
public EmbeddedAerospikeBootstrapConfiguration()
@Bean @ConditionalOnMissingBean public AerospikeWaitStrategy aerospikeStartupCheckStrategy(AerospikeProperties properties)
@Bean(name="aerospike",
destroyMethod="stop")
public org.testcontainers.containers.GenericContainer aerospike(AerospikeWaitStrategy aerospikeWaitStrategy,
org.springframework.core.env.ConfigurableEnvironment environment,
AerospikeProperties properties)
Copyright © 2020. All rights reserved.