zhangyongtian commented on code in PR #14089:
URL:
https://github.com/apache/dolphinscheduler/pull/14089#discussion_r1193544572
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/ProcessDefinitionService.java:
##########
@@ -521,4 +521,15 @@ void saveOtherRelation(User loginUser, ProcessDefinition
processDefinition, Map<
* @return variables data
*/
Map<String, Object> viewVariables(User loginUser, long projectCode, long
code);
+
+ /**
+ * Batch release process definitions by code states.
+ *
+ * @param loginUser Login user.
+ * @param projectCode Project code.
+ * @param codeStates Code states in JSON format.
+ * @return Result of the batch release process definitions.
+ */
+ Map<String, Object> batchReleaseProcessDefinitions(User loginUser, long
projectCode, String codeStates);
Review Comment:
Thank you very much for the suggestion. Perhaps what you said is correct,
but the data I sent from the front-end is a jsonstring, with the key being the
process definition code and the value being the corresponding state. I feel
that using enumeration is not very easy to handle.
--
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]