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

Move existing API endpoints under /plugin/ansible. #728

Closed
pulpbot opened this issue Nov 17, 2021 · 0 comments
Closed

Move existing API endpoints under /plugin/ansible. #728

pulpbot opened this issue Nov 17, 2021 · 0 comments

Comments

@pulpbot
Copy link
Member

pulpbot commented Nov 17, 2021

Author: @newswangerd (newswangerd)

Redmine Issue: 9040, https://pulp.plan.io/issues/9040


Add the new v3/plugin/ansible endpoints. Old v3/ endpoints will be redirected as following:

  • {base_path}/v3/collections/* -> v3/plugin/ansible/collections/{base_path}/index/*
  • {base_path}/v3/artifacts/* -> v3/plugin/ansible/collections/{base_path}/artifacts/*
  • {base_path}/v3/imports/* -> v3/plugin/ansible/imports/*
  • {base_path}/v3/collections/all -> v3/plugin/ansible/collections/{base_path}/all-collections
  • {base_path}/v3/collection_versions/ -> v3/plugin/ansible/collections/{base_path}/all-versions

Example:

pulp_ansible/galaxy/published/api/v3/collections/newswangerd/collection_demo will redirect to pulp_ansible/galaxy/published/api/v3/plugin/ansible/collections/published/index/newswangerd/collection_demo

The old endpoints should all be marked as deprecated.

newswangerd added a commit that referenced this issue Mar 1, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in 
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that 
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows 
django URL namespace to be set on reverse so that urls can be configured 
to point correctly to the galaxy APIs when pulp ansible is deployed as 
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 1, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 1, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 2, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 3, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 3, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 3, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 3, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 3, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 3, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 3, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 4, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit that referenced this issue Mar 4, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: #728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 7, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 7, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
mdellweg pushed a commit to mdellweg/pulp_ansible that referenced this issue Mar 10, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
mdellweg pushed a commit to mdellweg/pulp_ansible that referenced this issue Mar 10, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 10, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 10, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 10, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 15, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 15, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 17, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 18, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 18, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 23, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 23, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
newswangerd added a commit to newswangerd/pulp_ansible that referenced this issue Mar 25, 2022
- move the existing collection views under /plugin/ansible/
- redirects the legacy v3 endpoints to their counterparts in
/plugin/ansible/
- adds a new configuration option ANSIBLE_DEFAULT_DISTRIBUTION_PATH that
allows users to configure a default distribution base path for the API
- adds a new configuration option ANSIBLE_URL_NAMESPACE that allows
django URL namespace to be set on reverse so that urls can be configured
to point correctly to the galaxy APIs when pulp ansible is deployed as
part of automation hub
- adds the get v3/artifacts/path/file API endpoint from galaxy_ng
- enable RedirectContentGuard

fixes: pulp#728
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant