Project

Profile

Help

Issue #6556

Story #6134: [EPIC] Pulp import/export

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

Added by ggainey 4 months ago. Updated 3 months 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

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 - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 780f128c View on GitHub
Added by dkliban@redhat.com 3 months ago

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

History

#2 Updated by dkliban@redhat.com 4 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#3 Updated by pulpbot 4 months ago

  • Status changed from ASSIGNED to POST

#4 Updated by rchan 3 months ago

  • Sprint changed from Sprint 71 to Sprint 72

#6 Updated by rchan 3 months ago

  • Sprint changed from Sprint 72 to Sprint 73

#7 Updated by dkliban@redhat.com 3 months ago

  • Related to Refactor #6761: FileFileSystemExporter needs to be renamed to FileFilesystemExporter added

#8 Updated by dkliban@redhat.com 3 months ago

  • Status changed from POST to MODIFIED

#9 Updated by dkliban@redhat.com 3 months ago

  • Sprint/Milestone set to 3.4.0

#10 Updated by dkliban@redhat.com 3 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF