Skip to content

Return created_resources in tasks as PRNs #7003

@ianballou

Description

@ianballou

Is your feature request related to a problem? Please describe.
Katello wants to use PRNs only before Pulp 4 comes out so the upgrade is seamless. We save version_hrefs today via the created_resources return from tasks. To switch to PRNs, we'd need to also see created_resources as PRNs rather than hrefs:

"created_resources": ["/pulp/api/v3/repositories/rpm/rpm/0199781d-e369-721e-a4ec-543846f37a53/versions/6/"]

Describe the solution you'd like
Perhaps a new task attribute returned by the API for "created_resource_prns" or the like?

Describe alternatives you've considered
None yet.

Additional context
Add any other context about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions