-
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
Add execute function to handle the workflow instance operation #13610
Add execute function to handle the workflow instance operation #13610
Conversation
f10eb89
to
b4fe38e
Compare
|
||
public interface ExecuteFunctionBuilder<Request extends ExecuteRequest, Result extends ExecuteResult> { | ||
|
||
CompletableFuture<ExecuteFunction<Request, Result>> createWorkflowInstanceExecuteFunction(ExecuteContext executeContext); |
Check notice
Code scanning / CodeQL
Useless parameter
95e41a0
to
d818147
Compare
d818147
to
e8f8b33
Compare
Codecov Report
@@ Coverage Diff @@
## dev #13610 +/- ##
============================================
- Coverage 39.21% 39.04% -0.17%
- Complexity 4410 4419 +9
============================================
Files 1113 1127 +14
Lines 41954 42096 +142
Branches 4778 4775 -3
============================================
- Hits 16451 16437 -14
- Misses 23672 23844 +172
+ Partials 1831 1815 -16
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
SonarCloud Quality Gate failed. |
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.
some nip
|
||
package org.apache.dolphinscheduler.api.executor; | ||
|
||
public interface ExecuteRequest { |
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.
Can you add some comment?
@@ -236,6 +236,7 @@ public class ProcessDefinitionServiceImpl extends BaseServiceImpl implements Pro | |||
@Autowired | |||
private TaskDefinitionMapper taskDefinitionMapper; | |||
|
|||
@Lazy |
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.
Can we avoid using this anno?
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.
After add dao
we can remove the Lazy.
Can you ask which distribution this refactored code is on |
Purpose of the pull request
Brief change log
Verify this pull request
This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(or)
If your pull request contain incompatible change, you should also add it to
docs/docs/en/guide/upgrede/incompatible.md