diff --git a/spring-cloud-dataflow-server-core/src/test/java/org/springframework/cloud/dataflow/server/configuration/TestDependencies.java b/spring-cloud-dataflow-server-core/src/test/java/org/springframework/cloud/dataflow/server/configuration/TestDependencies.java index 13013752d5..936f6cfeca 100644 --- a/spring-cloud-dataflow-server-core/src/test/java/org/springframework/cloud/dataflow/server/configuration/TestDependencies.java +++ b/spring-cloud-dataflow-server-core/src/test/java/org/springframework/cloud/dataflow/server/configuration/TestDependencies.java @@ -104,6 +104,7 @@ import org.springframework.cloud.dataflow.server.controller.TaskCtrController; import org.springframework.cloud.dataflow.server.controller.TaskDefinitionController; import org.springframework.cloud.dataflow.server.controller.TaskExecutionController; +import org.springframework.cloud.dataflow.server.controller.TaskExecutionThinController; import org.springframework.cloud.dataflow.server.controller.TaskPlatformController; import org.springframework.cloud.dataflow.server.controller.TaskSchedulerController; import org.springframework.cloud.dataflow.server.controller.TasksInfoController; @@ -548,6 +549,10 @@ public TaskExecutionController taskExecutionController( taskJobService ); } + @Bean + public TaskExecutionThinController taskExecutionThinController(AggregateTaskExplorer explorer) { + return new TaskExecutionThinController(explorer); + } @Bean public TasksInfoController taskExecutionsInfoController(TaskExecutionService taskExecutionService) { diff --git a/spring-cloud-dataflow-server-core/src/test/resources/root-controller-result.json b/spring-cloud-dataflow-server-core/src/test/resources/root-controller-result.json index 5153ac07aa..74ca47aa6b 100644 --- a/spring-cloud-dataflow-server-core/src/test/resources/root-controller-result.json +++ b/spring-cloud-dataflow-server-core/src/test/resources/root-controller-result.json @@ -153,6 +153,9 @@ "href": "http://localhost/tasks/logs/{taskExternalExecutionId}{?platformName,schemaTarget}", "templated": true }, + "tasks/thinexecutions": { + "href":"http://localhost/tasks/thinexecutions" + }, "jobs/executions": { "href": "http://localhost/jobs/executions" },