Project

Profile

Help

Task #2401

closed

Convert celery task repo.importer.set_importer to Pulp 3

Added by ttereshc over 7 years ago. Updated almost 5 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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.0CLOSED - CURRENTRELEASEttereshc

Actions
Is duplicate of Pulp - Story #2402: As an API user, a call to update an Importer generates a TaskCLOSED - CURRENTRELEASEdkliban@redhat.com

Actions
Actions #1

Updated by ttereshc over 7 years ago

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

Updated by ttereshc over 7 years ago

  • Tags Pulp 3 added
Actions #3

Updated by mhrivnak over 7 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.

Actions #4

Updated by bmbouter over 7 years ago

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

Actions #5

Updated by mhrivnak over 7 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.

Actions #6

Updated by bmbouter almost 7 years ago

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

Actions #7

Updated by bmbouter almost 7 years ago

  • Status changed from NEW to CLOSED - DUPLICATE

This work will be entirely handled by #2402.

Actions #8

Updated by bmbouter almost 7 years ago

  • Is duplicate of Story #2402: As an API user, a call to update an Importer generates a Task added
Actions #9

Updated by daviddavis almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #10

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)

Also available in: Atom PDF