Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/117#discussion_r114537810
  
    --- Diff: aria/orchestrator/workflows/core/translation.py ---
    @@ -48,21 +49,22 @@ def build_execution_graph(
                 default=[start_task])
     
             if isinstance(api_task, api.task.OperationTask):
    -            # Add the task an the dependencies
    -            operation_task = core_task.OperationTask(api_task)
    +            if api_task.is_stub:
    +                operation_task = core_task.OperationTask(api_task)
    +            else:
    +                operation_task = core_task.OperationTask(api_task, 
executor=executor)
                 _add_task_and_dependencies(execution_graph, operation_task, 
operation_dependencies)
    +
             elif isinstance(api_task, api.task.WorkflowTask):
                 # Build the graph recursively while adding start and end 
markers
                 build_execution_graph(
                     task_graph=api_task,
                     execution_graph=execution_graph,
    +                executor=executor,
                     start_cls=core_task.StartSubWorkflowTask,
                     end_cls=core_task.EndSubWorkflowTask,
                     depends_on=operation_dependencies
                 )
    -        elif isinstance(api_task, api.task.StubTask):
    --- End diff --
    
    undelete


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to