Class SetupTest.Config
java.lang.Object
test.de.iip_ecosphere.platform.services.spring.SetupTest.Config
- Enclosing class:
SetupTest
@Configuration
@EnableConfigurationProperties(org.springframework.cloud.deployer.spi.local.LocalDeployerProperties.class)
public static class SetupTest.Config
extends Object
Configures the context, in particular through instances that are not loaded automatically by Spring in tests.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.cloud.deployer.spi.app.AppDeployerappDeployer(org.springframework.cloud.deployer.spi.local.LocalDeployerProperties properties) In tests, forces theAppDeployerto have an implementation.
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
appDeployer
@Bean public org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer(org.springframework.cloud.deployer.spi.local.LocalDeployerProperties properties) In tests, forces theAppDeployerto have an implementation.- Parameters:
properties- the deployer properties needed to initialize the deployer instance- Returns:
- the deployer instance to use
-