-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Feature-14678][Master][UI]Dependent task parameter passing #14702
[Feature-14678][Master][UI]Dependent task parameter passing #14702
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #14702 +/- ##
============================================
- Coverage 39.02% 38.99% -0.03%
+ Complexity 4600 4599 -1
============================================
Files 1231 1231
Lines 43300 43327 +27
Branches 4792 4793 +1
============================================
- Hits 16896 16894 -2
- Misses 24526 24554 +28
- Partials 1878 1879 +1
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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
Hi @Orange-Summer , may I ask why we need **EndTimeMap? |
As it says in the docs https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/guide/parameter/priority.md
I think it is possible for multiple dependencies to have parameters with the same name, so we need to save the end time for later comparison |
...r-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java
Outdated
Show resolved
Hide resolved
.../dolphinscheduler/server/master/runner/task/dependent/DependentAsyncTaskExecuteFunction.java
Outdated
Show resolved
Hide resolved
...r-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java
Outdated
Show resolved
Hide resolved
...r-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java
Show resolved
Hide resolved
.../dolphinscheduler/server/master/runner/task/dependent/DependentAsyncTaskExecuteFunction.java
Outdated
Show resolved
Hide resolved
@songjianet @rickchengx |
# Conflicts: # docs/docs/en/guide/task/dependent.md # docs/docs/zh/guide/task/dependent.md # docs/img/tasks/demo/dependent_task01.png # docs/img/tasks/demo/dependent_task02.png # docs/img/tasks/demo/dependent_task03.png # dolphinscheduler-master/src/main/java/org/apache/dolphinscheduler/server/master/utils/DependentExecute.java # dolphinscheduler-ui/src/views/projects/task/components/node/types.ts
…' into dependent-task-parameter-passing
SonarCloud Quality Gate failed. 0 Bugs 0.0% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Dolphinscheduler supports project-level parameters. Will the parameter passing feature also pass project-level parameters along with it? |
My understanding is that it only passes the output parameters of the dependent workflow or task |
SonarCloud Quality Gate failed. 0 Bugs 0.0% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
…4702) * feat: dependent task parameter passing * style: code format * refactor: remove inappropriate log * refactor: Modify unreasonable code structure * refactor: Modify unreasonable code structure * refactor: Solve conflicts caused by merge --------- Co-authored-by: Rick Cheng <rickchengx@gmail.com> Co-authored-by: BaoLiang <29528966+lenboo@users.noreply.github.com>
Purpose of the pull request
Dependent task parameter passing
close #14678
Brief change log
add relevant code in module dolphinscheduler-ui
add parameterPassing related code in module dolphinscheduler-master
modify docs
Verify this pull request
This change can be verified as follows:
Manually verified the change by testing locally.