Bug 1164087

Summary: [RFE][sahara]: Enable result set filtering for all objects
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-saharaAssignee: Elise Gafford <egafford>
Status: CLOSED ERRATA QA Contact: Luigi Toscano <ltoscano>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: kbasil, markmc, matt, mimccune, mlopes, yeylon
Target Milestone: Upstream M1Keywords: FutureFeature, OtherQA
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/sahara/+spec/enable-result-filtering
Whiteboard: upstream_milestone_kilo-1 upstream_definition_approved upstream_status_implemented
Fixed In Version: openstack-sahara-2015.1.0-2.el7ost Doc Type: Enhancement
Doc Text:
Sahara objects can now be queried by any field name. This is done using the GET parameters that match the API field names, as seen on list methods.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:15:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RHOS Integration 2014-11-14 05:01:06 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/sahara/+spec/enable-result-filtering.

Description:

Given that result sets can be quite large for nontrivial installations, the Sahara API needs to be able to support filtering of result sets.  Ideally, query parameters can be passed in on the REST URL with the "?name=value" syntax and the sahara service will restrict the result sets by the given filters (which might just be field values, or possibly things related to pagination/max results).

Each object type should be able to be filtered by any of the fields contained in it.  We should be able to specify parameters for pagination (page, results per page) and maxumum result count.

There are corresponding changes planned for python-saharaclient and the Sahara Horizon UI.  Here are links to those blueprints:
python-saharaclient:  https://blueprints.launchpad.net/python-saharaclient/+spec/enable-result-filtering
horizon:  https://blueprints.launchpad.net/horizon/+spec/data-processing-table-filtering

Specification URL (additional information):

None

Comment 7 errata-xmlrpc 2015-08-05 13:15:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2015:1548