Actions
Issue #6556
closedStory #6134: [EPIC] Pulp import/export
Export requires exporter-UUID in bindings instead of HREF - can we fix this?
Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
Yes
Sprint Candidate:
No
Tags:
Sprint:
Sprint 73
Quarter:
Description
From issue uncovered doing functional tests:
daviddavis reviewed 23 hours ago
pulpcore/tests/functional/api/using_plugin/test_pulpexport.py
"""Create and read back an export for the specified PulpExporter."""
# TODO: at this point we can't create an export unless we do string-surgery on the
# exporter-href because there's no way to get just-the-id
export_response = self.exports_api.create(exporter.pulp_href.split("/")[-2], {})
@daviddavis
@dkliban, @ggainey and I talked about this and it seems unexpected that you have to pass in a uuid and not an href here. Any thoughts?
This discussion/decision needs to be flattened ASAP
Related issues
Actions
Fixes the OpenAPI schema for import and export APIs
Required PR: https://github.com/pulp/pulp_file/pull/389
fixes: #6556 https://pulp.plan.io/issues/6556