Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-10326

Improve fundability and verifiability of persisted RepositoryCfg objects.


    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: daf_persistence
    • Labels:
    • Templates:
    • Story Points:
    • Team:
      Data Access and Database


      There are cases where it makes sense to find parent RepositoryCfgs by relative path (e.g. if they are side by side and may get moved together to a new location), and cases where it makes sense to find them by absolute path (e.g. if the parent is a Level-1 type dataset that exists in a permanent location).

      K-T's idea is:

      • add a GUID to the persisted RepositoryCfg.
      • in a RepositoryCfg's parents list, store:
        • the relative path to the parent (where applicable)
        • the absolute path to the parent
        • the GUID of the parent.
      • when locating a parent repo, search first by relative path and then by absolute path.
      • First search the absolute path to the parent. If a RepositoryCfg is found, compare the found RepositoryCfg's GUID to the expected GUID. If the GUIDs don't match, assume the RepositoryCfg is not the desired parent repository cfg. Then try the relative path; if the parent RepositoryCfg can not be found, an exception must be raised.




            • Assignee:
              npease Nate Pease
              npease Nate Pease
              Kenny Lo, Nate Pease
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created:

                Summary Panel