Issue #4437

Updated by bmbouter about 1 year ago

h2. Problem

Assume that
A plugin writer is adding custom routes can't seem to serve their content. They likely require this because they need more control when serving an Artifact, e.g. response headers. When their adapt the base_url field of the Distribution serializes accordingly. seems to hard code the base_path it will serve all Pulp content at /pulp/content/. This is correct for most Content, but not for this type which serves it at a custom route in base url and the content app, e.g. /mycustomurl/.

Distributor Serializer/Viewset is also are not part of the plugin API which prevents the reuse of that serializer/viewset. API.

This was originally identified by @gmbnomis in "this comment":

h2. Solution

Make the Serializer and Viewset part of the plugin API