Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PRN field to all resources in the REST API #5766

Open
dkliban opened this issue Sep 3, 2024 · 0 comments · May be fixed by #5813
Open

Add PRN field to all resources in the REST API #5766

dkliban opened this issue Sep 3, 2024 · 0 comments · May be fixed by #5813
Assignees
Labels

Comments

@dkliban
Copy link
Member

dkliban commented Sep 3, 2024

Is your feature request related to a problem? Please describe.
The values of pulp_href field contain the API_ROOT. By default API_ROOT is /pulp/api/v3/ but can be anything an admins chooses at deployment time. This coupling with API_ROOT makes it difficult to re-root an existing Pulp instance. It also makes it difficult to introduce a v4 API.

Describe the solution you'd like
Add a new 'prn' field that will be an identified of a resource.

The prn is already used for task resource locking. It has the following format:

prn:<app_label>.<model_label>:<model_pk>

@gerrod3 gerrod3 self-assigned this Sep 16, 2024
gerrod3 added a commit to gerrod3/pulpcore that referenced this issue Sep 18, 2024
@gerrod3 gerrod3 linked a pull request Sep 18, 2024 that will close this issue
gerrod3 added a commit to gerrod3/pulpcore that referenced this issue Sep 18, 2024
gerrod3 added a commit to gerrod3/pulpcore that referenced this issue Sep 18, 2024
gerrod3 added a commit to gerrod3/pulpcore that referenced this issue Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants