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
---
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.
---