def _build_cloudify_context(self, task_id, task_queue, task_name, node_context): node_context = node_context or {} context = { '__cloudify_context': '0.3', 'task_id': task_id, 'task_name': task_name, 'task_target': task_queue, 'blueprint_id': self.blueprint.id, 'deployment_id': self.deployment.id, 'execution_id': self.execution_id, 'workflow_id': self.workflow_id, } context.update(node_context) context.update(self.internal.handler.operation_cloudify_context) return context
def _build_cloudify_context(self, task_id, task_name, node_context): node_context = node_context or {} context = { '__cloudify_context': '0.3', 'task_id': task_id, 'task_name': task_name, 'blueprint_id': self.blueprint.id, 'deployment_id': self.deployment.id, 'execution_id': self.execution_id, 'workflow_id': self.workflow_id, } context.update(node_context) context.update(self.internal.handler.operation_cloudify_context) return context