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

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_r114757171
  
    --- Diff: aria/orchestrator/workflows/core/task.py ---
    @@ -69,22 +69,22 @@ class StubTask(BaseTask):
         Base stub task for marker user tasks that only mark the start/end of a 
workflow
         or sub-workflow
         """
    +    STARTED = models.Task.STARTED
    +    SUCCESS = models.Task.SUCCESS
    +
         def __init__(self, *args, **kwargs):
    -        super(StubTask, self).__init__(executor=base.StubExecutor(), 
*args, **kwargs)
    +        super(StubTask, self).__init__(executor=base.StubTaskExecutor(), 
*args, **kwargs)
             self.status = models.Task.PENDING
             self.due_at = datetime.utcnow()
     
    +    def execute(self):
    --- End diff --
    
    remove


> 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