liugddx commented on code in PR #7786:
URL: https://github.com/apache/seatunnel/pull/7786#discussion_r1795421709
##########
docs/en/seatunnel-engine/rest-api-v1.md:
##########
@@ -217,10 +225,18 @@ This API has been deprecated, please use
/hazelcast/rest/maps/job-info/:jobId in
"jobStatus": "",
"createTime": "",
"jobDag": {
- "vertices": [
+ "jobId": "",
+ "vertexInfoMap": [
+ {
+ "vertexId": 1,
+ "type": "",
+ "connectorType": "",
Review Comment:
Done
##########
seatunnel-e2e/seatunnel-engine-e2e/connector-seatunnel-e2e-base/src/test/java/org/apache/seatunnel/engine/e2e/RestApiIT.java:
##########
@@ -327,6 +329,38 @@ public void testGetJobInfoByJobId() {
+
batchJobProxy.getJobId())
.then()
.statusCode(200)
+ .body(
+ "jobDag.jobId",
+ equalTo(
+ Long.toString(
+
batchJobProxy.getJobId())))
+ .body("jobDag.pipelineEdges",
hasKey("1"))
+
.body("jobDag.pipelineEdges['1']", hasSize(1))
+ .body(
+
"jobDag.pipelineEdges['1'][0].inputVertexId",
+ equalTo("1"))
+ .body(
+
"jobDag.pipelineEdges['1'][0].targetVertexId",
+ equalTo("2"))
+ .body("jobDag.vertexInfoMap",
hasSize(2))
+ .body(
+
"jobDag.vertexInfoMap[0].vertexId",
+ equalTo(1))
+ .body(
+
"jobDag.vertexInfoMap[0].type",
Review Comment:
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]