Project

Profile

Help

Task #2401

Convert celery task repo.importer.set_importer to Pulp 3

Added by ttereshc almost 3 years ago. Updated 6 months ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Task name in Pulp 2: `pulp.server.managers.repo.importer.set_importer`.
Task implementation in Pulp 2: https://github.com/pulp/pulp/blob/3.0-dev/server/pulp/server/controllers/importer.py#L67


Related issues

Related to Pulp - Task #2380: Create a redmine task for each 2.y celery task to be converted to 3.0 CLOSED - CURRENTRELEASE Actions
Duplicates Pulp - Story #2402: As an API user, a call to update an Importer generates a Task MODIFIED Actions

History

#1 Updated by ttereshc almost 3 years ago

  • Related to Task #2380: Create a redmine task for each 2.y celery task to be converted to 3.0 added

#2 Updated by ttereshc almost 3 years ago

  • Tags Pulp 3 added

#3 Updated by mhrivnak almost 3 years ago

Thinking about this now, maybe this one does not need to be a task.

If a repo does not have an importer, it cannot be doing a sync/copy/upload, so there is no need to have the resource lock on the repo before adding the importer.

#4 Updated by bmbouter almost 3 years ago

What about the case where the set_importer is replacing an existing importer? Does that ever happen?

#5 Updated by mhrivnak almost 3 years ago

I do not think we should support a replace operation. CRUD should be sufficient.

If you try to create a document that already exists, that's an error.

#6 Updated by bmbouter over 2 years ago

Is this task needed or would it be addressed by the implementation of #2402?

#7 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - DUPLICATE

This work will be entirely handled by #2402.

#8 Updated by bmbouter over 2 years ago

  • Duplicates Story #2402: As an API user, a call to update an Importer generates a Task added

#9 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#10 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF