Project

Profile

Help

Issue #6556

closed

Story #6134: [EPIC] Pulp import/export

Export requires exporter-UUID in bindings instead of HREF - can we fix this?

Added by ggainey almost 4 years ago. Updated almost 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
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

Related to File Support - Refactor #6761: FileFileSystemExporter needs to be renamed to FileFilesystemExporterCLOSED - CURRENTRELEASEdkliban@redhat.com

Actions

Also available in: Atom PDF