-
Notifications
You must be signed in to change notification settings - Fork 288
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
dmctl(dm): add config task-template #3991
dmctl(dm): add config task-template #3991
Conversation
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
will add dmctl it test after #3656 merged |
it's |
but we already have |
the old |
you mean when user use I'm worried if there are two tasks with the same name: |
subtask is generated by task. Currently |
Prefer |
/hold wait change api path to templates |
/run-dm-integration-tests |
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. @@ Coverage Diff @@
## master #3991 +/- ##
================================================
- Coverage 55.5183% 55.2665% -0.2518%
================================================
Files 495 497 +2
Lines 61151 61321 +170
================================================
- Hits 33950 33890 -60
- Misses 23789 24021 +232
+ Partials 3412 3410 -2 |
could you please take another look for this pr ? thanks 🧡🧡🧡 |
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
dm/tests/openapi/run.sh
Outdated
# delete source success and clean data for other test | ||
openapi_source_check "delete_source_with_force_success" "mysql-01" | ||
openapi_source_check "delete_source_with_force_success" "mysql-02" | ||
openapi_source_check "list_source_success" 0 | ||
openapi_task_check "get_task_list" 0 |
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.
how about wrap these to one function
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.
/run-dm-integration-tests |
/run-dm-integration-tests |
/run-all-tests |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 3553334
|
/run-leak-test |
What problem does this PR solve?
Issue Number: ref #3583
What is changed and how it works?
dmctl config task-template
api/v1/task/templates
toapi/v1/tasks/templates
we don't exporse this cmd to public user , beascause it's just a workaround for user who user WebUI and want to get task config template that created by openapi but want to dump with v1 format
Check List
Tests
Code changes
Side effects
Related changes
Release note