-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Improvement-12536][k8s] Support the command for the container in k8s task plugin #12538
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #12538 +/- ##
============================================
+ Coverage 39.05% 39.07% +0.02%
+ Complexity 4190 4184 -6
============================================
Files 1044 1043 -1
Lines 39486 39460 -26
Branches 4537 4536 -1
============================================
- Hits 15422 15420 -2
+ Misses 22313 22284 -29
- Partials 1751 1756 +5
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
bc7887a
to
1c5376e
Compare
public String getCommand() { | ||
return command; | ||
} | ||
|
||
public void setCommand(String command) { | ||
this.command = command; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove these with @Data
1c5376e
to
d18963d
Compare
Hi, @caishunfeng , thanks for the review. I have used |
d18963d
to
f9e60d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the doc of k8s task too.
.../src/main/java/org/apache/dolphinscheduler/plugin/task/api/parameters/K8sTaskParameters.java
Outdated
Show resolved
Hide resolved
...api/src/main/java/org/apache/dolphinscheduler/plugin/task/api/k8s/K8sTaskMainParameters.java
Outdated
Show resolved
Hide resolved
f9e60d5
to
7413487
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @rickchengx
validate: { | ||
trigger: ['input', 'blur'], | ||
message: t('project.node.command_tips') | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this to validate? required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @Amy0104 Thanks for the comment.
Actually, this validate is copied from the above code. (I am not familiar with front-end code)
Because this field command
is not necessary, user can leave it blank.
So we just remove this validate code as below, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to remove it, if u don't need it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to remove it, if u don't need it.
ok, i got it. Thanks again for your comment~
7413487
to
0872742
Compare
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The front end part LGTM.
…r in k8s task plugin (apache#12538)" This reverts commit b37bf64.
Purpose of the pull request
Brief change log
Verify this pull request