Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_supertask
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:BG3_F18_11
-
Team:Data Access and Database
Description
Pipeline builder needs to instantiate DatasetTypes which depend on StorageClass (and they both are configured via task config). We want to keep pipeline builder independent of butler but that means that initialization of StorageClassFactory becomes an issue. DM-15850 adds support for loading all standard StorageClasses (which come from a standard YAML config) but any non-standard configuration will become an issue in this approach.
I want to see how we can solve this problem by either pre-loading non-standard config for the factory or avoiding its use entirely.
Attachments
Issue Links
- is triggered by
-
DM-15850 Standard StorageClasses should always be loaded
- Done
Activity
Field | Original Value | New Value |
---|---|---|
Epic Link |
|
Risk Score | 0 |
Watchers | Andy Salnikov [ Andy Salnikov ] | Andy Salnikov, Vaikunth Thukral [ Andy Salnikov, Vaikunth Thukral ] |
Labels | gen3-middleware |
Sprint | DB_F18_11 [ 809 ] |
Rank | Ranked lower |
Sprint | DB_F18_11 [ 809 ] |
Sprint | BG3_F18_11 [ 812 ] |
Rank | Ranked higher |
Watchers | Andy Salnikov, Vaikunth Thukral [ Andy Salnikov, Vaikunth Thukral ] | Andy Salnikov, Jim Bosch, Tim Jenness, Vaikunth Thukral [ Andy Salnikov, Jim Bosch, Tim Jenness, Vaikunth Thukral ] |
Status | To Do [ 10001 ] | In Progress [ 3 ] |
Reviewers | Tim Jenness [ tjenness ] | |
Status | In Progress [ 3 ] | In Review [ 10004 ] |
Status | In Review [ 10004 ] | Reviewed [ 10101 ] |
Resolution | Done [ 10000 ] | |
Status | Reviewed [ 10101 ] | Done [ 10002 ] |
Reading through the code I have an impression that things could be made significantly simpler if we delay the instantiation of StorageClass instances until they are actually used (i.e. somewhere in Butler). DatasetType instances can store StorageClass name instead of instance and that should make few things simpler:
Tim Jenness, Jim Bosch, what do think about this idea, am I being too naive?