Package com.playtika.testcontainer.git
Class EmbeddedGitBootstrapConfiguration
java.lang.Object
com.playtika.testcontainer.git.EmbeddedGitBootstrapConfiguration
@Configuration
@ConditionalOnExpression("${embedded.containers.enabled:true}")
@AutoConfigureAfter(com.playtika.testcontainer.common.spring.DockerPresenceBootstrapConfiguration.class)
@ConditionalOnProperty(name="embedded.git.enabled",
matchIfMissing=true)
@EnableConfigurationProperties(GitProperties.class)
public class EmbeddedGitBootstrapConfiguration
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.testcontainers.containers.GenericContainer<?>embeddedGit(org.springframework.core.env.ConfigurableEnvironment environment, GitProperties properties, Optional<org.testcontainers.containers.Network> network)
-
Constructor Details
-
EmbeddedGitBootstrapConfiguration
public EmbeddedGitBootstrapConfiguration()
-
-
Method Details
-
embeddedGit
@ConditionalOnMissingBean(name="embeddedGit") @Bean(name="embeddedGit", destroyMethod="stop") public org.testcontainers.containers.GenericContainer<?> embeddedGit(org.springframework.core.env.ConfigurableEnvironment environment, GitProperties properties, Optional<org.testcontainers.containers.Network> network)
-