@Configuration
@AutoConfigureOrder(value=-2147483648)
@ConditionalOnProperty(name="embedded.redis.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=RedisProperties.class)
public class EmbeddedRedisBootstrapConfiguration
extends Object
| Constructor and Description |
|---|
EmbeddedRedisBootstrapConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.testcontainers.containers.GenericContainer |
redis(org.springframework.core.env.ConfigurableEnvironment environment,
RedisProperties properties,
RedisStatusCheck redisStatusCheck) |
@Bean(name="embeddedRedis",
destroyMethod="stop")
public org.testcontainers.containers.GenericContainer redis(org.springframework.core.env.ConfigurableEnvironment environment,
RedisProperties properties,
RedisStatusCheck redisStatusCheck)
throws Exception
ExceptionCopyright © 2018. All rights reserved.