apache / seatunnel

SeaTunnel is a next-generation super high-performance, distributed, massive data integration tool.
https://seatunnel.apache.org/
Apache License 2.0
7.98k stars 1.8k forks source link

[Improvement] [Seatunnel-web] Add API to get job execution status. #7518

Closed arshadmohammad closed 2 months ago

arshadmohammad commented 2 months ago

Search before asking

Description

Currently, there is no direct API to get job execution status. Add following two APIs /seatunnel/api/v1/job/executor/status --> this should return jobStatus and errorMessage /seatunnel/api/v1/job/executor/detail --> this should return SeaTunnelJobInstanceDto which includes jobStatus, errorMessage and other details

Both APIs accept jobVersionId as the parameter

Usage Scenario

No response

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

arshadmohammad commented 2 months ago

Raised PR https://github.com/apache/seatunnel-web/pull/197

arshadmohammad commented 2 months ago

PR is merged https://github.com/apache/seatunnel-web/commit/c0880eeefd1b3f2242c3d42b799ddd5f15c5ce47