Skip to content

Conversation

@liunaijie
Copy link
Member

Purpose of this pull request

close #5699

Does this PR introduce any user-facing change?

How was this patch tested?

use postman

Check list

@Hisoka-X
Copy link
Member

Could you add a test case for this? Seem like this is a very important feature we shouldn't missed. It's weird we don't have a test case to cover it. cc @liugddx

@liunaijie
Copy link
Member Author

Could you add a test case for this? Seem like this is a very important feature we shouldn't missed. It's weird we don't have a test case to cover it. cc @liugddx

reuse the RestApiIT, but change something.

  1. remove Common.setDeployMode before startup
    when start the st cluster with ./bin/seatunnel-cluster.sh -d command, the deployMode will be null, so delete this setup to keep consistency

  2. remove parameter as they are optional when submit job.
    when submit job i think they all should be null. when re-store job they need have value.

@liunaijie liunaijie force-pushed the api-fix branch 2 times, most recently from c3dec54 to 36f4cfd Compare October 25, 2023 09:50
Copy link
Member

@ruanwenjun ruanwenjun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@Hisoka-X Hisoka-X left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @liunaijie for fix! BTW, the test case you added are very important!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [Rest-API] submit job api has some issue

4 participants