Project

Profile

Help

Refactor #2088

create django models for lazy catalog and deferred downloads

Added by mhrivnak about 4 years ago. Updated 8 months ago.

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

100%

Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 9

Description

Create django models for the functionality that includes:

  • catalog
  • deferred downloads

Checklist


Related issues

Related to Pulp - Task #2226: Rename pulp.platform to pulp.appCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Related to Pulp - Refactor #2320: Migrate lazy_content_catalog to the downloadcatalog table.NEW

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Pulp - Task #2086: add django DB boilerplateCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocked by Pulp - Refactor #2098: create django models for content unitsCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Copied to Pulp - Refactor #2089: create django models for repos/importers/distributorsCLOSED - CURRENTRELEASE

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

Associated revisions

Revision d7f54603 View on GitHub
Added by Jeremy Cline almost 4 years ago

Add a DownloadCatalog model to track Artifacts

Lazy sync has a LazyCatalogEntry collection Pulp 2. This covers the LazyCatalogEntry functionality by relating a URL to an Artifacts and an Importer that contains the necessary download configuration to access the URL (basic auth, client certificates, CA certificates, etc).

closes #2088

Revision d7f54603 View on GitHub
Added by Jeremy Cline almost 4 years ago

Add a DownloadCatalog model to track Artifacts

Lazy sync has a LazyCatalogEntry collection Pulp 2. This covers the LazyCatalogEntry functionality by relating a URL to an Artifacts and an Importer that contains the necessary download configuration to access the URL (basic auth, client certificates, CA certificates, etc).

closes #2088

History

#1 Updated by mhrivnak about 4 years ago

  • Blocked by Task #2086: add django DB boilerplate added

#2 Updated by mhrivnak about 4 years ago

  • Copied to Refactor #2089: create django models for repos/importers/distributors added

#3 Updated by mhrivnak about 4 years ago

  • Sprint Candidate changed from No to Yes

#4 Updated by jortel@redhat.com about 4 years ago

  • Groomed changed from No to Yes

#5 Updated by mhrivnak about 4 years ago

  • Sprint/Milestone set to 24

#6 Updated by fdobrovo about 4 years ago

  • Assignee set to fdobrovo

#7 Updated by jortel@redhat.com almost 4 years ago

  • Tags Pulp 3 added

#8 Updated by fdobrovo almost 4 years ago

  • Assignee deleted (fdobrovo)

Working on something else passing to someone.

#9 Updated by jortel@redhat.com almost 4 years ago

  • Tags Pulp 3 Modeling added

#10 Updated by mhrivnak almost 4 years ago

  • Sprint/Milestone changed from 24 to 25

#11 Updated by jcline@redhat.com almost 4 years ago

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

#12 Updated by jcline@redhat.com almost 4 years ago

I'm wondering if it would be best to consolidate the LazyCatalog into the File (or UnitFile, whatever) model. I know we don't want to do too much remodeling, but just adding a mapping of importer -> urls to the File should cover the entire LazyCatalog model unless I'm very much mistaken.

#13 Updated by jcline@redhat.com almost 4 years ago

  • Blocked by Refactor #2098: create django models for content units added

#14 Updated by jcline@redhat.com almost 4 years ago

  • Status changed from ASSIGNED to POST

#15 Updated by semyers almost 4 years ago

  • Related to Task #2226: Rename pulp.platform to pulp.app added

#16 Updated by mhrivnak almost 4 years ago

  • Sprint/Milestone changed from 25 to 26

Moving to sprint 8 since work is ongoing.

#17 Updated by Anonymous almost 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#18 Updated by semyers almost 4 years ago

  • Checklist item Create one or more django models to hold the data currently in each mongo collection set to Done

#19 Updated by semyers almost 4 years ago

  • Status changed from MODIFIED to NEW
  • Assignee deleted (jcline@redhat.com)

The referenced PR creates the models, but I think the second checklist item (thorough documentation about how data should be mapped from mongo to django) still needs to be done. The Assignee is no longer working on this project.

#20 Updated by mhrivnak almost 4 years ago

  • Sprint/Milestone changed from 26 to 27

#21 Updated by bizhang almost 4 years ago

  • Related to Refactor #2320: Migrate lazy_content_catalog to the downloadcatalog table. added

#22 Updated by bizhang almost 4 years ago

Migrations documentation:
#2320

#23 Updated by bizhang almost 4 years ago

  • Checklist item Include thorough documentation about how data should be mapped from the mongo collection to the django model set to Done
  • Status changed from NEW to MODIFIED
  • Assignee set to bizhang

Had jortel take a look and approve the documentation

#24 Updated by bmbouter about 3 years ago

  • Tags deleted (Pulp 3 Modeling)

#25 Updated by bmbouter over 2 years ago

  • Sprint set to Sprint 9

#26 Updated by bmbouter over 2 years ago

  • Sprint/Milestone deleted (27)

#27 Updated by daviddavis over 1 year ago

  • Sprint/Milestone set to 3.0.0

#28 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#29 Updated by bmbouter 8 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF