Package com.playtika.test.db2
Class EmbeddedDb2BootstrapConfiguration
java.lang.Object
com.playtika.test.db2.EmbeddedDb2BootstrapConfiguration
@Configuration
@ConditionalOnExpression("${embedded.containers.enabled:true}")
@AutoConfigureAfter(com.playtika.test.common.spring.DockerPresenceBootstrapConfiguration.class)
@ConditionalOnProperty(name="embedded.db2.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(Db2Properties.class)
public class EmbeddedDb2BootstrapConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.testcontainers.containers.Db2Containerdb2(org.springframework.core.env.ConfigurableEnvironment environment, Db2Properties properties)
-
Constructor Details
-
EmbeddedDb2BootstrapConfiguration
public EmbeddedDb2BootstrapConfiguration()
-
-
Method Details
-
db2
@Bean(name="embeddedDb2", destroyMethod="stop") public org.testcontainers.containers.Db2Container db2(org.springframework.core.env.ConfigurableEnvironment environment, Db2Properties properties)
-