Project

Profile

Help

Issue #1563

closed

Content type ID searches not working

Added by paji@redhat.com almost 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

1) Get the zoo5 repo from -> https://github.com/Katello/runcible/tree/master/test/fixtures/repositories/zoo5 (we just need the repo.) Steps below will assume file:///var/www/repositories/zoo5 is the destination
2)

$ pulp-admin rpm repo create --repo-id=ideate --feed=file:///var/www/repositories/zoo5
$ pulp-admin rpm repo sync run --repo-id=ideate

3) These urls are all returning blank responses. They should return content instead.

POST request to /pulp/api/v2/content/units/erratum/search/   with params {"criteria": {"filters": {"unit": {"id": {"$in": ["RHEA-2010:0002"]}}}}}, "include_repos": true }

POST request to /pulp/api/v2/content/units/package_category/search/   with params {"criteria": {"filters": {"unit": {"id": {"$in": ["all"]}}}}}, "include_repos": true }

POST request to /pulp/api/v2/content/units/package_group/search/   with params {"criteria": {"filters": {"unit": {"id": {"$in": ["bird"]}}}}}, "include_repos": true }

POST request to /pulp/api/v2/content/units/distribution/search/   with params {"criteria": {"filters": {"unit": {"id": {"$in": ["ks-Test Family-TestVariant-16-x86_64\"]}}}}}, "include_repos": true }

Related issues

Related to Pulp - Task #1578: Incoming searches should be translated by the modelCLOSED - WONTFIX

Actions
Copied to Pulp - Issue #1574: These Content type ID searches not workingCLOSED - CURRENTRELEASEamacdona@redhat.comActions

Also available in: Atom PDF