@Configuration
@ConditionalOnExpression(value="${embedded.containers.enabled:true}")
@AutoConfigureAfter(value=com.playtika.test.common.spring.DockerPresenceBootstrapConfiguration.class)
@ConditionalOnProperty(name="embedded.postgresql.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(value=PostgreSQLProperties.class)
public class EmbeddedPostgreSQLBootstrapConfiguration
extends Object
| Constructor and Description |
|---|
EmbeddedPostgreSQLBootstrapConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
com.playtika.test.postgresql.EmbeddedPostgreSQLBootstrapConfiguration.ConcretePostgreSQLContainer |
postgresql(org.springframework.core.env.ConfigurableEnvironment environment,
PostgreSQLProperties properties) |
public EmbeddedPostgreSQLBootstrapConfiguration()
@Bean(name="embeddedPostgreSql",
destroyMethod="stop")
public com.playtika.test.postgresql.EmbeddedPostgreSQLBootstrapConfiguration.ConcretePostgreSQLContainer postgresql(org.springframework.core.env.ConfigurableEnvironment environment,
PostgreSQLProperties properties)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.