Ability to filter Mistral items
Now we have some Mistral items such as workbooks, workflows, tasks and actions.
Workbooks and workflows have special parameter - tags that isn't used now. But we can use tags for filtering. For example we have a lot of workflows and we need to see only direct ones, in this case it would be great to have opportunity to choose them for example using CLI:
mistral workflow-list type=direct.
Another situation. We have a lot of 'standard' OpenStack actions and we will have more. So it is not very convenient to look through all of them to find actions for nova. In this case we can have smth like that:
mistral action-list type=nova
So, Need to implement filters on REST API endpoints which work with multiple items (such as /tasks, /workbooks etc.)
Blueprint information
- Status:
- Complete
- Approver:
- Renat Akhmerov
- Priority:
- High
- Drafter:
- Anastasia Kuznetsova
- Direction:
- Approved
- Assignee:
- Hardik Parekh
- Definition:
- Approved
- Series goal:
- Accepted for newton
- Implementation:
- Implemented
- Milestone target:
- newton-3
- Started by
- Renat Akhmerov
- Completed by
- Renat Akhmerov
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Item filtering in Mistral
Addressed by: https:/
Filtering support for actions.
Addressed by: https:/
Added unit tests for Workbook and Workflow filtering
Addressed by: https:/
Added unit tests for workflow executions and task executions filtering