Project

Profile

Help

Issue #3252

Refactor Importer and Publishers, move sync and publish to tasks

Added by amacdona@redhat.com about 4 years ago. Updated almost 3 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

History

#1 Updated by amacdona@redhat.com about 4 years ago

  • Description updated (diff)

#2 Updated by amacdona@redhat.com about 4 years ago

Designing in this way would make high level architecture for plugins more obvious to plugin writers, including how transparent Pulp is about what happens under the hood.o The boilerplate app code (provided by the plugin template) would look like:
app/
models.py
viewsets.py
tasks.pyt
...

Models are concerned only with the database and are no longer concerned with complex behaviors. Tasks are functions that run asynchronously. ViewSets CRUD models and dispatch Tasks to pulpcore's celery.

#3 Updated by amacdona@redhat.com about 4 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE
  • Parent task set to #3074

#4 Updated by amacdona@redhat.com almost 4 years ago

  • Parent task deleted (#3074)

#5 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF