Maintenance: Planio will be observing a scheduled maintenance window this Tuesday, November 5, 2024 from 03:00 UTC until 06:30 UTC to perform urgent network maintenance in our primary data center. Your Planio account will be unavailable during this maintenance window.
Issue #6196
closedPackage list on modulemd endpoint should have hrefs instead of UUIDs
Description
Today the package list from the modulemd endpoint looks like:
{
"arch": "noarch",
"artifact": "/pulp/api/v3/artifacts/4afb1dd9-b801-4b81-b18a-10050fd03d21/",
"artifacts": "[\"pteradactyl-0:4.1-1.noarch\"]",
"context": "deadbeef",
"dependencies": "{}",
"name": "pteradactyl",
"packages": [
"b8046dd7-4a4f-4345-a401-bf7645a9fee4"
],
"pulp_created": "2020-02-19T17:14:43.145644Z",
"pulp_href": "/pulp/api/v3/content/rpm/modulemds/e888df59-6220-4a68-9648-3f863808c5dc/",
"stream": "4",
"version": "20180740444408"
}
It would make sense to return hrefs for the packages instead of the UUIDs.
Updated by dalley over 4 years ago
- Status changed from NEW to POST
- Assignee set to dalley
- Sprint set to Sprint 66
Updated by dalley over 4 years ago
sajha, keep in mind also that the artifacts field (and a few others) were broken and returning a JSON list contained within a string, instead of just returning hte list. That was fixed recently so if you were using those fields and working around it at all, the fix might "break" it.
Added by dalley over 4 years ago
Updated by dalley over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset 142f52e15f5ac927fd71d5524779cab5cac92344.
Updated by ttereshc over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by ggainey over 4 years ago
- Tags Katello added
- Tags deleted (
Katello-P2)
Return content HREFs instead of PKs for Modulemd "packages"
closes: #6196 https://pulp.plan.io/issues/6196