Return ProcessDefinition ID, Scheduler ID when call the corresponding creation APIS#2849
Return ProcessDefinition ID, Scheduler ID when call the corresponding creation APIS#2849davidzollo merged 2 commits intoapache:devfrom GabrielWithTina:dev
Conversation
Return Scheduler ID when call SchedulerController.createScheduler. client need the created object ID to bind the relationship between client system and Dolphinscheduler system.
Codecov Report
@@ Coverage Diff @@
## dev #2849 +/- ##
============================================
- Coverage 37.22% 37.10% -0.13%
+ Complexity 2557 2551 -6
============================================
Files 434 434
Lines 19992 19994 +2
Branches 2425 2425
============================================
- Hits 7443 7418 -25
- Misses 11880 11908 +28
+ Partials 669 668 -1
Continue to review full report at Codecov.
|
|
Kudos, SonarCloud Quality Gate passed!
|
davidzollo
left a comment
There was a problem hiding this comment.
+1
it is your first PR, please add relevant unit test next time when you submit next PR
What is the purpose of the pull request
*Return ProcessDefinition ID when call ProcessController.createProject.
*Return Scheduler ID when call SchedulerController.createScheduler.
Client system need the created object ID to bind the relationship between client system and Dolphinscheduler system.
Brief change log
*changed source files:
-dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java
-dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/SchedulerService.java
Verify this pull request