@Configuration
@EnableConfigurationProperties(value={MarathonAppDeployerProperties.class,ChronosTaskLauncherProperties.class,DcosClusterProperties.class})
public class MesosAutoConfiguration
extends Object
MarathonAppDeployer and ChronosTaskLauncher.| Constructor and Description |
|---|
MesosAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.deployer.spi.app.AppDeployer |
appDeployer(MarathonAppDeployerProperties marathonProperties,
mesosphere.marathon.client.Marathon marathon) |
Chronos |
chronos(ChronosTaskLauncherProperties chronosProperties,
DcosClusterProperties dcosClusterProperties) |
ConstraintConverter |
constraintConverter() |
mesosphere.marathon.client.Marathon |
marathon(MarathonAppDeployerProperties marathonProperties,
DcosClusterProperties dcosClusterProperties) |
org.springframework.cloud.deployer.spi.task.TaskLauncher |
taskDeployer(ChronosTaskLauncherProperties chronosProperties,
Chronos chronos) |
@Bean @RefreshScope public mesosphere.marathon.client.Marathon marathon(MarathonAppDeployerProperties marathonProperties, DcosClusterProperties dcosClusterProperties)
@Bean @RefreshScope public org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer(MarathonAppDeployerProperties marathonProperties, mesosphere.marathon.client.Marathon marathon)
@Bean @RefreshScope public Chronos chronos(ChronosTaskLauncherProperties chronosProperties, DcosClusterProperties dcosClusterProperties)
@Bean @RefreshScope public org.springframework.cloud.deployer.spi.task.TaskLauncher taskDeployer(ChronosTaskLauncherProperties chronosProperties, Chronos chronos)
@Bean @ConfigurationPropertiesBinding public ConstraintConverter constraintConverter()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.