@Configuration(proxyBeanMethods=false) @EnableConfigurationProperties(value={TaskConfigurationProperties.class,CommonApplicationProperties.class,DockerValidatorProperties.class,LocalPlatformProperties.class,ComposedTaskRunnerConfigurationProperties.class}) @EnableMapRepositories(basePackages="org.springframework.cloud.dataflow.server.job") @EnableTransactionManagement @Import(value={TaskConfiguration.TaskDeleteServiceConfig.class,org.springframework.cloud.dataflow.schema.service.SchemaServiceConfiguration.class,org.springframework.cloud.dataflow.aggregate.task.AggregateTaskConfiguration.class,AggregateDataFlowTaskConfiguration.class}) public class TaskConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TaskConfiguration.TaskDeleteServiceConfig |
static class |
TaskConfiguration.TaskExecutionServiceConfig |
static class |
TaskConfiguration.TaskJobServiceConfig |
Constructor and Description |
---|
TaskConfiguration() |
Modifier and Type | Method and Description |
---|---|
DeployerConfigurationMetadataResolver |
deployerConfigurationMetadataResolver(TaskConfigurationProperties taskConfigurationProperties) |
LauncherInitializationService |
launcherInitializationService(LauncherRepository launcherRepository,
List<TaskPlatform> platforms,
DeployerConfigurationMetadataResolver resolver) |
TaskPlatform |
localTaskPlatform(LocalPlatformProperties localPlatformProperties,
org.springframework.cloud.deployer.spi.scheduler.Scheduler localScheduler)
The default profile is active when no other profiles are active.
|
TaskSaveService |
saveTaskService(TaskDefinitionRepository taskDefinitionRepository,
org.springframework.cloud.dataflow.audit.service.AuditRecordService auditRecordService,
AppRegistryService registry) |
TaskAppDeploymentRequestCreator |
taskAppDeploymentRequestCreator(CommonApplicationProperties commonApplicationProperties,
ApplicationConfigurationMetadataResolver metadataResolver) |
org.springframework.cloud.dataflow.aggregate.task.TaskDefinitionReader |
taskDefinitionReader(TaskDefinitionRepository taskDefinitionRepository) |
TaskExecutionInfoService |
taskDefinitionRetriever(AppRegistryService registry,
org.springframework.cloud.dataflow.aggregate.task.AggregateTaskExplorer taskExplorer,
TaskDefinitionRepository taskDefinitionRepository,
TaskConfigurationProperties taskConfigurationProperties,
LauncherRepository launcherRepository,
List<TaskPlatform> taskPlatforms,
ComposedTaskRunnerConfigurationProperties composedTaskRunnerConfigurationProperties) |
org.springframework.cloud.dataflow.aggregate.task.TaskDeploymentReader |
taskDeploymentReader(TaskDeploymentRepository repository) |
TaskExecutionCreationService |
taskExecutionRepositoryService(org.springframework.cloud.dataflow.aggregate.task.TaskRepositoryContainer taskRepositoryContainer,
org.springframework.cloud.dataflow.aggregate.task.AggregateExecutionSupport aggregateExecutionSupport,
org.springframework.cloud.dataflow.aggregate.task.TaskDefinitionReader taskDefinitionReader) |
@Bean @ConditionalOnMissingBean public org.springframework.cloud.dataflow.aggregate.task.TaskDefinitionReader taskDefinitionReader(TaskDefinitionRepository taskDefinitionRepository)
@Bean @ConditionalOnMissingBean public org.springframework.cloud.dataflow.aggregate.task.TaskDeploymentReader taskDeploymentReader(TaskDeploymentRepository repository)
@Bean public DeployerConfigurationMetadataResolver deployerConfigurationMetadataResolver(TaskConfigurationProperties taskConfigurationProperties)
@Bean public LauncherInitializationService launcherInitializationService(LauncherRepository launcherRepository, List<TaskPlatform> platforms, DeployerConfigurationMetadataResolver resolver)
@Profile(value={"local","default"}) @Bean public TaskPlatform localTaskPlatform(LocalPlatformProperties localPlatformProperties, @Nullable org.springframework.cloud.deployer.spi.scheduler.Scheduler localScheduler)
localPlatformProperties
- the local platform propertieslocalScheduler
- the local scheduler@Bean public TaskExecutionInfoService taskDefinitionRetriever(AppRegistryService registry, org.springframework.cloud.dataflow.aggregate.task.AggregateTaskExplorer taskExplorer, TaskDefinitionRepository taskDefinitionRepository, TaskConfigurationProperties taskConfigurationProperties, LauncherRepository launcherRepository, List<TaskPlatform> taskPlatforms, ComposedTaskRunnerConfigurationProperties composedTaskRunnerConfigurationProperties)
@Bean public TaskSaveService saveTaskService(TaskDefinitionRepository taskDefinitionRepository, org.springframework.cloud.dataflow.audit.service.AuditRecordService auditRecordService, AppRegistryService registry)
@Bean public TaskExecutionCreationService taskExecutionRepositoryService(org.springframework.cloud.dataflow.aggregate.task.TaskRepositoryContainer taskRepositoryContainer, org.springframework.cloud.dataflow.aggregate.task.AggregateExecutionSupport aggregateExecutionSupport, org.springframework.cloud.dataflow.aggregate.task.TaskDefinitionReader taskDefinitionReader)
@Bean public TaskAppDeploymentRequestCreator taskAppDeploymentRequestCreator(CommonApplicationProperties commonApplicationProperties, ApplicationConfigurationMetadataResolver metadataResolver)
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.