@Configuration
@ConditionalOnExpression(value="${embedded.containers.enabled:true}")
@AutoConfigureAfter(value=com.playtika.test.common.spring.DockerPresenceBootstrapConfiguration.class)
@ConditionalOnProperty(name="embedded.dynamodb.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=DynamoDBProperties.class)
public class EmbeddedDynamoDBBootstrapConfiguration
extends Object
| Constructor and Description |
|---|
EmbeddedDynamoDBBootstrapConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.testcontainers.containers.GenericContainer |
dynamoDb(org.springframework.core.env.ConfigurableEnvironment environment,
DynamoDBProperties properties) |
public EmbeddedDynamoDBBootstrapConfiguration()
@Bean(name="embeddedDynamoDb",
destroyMethod="stop")
public org.testcontainers.containers.GenericContainer dynamoDb(org.springframework.core.env.ConfigurableEnvironment environment,
DynamoDBProperties properties)
Copyright © 2021. All rights reserved.