You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/seatunnel-engine/rest-api-v2.md
+24-14Lines changed: 24 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,17 @@ The v2 version of the api uses jetty support. It is the same as the interface sp
18
18
seatunnel:
19
19
engine:
20
20
enable-http: true
21
-
jetty-port: 8080
21
+
port: 8080
22
+
```
23
+
24
+
Context-path can also be configured as follows:
25
+
26
+
```yaml
27
+
28
+
seatunnel:
29
+
engine:
30
+
enable-http: true
31
+
port: 8080
22
32
context-path: /seatunnel
23
33
```
24
34
@@ -27,7 +37,7 @@ seatunnel:
27
37
### Returns an overview over the Zeta engine cluster.
28
38
29
39
<details>
30
-
<summary><code>GET</code> <code><b>/seatunnel/overview?tag1=value1&tag2=value2</b></code> <code>(Returns an overview over the Zeta engine cluster.)</code></summary>
40
+
<summary><code>GET</code> <code><b>/overview?tag1=value1&tag2=value2</b></code> <code>(Returns an overview over the Zeta engine cluster.)</code></summary>
31
41
32
42
#### Parameters
33
43
@@ -62,7 +72,7 @@ seatunnel:
62
72
### Returns An Overview And State Of All Jobs
63
73
64
74
<details>
65
-
<summary><code>GET</code> <code><b>/seatunnel/running-jobs</b></code> <code>(Returns an overview over all jobs and their current state.)</code></summary>
75
+
<summary><code>GET</code> <code><b>/running-jobs</b></code> <code>(Returns an overview over all jobs and their current state.)</code></summary>
66
76
67
77
#### Parameters
68
78
@@ -101,7 +111,7 @@ seatunnel:
101
111
### Return Details Of A Job
102
112
103
113
<details>
104
-
<summary><code>GET</code> <code><b>/seatunnel/job-info/:jobId</b></code> <code>(Return details of a job. )</code></summary>
114
+
<summary><code>GET</code> <code><b>/job-info/:jobId</b></code> <code>(Return details of a job. )</code></summary>
105
115
106
116
#### Parameters
107
117
@@ -155,10 +165,10 @@ When we can't get the job info, the response will be:
155
165
156
166
### Return Details Of A Job
157
167
158
-
This API has been deprecated, please use /seatunnel/job-info/:jobId instead
168
+
This API has been deprecated, please use /job-info/:jobId instead
159
169
160
170
<details>
161
-
<summary><code>GET</code> <code><b>/seatunnel/running-job/:jobId</b></code> <code>(Return details of a job. )</code></summary>
171
+
<summary><code>GET</code> <code><b>/running-job/:jobId</b></code> <code>(Return details of a job. )</code></summary>
162
172
163
173
#### Parameters
164
174
@@ -227,7 +237,7 @@ When we can't get the job info, the response will be:
227
237
### Return All Finished Jobs Info
228
238
229
239
<details>
230
-
<summary><code>GET</code> <code><b>/seatunnel/finished-jobs/:state</b></code> <code>(Return all finished Jobs Info.)</code></summary>
240
+
<summary><code>GET</code> <code><b>/finished-jobs/:state</b></code> <code>(Return all finished Jobs Info.)</code></summary>
231
241
232
242
#### Parameters
233
243
@@ -259,7 +269,7 @@ When we can't get the job info, the response will be:
259
269
### Returns System Monitoring Information
260
270
261
271
<details>
262
-
<summary><code>GET</code> <code><b>/seatunnel/system-monitoring-information</b></code> <code>(Returns system monitoring information.)</code></summary>
272
+
<summary><code>GET</code> <code><b>/system-monitoring-information</b></code> <code>(Returns system monitoring information.)</code></summary>
263
273
264
274
#### Parameters
265
275
@@ -324,7 +334,7 @@ When we can't get the job info, the response will be:
324
334
### Submit A Job
325
335
326
336
<details>
327
-
<summary><code>POST</code> <code><b>/seatunnel/submit-job</b></code> <code>(Returns jobId and jobName if job submitted successfully.)</code></summary>
337
+
<summary><code>POST</code> <code><b>/submit-job</b></code> <code>(Returns jobId and jobName if job submitted successfully.)</code></summary>
328
338
329
339
#### Parameters
330
340
@@ -382,7 +392,7 @@ When we can't get the job info, the response will be:
382
392
### Batch Submit Jobs
383
393
384
394
<details>
385
-
<summary><code>POST</code> <code><b>/seatunnel/submit-jobs</b></code> <code>(Returns jobId and jobName if the job is successfully submitted.)</code></summary>
395
+
<summary><code>POST</code> <code><b>/submit-jobs</b></code> <code>(Returns jobId and jobName if the job is successfully submitted.)</code></summary>
386
396
387
397
#### Parameters (add in the `params` field in the request body)
388
398
@@ -482,7 +492,7 @@ When we can't get the job info, the response will be:
482
492
### Stop A Job
483
493
484
494
<details>
485
-
<summary><code>POST</code> <code><b>/seatunnel/stop-job</b></code> <code>(Returns jobId if job stoped successfully.)</code></summary>
495
+
<summary><code>POST</code> <code><b>/stop-job</b></code> <code>(Returns jobId if job stoped successfully.)</code></summary>
486
496
487
497
#### Body
488
498
@@ -507,7 +517,7 @@ When we can't get the job info, the response will be:
507
517
### Batch Stop Jobs
508
518
509
519
<details>
510
-
<summary><code>POST</code> <code><b>/seatunnel/stop-jobs</b></code> <code>(Returns jobId if the job is successfully stopped.)</code></summary>
520
+
<summary><code>POST</code> <code><b>/stop-jobs</b></code> <code>(Returns jobId if the job is successfully stopped.)</code></summary>
511
521
512
522
#### Request Body
513
523
@@ -543,7 +553,7 @@ When we can't get the job info, the response will be:
543
553
### Encrypt Config
544
554
545
555
<details>
546
-
<summary><code>POST</code> <code><b>/seatunnel/encrypt-config</b></code> <code>(Returns the encrypted config if config is encrypted successfully.)</code></summary>
556
+
<summary><code>POST</code> <code><b>/encrypt-config</b></code> <code>(Returns the encrypted config if config is encrypted successfully.)</code></summary>
547
557
For more information about customize encryption, please refer to the documentation [config-encryption-decryption](../connector-v2/Config-Encryption-Decryption.md).
548
558
549
559
#### Body
@@ -632,7 +642,7 @@ For more information about customize encryption, please refer to the documentati
632
642
633
643
### Update the tags of running node
634
644
635
-
<details><summary><code>POST</code><code><b>/seatunnel/update-tags</b></code><code>Because the update can only target a specific node, the current node's `ip:port` needs to be used for the update</code><code>(If the update is successful, return a success message)</code></summary>
645
+
<details><summary><code>POST</code><code><b>/update-tags</b></code><code>Because the update can only target a specific node, the current node's `ip:port` needs to be used for the update</code><code>(If the update is successful, return a success message)</code></summary>
<summary><code>GET</code> <code><b>/seatunnel/overview?tag1=value1&tag2=value2</b></code> <code>(Returns an overview over the Zeta engine cluster.)</code></summary>
36
+
<summary><code>GET</code> <code><b>/overview?tag1=value1&tag2=value2</b></code> <code>(Returns an overview over the Zeta engine cluster.)</code></summary>
Copy file name to clipboardExpand all lines: seatunnel-e2e/seatunnel-engine-e2e/connector-seatunnel-e2e-base/src/test/java/org/apache/seatunnel/engine/e2e/ClusterSeaTunnelContainer.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -107,7 +107,7 @@ public void startUp() throws Exception {
0 commit comments