Skip to content

Commit

Permalink
Fix RootControllerTests.
Browse files Browse the repository at this point in the history
  • Loading branch information
corneil committed Mar 25, 2024
1 parent b0ffbe4 commit 0619bac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -548,6 +549,10 @@ public TaskExecutionController taskExecutionController(
taskJobService
);
}
@Bean
public TaskExecutionThinController taskExecutionThinController(AggregateTaskExplorer explorer) {
return new TaskExecutionThinController(explorer);
}

@Bean
public TasksInfoController taskExecutionsInfoController(TaskExecutionService taskExecutionService) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 0619bac

Please sign in to comment.