support workflow convergence nodes

* remove convergence restriction in API
* change task manager logic to be aware of and support convergence nodes
This commit is contained in:
chris meyers
2018-09-27 15:47:51 -04:00
committed by mabashian
parent c53ccc8d4a
commit f5c10f99b0
7 changed files with 123 additions and 9 deletions

View File

@@ -2969,8 +2969,6 @@ class WorkflowJobTemplateNodeChildrenBaseList(WorkflowsEnforcementMixin, Enforce
if not find:
sub_node = graph[sub.pk]
parent_node = graph[parent.pk]
if sub_node['metadata']['parent'] is not None:
return {"Error": _("Multiple parent relationship not allowed.")}
sub_node['metadata']['parent'] = parent_node
iter_node = sub_node
while iter_node is not None: