Expose all filter options for collections in REST api
The current GET collections methods do not expose all the filtering that is included in the sqlalchemy interface. The missing filters include [reserved, driver, provision_state, provisioned_before, inspection_
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Nate House
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Sprints
Whiteboard
https:/
https:/
https:/
https:/
Ideally it would be nice to accept any/all available table columns as filters. Operator implementations could also clean up the conditional checks when applying filters. Because the current filters are exclusively declared as optional params, adding an additional filters param that accepts json should likely include those existing filters and leave the definition as is for backwards compat.
Hi Nate, if you plan to work on this, please use referenced RFE bug instead of this blueprint.
//vdrok 2015-12-15