caishunfeng commented on code in PR #11912:
URL: https://github.com/apache/dolphinscheduler/pull/11912#discussion_r977136383


##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java:
##########
@@ -67,6 +70,15 @@ Map<String, Object> createProcessDefinition(User loginUser,
                                                 String otherParamsJson,
                                                 ProcessExecutionTypeEnum 
executionType);
 
+    /**
+     * create process definition V2
+     *
+     * @param loginUser login user
+     * @param workflowCreateRequest the new workflow object will be created
+     * @return New ProcessDefinition object created just now
+     */
+    ProcessDefinition createProcessDefinitionV2(User loginUser, 
WorkflowCreateRequest workflowCreateRequest);

Review Comment:
   Will we use v2 uniformly in the future? including UI or support restful api 
or pyds?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to