Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Task Execution list to use tasks/thinexecutions #1996

Closed
corneil opened this issue Apr 9, 2024 · 0 comments · Fixed by #1998
Closed

Update Task Execution list to use tasks/thinexecutions #1996

corneil opened this issue Apr 9, 2024 · 0 comments · Fixed by #1998
Assignees
Labels
type/enhancement Is an enhancement request
Milestone

Comments

@corneil
Copy link
Contributor

corneil commented Apr 9, 2024

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.

@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label Apr 9, 2024
@claudiahub claudiahub self-assigned this Apr 9, 2024
oodamien added a commit to oodamien/spring-cloud-dataflow-ui that referenced this issue Apr 17, 2024
@oodamien oodamien self-assigned this Apr 18, 2024
@oodamien oodamien added type/enhancement Is an enhancement request and removed status/need-triage Team needs to triage and take a first look labels Apr 18, 2024
@cppwfs cppwfs added this to the 3.4.3 milestone May 3, 2024
corneil pushed a commit that referenced this issue May 6, 2024
* Update task execution list

Resolves #1996

* Fix test

* Remove Dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Is an enhancement request
Projects
None yet
4 participants