Bug 795505 - [RFE] Cannot query filters based on multiple ids
Summary: [RFE] Cannot query filters based on multiple ids
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-20 18:18 UTC by Partha Aji
Modified: 2015-03-23 01:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-27 14:36:32 UTC


Attachments (Terms of Use)

Description Partha Aji 2012-02-20 18:18:22 UTC
Description of problem:
Current pulp implementation does not do things like returning information on multiple filters based on filter ids.  If I need information on 5 specific package filters I 'd either need to do 5 separate calls in the rest API or make one call and get all the filters and sift through to get the info on the 5 filters I want.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create a few filters > 2

2. Run the following
export AUTH=`python -c "import base64; print base64.encodestring(\"admin:admin\")[:-1]"`
curl -k -H "Authorization: Basic $AUTH"  https://localhost/pulp/api/filters/?id=<filter1>&id=<filter2>  (replace the filter1 filter2 with the filters you created)

  
Actual results:
You get a list of all filters not just the ones you specified.

Expected results:
Info on just the filters I need.

Additional info:

Comment 1 Michael Hrivnak 2013-09-27 14:36:32 UTC
pulp no longer stores filters.


Note You need to log in before you can comment on or make changes to this bug.