-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
2
-
None
Goal:
- When searching rpms for a RH repo's UUID, no rpms are returned. Searching by URLs works as expected. This should work when using either UUID or URL
curl --location 'localhost:8000/api/content-sources/v1.0/rpms/names' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'x-rh-identity: <identity>' \ --data '{ "search": "", "uuids": ["f5319e3c-edd5-441e-bad0-7c2b4e7513d6"], "urls": [] }' [] curl --location 'localhost:8000/api/content-sources/v1.0/rpms/names' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --header 'x-rh-identity: <identity>' \ --data '{ "search": "", "uuids": [], "urls": ["https://cdn.redhat.com/content/dist/rhel9/9/x86_64/appstream/os/"]} [{"package_name":"389-ds-base","summary":"389 Directory Server (base)"},{"package_name":"389-ds-base-libs","summary":"Core libraries for 389 Directory Server"},...]
Acceptance Criteria:
- Hitting the /rpms/names endpoint with RH repo UUIDs should return the same rpms as when providing RH repo URLs