-
Task
-
Resolution: Done
-
Undefined
-
None
Goal:
- This task assumes
HMS-2981is completed and a library for querying the pulp database exists. - Add support the pulp-querying library for searching package groups and environments by name.
- Add two API endpoints to the backend: one for searching package groups and one for searching environments.
- The API endpoint should leverage the pulp-querying library and follow the examples below
POST /snapshot/package_groups/names
{ UUIDS: [“abcd”] Search: “FOO” Limit: 100 }
POST /snapshot/package_environments/names
{ UUIDS: [“abcd”] Search: “FOO” Limit: 100 }
Acceptance Criteria:
- Add a method or methods to the pulp-querying library to support searching package groups and environments by name.
- Add two API endpoints: one to search package groups and one to search environments. Both should look like their examples above.
- package groups api should return paginated list of name, description, list of combined packages (same as repositories package search api)
- environments api should return paginated list of name, description (same as repositories environments search api)
- depends on
-
HMS-2981 Create (and name) a library to query pulp database for rpm name search
- Closed