Remove plugin API objects that are not used by core
The plugin API has several placeholder objects that are not used by the plugin. It's very possible these objects won't be in the GA release even based on the MVP. Specifically these objects:
We also need to remove almost all or all of the serializers and viewsets which are currently mass-imported into pulpcore.plugin.
Only bring in viewsets and serializers that the plugin writer is intended to subclass. That would involve changing these two imports:
Those two modules should only importer the following objects by name (not with *):
pulpcore.plugin.serializers.ContentSerializer pulpcore.plugin.serializers.ImporterSerializer pulpcore.plugin.serializers.PublisherSerializer pulpcore.plugin.viewsets.ContentViewSet pulpcore.plugin.viewsets.ImporterViewSet pulpcore.plugin.viewsets.PublisherViewSet
#2 Updated by email@example.com over 3 years ago
We will still need to import master ViewSets and Serializers that the plugins inherit from.
At a minimum, we need to keep:
Please register to edit this issue