pulp_ansible
pulp_ansible copied to clipboard
Bring missing data models from galaxy ng to pulp ansible
Namespaces
Move the following into pulp ansible:
- Namespace Models: https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/models/namespace.py
- Namespace Viewsets: https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/api/v3/viewsets/namespace.py
- Namespace Serializers: https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/api/v3/serializers/namespace.py
The namespace viewset is currently provided at v3/namespaces in galaxy_ng. The viewset should be served from v3/plugin/ansible/namespaces/ with a redirect from v3/namespaces for backwards compatibility.
CollectionImport
- Update the existing collection import model with the extra fields defined in galaxy ng: https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/models/collectionimport.py
- Update the existing import api to match galaxy_ng's UI implementation: https://github.com/ansible/galaxy_ng/blob/master/galaxy_ng/app/api/ui/viewsets/collection.py#L302
cc @gerrod3 @mdellweg ^
Where does the name v3/plugin/ansible/namespaces/ come from? I'm fine with whatever you want the v3 api to be structured. Just curious what kind of a plugin you are referring to here.