Ability to filter Mistral items

Registered by Anastasia Kuznetsova

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:
milestone icon newton-3
Started by
Renat Akhmerov
Completed by
Renat Akhmerov

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/mistral-items-filtering,n,z

Addressed by: https://review.openstack.org/269975
    Item filtering in Mistral

Addressed by: https://review.openstack.org/269971
    Filtering support for actions.

Addressed by: https://review.openstack.org/367272
    Added unit tests for Workbook and Workflow filtering

Addressed by: https://review.openstack.org/372417
    Added unit tests for workflow executions and task executions filtering

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.