Project

Profile

Help

Refactor #2088

create django models for lazy catalog and deferred downloads

Added by mhrivnak over 3 years ago. Updated 6 months ago.

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

100%

Platform Release:
Blocks Release:
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Complexity:
Verified:
No
Verification Required:
No
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.app CLOSED - CURRENTRELEASE Actions
Related to Pulp - Refactor #2320: Migrate lazy_content_catalog to the downloadcatalog table. NEW Actions
Blocked by Pulp - Task #2086: add django DB boilerplate CLOSED - CURRENTRELEASE Actions
Blocked by Pulp - Refactor #2098: create django models for content units MODIFIED Actions
Copied to Pulp - Refactor #2089: create django models for repos/importers/distributors MODIFIED Actions

Associated revisions

Revision d7f54603 View on GitHub
Added by Jeremy Cline about 3 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 about 3 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 about 3 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 over 3 years ago

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

#2 Updated by mhrivnak over 3 years ago

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

#3 Updated by mhrivnak about 3 years ago

  • Sprint Candidate changed from No to Yes

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

  • Groomed changed from No to Yes

#5 Updated by mhrivnak about 3 years ago

  • Sprint/Milestone set to 24

#6 Updated by fdobrovo about 3 years ago

  • Assignee set to fdobrovo

#7 Updated by jortel@redhat.com about 3 years ago

  • Tags Pulp 3 added

#8 Updated by fdobrovo about 3 years ago

  • Assignee deleted (fdobrovo)

Working on something else passing to someone.

#9 Updated by jortel@redhat.com about 3 years ago

  • Tags Pulp 3 Modeling added

#10 Updated by mhrivnak about 3 years ago

  • Sprint/Milestone changed from 24 to 25

#11 Updated by jcline@redhat.com about 3 years ago

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

#12 Updated by jcline@redhat.com about 3 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 about 3 years ago

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

#14 Updated by jcline@redhat.com about 3 years ago

  • Status changed from ASSIGNED to POST

#15 Updated by semyers about 3 years ago

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

#16 Updated by mhrivnak about 3 years ago

  • Sprint/Milestone changed from 25 to 26

Moving to sprint 8 since work is ongoing.

#17 Updated by Anonymous about 3 years ago

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

#18 Updated by semyers about 3 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 about 3 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 about 3 years ago

  • Sprint/Milestone changed from 26 to 27

#21 Updated by bizhang about 3 years ago

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

#22 Updated by bizhang about 3 years ago

Migrations documentation:
#2320

#23 Updated by bizhang about 3 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 2 years ago

  • Tags deleted (Pulp 3 Modeling)

#25 Updated by bmbouter over 1 year ago

  • Sprint set to Sprint 9

#26 Updated by bmbouter over 1 year ago

  • Sprint/Milestone deleted (27)

#27 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#28 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF