spring-cloud / spring-cloud-dataflow-ui

This repo provides the Dashboard application of Spring Cloud Data Flow
https://dataflow.spring.io/
Apache License 2.0
214 stars 118 forks source link

Update Task Execution list to use tasks/thinexecutions #1996

Closed corneil closed 6 months ago

corneil commented 7 months ago

The backend provides a new endpoint for retrieving pages of task executions without all the extra detail. The name of the link and url is tasks/thinexecutions and the resulting response has _embedded.taskExecutionThinResourceList instead of _embedded.taskExecutionResourceList. The objects in the page looks like TaskExecution but with some fields missing:

class TaskExecutionThin {
    executionId: number;
    parentExecutionId: number;
    exitCode: number;
    taskName: string;
    startTime: DateTime;
    endTime: DateTime;
    exitMessage: string;
    externalExecutionId: string;
    taskExecutionStatus: string;
    errorMessage: string;
    schemaTarget: string;
    platformName: string;
    _links: any; 
}

_links.self for detail of TaskExecution when clicking on id _links['tasks/definitions'] for query when clicking on name.