You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2020/10/09 13:00:13 UTC
[incubator-dolphinscheduler] branch dev updated:
[Feature][api]Export and import workflow add processDefinitionDescription
#3808 (#3847)
This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 1a257b1 [Feature][api]Export and import workflow add processDefinitionDescription #3808 (#3847)
1a257b1 is described below
commit 1a257b10771adef0bca6595b0751e8d0ba838c35
Author: AhahaGe <ah...@163.com>
AuthorDate: Fri Oct 9 21:00:02 2020 +0800
[Feature][api]Export and import workflow add processDefinitionDescription #3808 (#3847)
* add .asf.yaml file
* export processDefinition add desc
* clear conentent in .asf.yaml
* delete .asf.yaml file
Co-authored-by: guirong.ggr <gu...@dtwave-inc.com>
---
.../dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
index cade36a..7b68003 100644
--- a/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
+++ b/dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ProcessDefinitionServiceImpl.java
@@ -683,6 +683,7 @@ public class ProcessDefinitionServiceImpl extends BaseService implements
exportProcessMeta.setProjectName(processDefinition.getProjectName());
exportProcessMeta.setProcessDefinitionName(processDefinition.getName());
exportProcessMeta.setProcessDefinitionJson(processDefinition.getProcessDefinitionJson());
+ exportProcessMeta.setProcessDefinitionDescription(processDefinition.getDescription());
exportProcessMeta.setProcessDefinitionLocations(processDefinition.getLocations());
exportProcessMeta.setProcessDefinitionConnects(processDefinition.getConnects());