[ 
https://issues.apache.org/jira/browse/ARIA-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15994868#comment-15994868
 ] 

ASF GitHub Bot commented on ARIA-163:
-------------------------------------

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

    https://github.com/apache/incubator-ariatosca/pull/117#discussion_r114536083
  
    --- Diff: aria/orchestrator/workflows/core/engine.py ---
    @@ -109,12 +110,11 @@ def _tasks_iter(self):
                         
self._workflow_context.model.task.refresh(task.model_task)
                 yield task
     
    -    def _handle_executable_task(self, task):
    -        if isinstance(task, engine_task.StubTask):
    -            task.status = models.Task.SUCCESS
    -        else:
    +    @staticmethod
    +    def _handle_executable_task(task):
    +        if not isinstance(task, engine_task.StubTask):
    --- End diff --
    
    move the event raising into the executor


> Update node state for stub tasks
> --------------------------------
>
>                 Key: ARIA-163
>                 URL: https://issues.apache.org/jira/browse/ARIA-163
>             Project: AriaTosca
>          Issue Type: Story
>    Affects Versions: 0.1.0
>            Reporter: Maxim Orlov
>            Assignee: Maxim Orlov
>
> Currently each node that has no implementation for an operation, has its 
> operations labeled a stub tasks. Those stub tasks aren't run through the 
> normal path of the workflow engine, and thus no update to the state of the 
> node is being done. this should be fixed 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to