Add "keep-result" task option
Registered by
Renat Akhmerov
We need to add option that would tell Mistral engine not to keep task result (actually its action execution results) after task completion. It's needed for the cases when we know that action result is large and it doesn't make sense to keep it as is. Instead, we may want to extract only a part of it using "publish" clause.
tasks:
my_task:
action: nova.servers_list
publish:
vm_count: <% $.my_task.length() %>
keep-result: false
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- Medium
- Drafter:
- Renat Akhmerov
- Direction:
- Approved
- Assignee:
- Nikolay Makhotkin
- Definition:
- Approved
- Series goal:
- Accepted for kilo
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Nikolay Makhotkin
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add 'keep-result' property to task-spec
Addressed by: https:/
Add implicit task access in workflow
(?)