[
https://issues.apache.org/jira/browse/ARIA-163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15996648#comment-15996648
]
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_r114761560
--- Diff: aria/orchestrator/workflows/events_logging.py ---
@@ -36,16 +36,15 @@ def _get_task_name(task):
@events.start_task_signal.connect
def _start_task_handler(task, **kwargs):
# If the task has not implementation this is an empty task.
- if task.implementation:
- task.context.logger.debug('{name}
{task.interface_name}.{task.operation_name} has no '
-
'implementation'.format(name=_get_task_name(task), task=task))
- else:
- task.context.logger.info('{name}
{task.interface_name}.{task.operation_name} started...'
- .format(name=_get_task_name(task),
task=task))
+ suffix = 'started...' if task.implementation else 'has no
implementation'
+ task.context.logger.debug('{name}
{task.interface_name}.{task.operation_name} {suffix}'
--- End diff --
task.imp -> info
> 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)