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 over 4 years ago. Updated over 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
Actions #2

Updated by dkliban@redhat.com over 4 years ago

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

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST
Actions #4

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 71 to Sprint 72
Actions #6

Updated by rchan over 4 years ago

  • Sprint changed from Sprint 72 to Sprint 73

Added by dkliban@redhat.com over 4 years ago

Revision 780f128c | View on GitHub

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

Actions #7

Updated by dkliban@redhat.com over 4 years ago

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

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from POST to MODIFIED
Actions #9

Updated by dkliban@redhat.com over 4 years ago

  • Sprint/Milestone set to 3.4.0
Actions #10

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF