Task #3185
closedAdd a field to Distribution serializer for fully constructed URL to consume content.
100%
Description
Add a base_url field to the Distribution serializer that contains the fully constructed base URL used to consume distributed content. It is not added to the model. The URL is constructed as: <host>/content/<base_path>/. This work was originally planned on #3102 but seemed hard to do and did not want to hold up that work getting merged.
Related issues
Updated by dalley almost 7 years ago
- Subject changed from Add an attirbute to Distribution serializer for fully constructed URL to consume content. to Add an attribute to Distribution serializer for fully constructed URL to consume content.
Updated by jortel@redhat.com almost 7 years ago
- Subject changed from Add an attribute to Distribution serializer for fully constructed URL to consume content. to Add an field to Distribution serializer for fully constructed URL to consume content.
Updated by jortel@redhat.com almost 7 years ago
- Subject changed from Add an field to Distribution serializer for fully constructed URL to consume content. to Add a field to Distribution serializer for fully constructed URL to consume content.
Updated by amacdona@redhat.com almost 7 years ago
- Groomed changed from No to Yes
- Sprint Candidate changed from No to Yes
Updated by dkliban@redhat.com almost 7 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Updated by dkliban@redhat.com almost 7 years ago
- Status changed from ASSIGNED to POST
Added by dkliban@redhat.com almost 7 years ago
Added by dkliban@redhat.com almost 7 years ago
Revision 1200d0b9 | View on GitHub
Problem: Distribution lacks a base URL
Solution: Add 'base_url' field to the Distribution resource
This patch adds a read only 'base_url' field to the Distribution resource. It's value is derived from a new 'host' config in server.yaml and the 'base_path' of the Distribution. If the 'host' is not set, the host is is assumed to be the same the one in the request.
Updated by dkliban@redhat.com almost 7 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset pulp|1200d0b9c82c1874cf293cf49f1e3bc6f3336f44.
Updated by amacdona@redhat.com almost 6 years ago
- Has duplicate Story #3677: As a plugin writer, I can easily obtain a distribution's base url added
Updated by bmbouter almost 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Problem: Distribution lacks a base URL
Solution: Add 'base_url' field to the Distribution resource
This patch adds a read only 'base_url' field to the Distribution resource. It's value is derived from a new 'host' config in server.yaml and the 'base_path' of the Distribution. If the 'host' is not set, the host is is assumed to be the same the one in the request.
closes #3185 https://pulp.plan.io/issues/3185