Actions
Issue #9563
closedIt should not be necessary to provide the base url to utilize a AptReleaseSigningService
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
Using a AsciiArmoredDetachedSigningService it suffices to provide the pulp_href whilst the AptReleaseSigningService wants you to provide the full path.
i.e. http://yourpulphost.com/{pulp_href}
It's relatively hard to pin the base_path when having multiple environments. It would be really great if we only have to pass the pulp_href.
Actions
Use RelatedField for signing services
closes #9563
The field referencing a signing service on a publication now uses pulpcore.plugin.serializers.RelatedField, rather than: rest_framework.serializers.HyperlinkedRelatedField
The latter was causing a full URL to be stored, which in turn causes various usability issues and is inconsistent with everything else in Pulp (which use pulp_href only).