Issue #3532
closed/api/v3/ and /content/ could collide with a Live API
Description
Problem¶
Live APIs can live anywhere and have hard-coded requirements. For example, pulp_ansible expects to server various urls also rooted at /api/v3/ because the Galaxy API works like that and it's also at version 3. I don't think any of the core provided urls formally collide with Galaxy urls.
The same problem can occur with the /content/ app.
Solution¶
Pulp could minimize these types of issues by rooting everything under /pulp/
so the API would move to /pulp/api/v3/
and content to /pulp/content/
.
Related issues
Updated by amacdona@redhat.com over 6 years ago
Pulp 2 uses pulp/api/v2/, so my first instinct would be to use pulp/api/v3/.
There is another compelling reason to go that direction. Id bet that /content/ will be even more overloaded that api/v3/.
So we could move our content app to pulp/content/ and our api to pulp/api/v3/.
Updated by bmbouter over 6 years ago
- Subject changed from /api/v3/ could collide with a Live API to /api/v3/ and /content/ could collide with a Live API
- Description updated (diff)
@asmacdo, that would be much better overall. I've rewritten it to reflect this idea.
Updated by dalley over 6 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 35
Updated by amacdona@redhat.com over 6 years ago
I could not grep any occurrences of "api/v3" in the pulp/devel repository, so I did not file an issue.
Updated by amacdona@redhat.com over 6 years ago
- Related to Issue #3547: Fix documentation to reflect pulpcore's new API roots added
Updated by amacdona@redhat.com over 6 years ago
- Groomed changed from No to Yes
- Tags Pulp 3 MVP added
Updated by amacdona@redhat.com over 6 years ago
- Status changed from NEW to POST
- Assignee set to amacdona@redhat.com
Added by amacdona@redhat.com over 6 years ago
Added by amacdona@redhat.com over 6 years ago
Revision d51bf3bf | View on GitHub
move api and content roots
fixes #3532 https://pulp.plan.io/issues/3532
Required PR: https://github.com/PulpQE/pulp-smash/pull/969
Updated by amacdona@redhat.com over 6 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|d51bf3bf8f293e53d965e025fcab036afa254130.
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
move api and content roots
fixes #3532 https://pulp.plan.io/issues/3532
Required PR: https://github.com/PulpQE/pulp-smash/pull/969