zhongjiajie commented on code in PR #11912:
URL: https://github.com/apache/dolphinscheduler/pull/11912#discussion_r979580637
##########
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:
I hope we can do that, and in that moment, maybe it it the best time to
migrate python api into separate repository
--
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]