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

Implement DataUnit Inserts in Registries

    Details

      Description

      Implement addDataUnit and/or other methods for adding concrete DataUnit instances in SqliteRegistry.

      This is tricky because it needs to account for how to ensure join tables between DataUnits are updated as well (i.e. should adding a Visit add the overlaps between that Visit and all existing SkyMaps?).

      This will probably require some additions to the Registry interface. Adding methods/arguments that depend on specific concrete DataUnits is fine for base Registry/SqlRegistry, but we should try to implement these in terms of more generic methods that must be implemented by new Registry subclasses

      Unit tests for this ticket should include inserting all concrete DataUnit types.

        Attachments

          Issue Links

            Activity

            Hide
            pschella Pim Schellart [X] (Inactive) added a comment -

            Partly done on DM-14114 (with addDataUnitEntry), but may need additions.

            Show
            pschella Pim Schellart [X] (Inactive) added a comment - Partly done on DM-14114 (with addDataUnitEntry ), but may need additions.
            Hide
            jbosch Jim Bosch added a comment -

            We should have declared this complete a long time ago.

            Show
            jbosch Jim Bosch added a comment - We should have declared this complete a long time ago.

              People

              • Assignee:
                Unassigned
                Reporter:
                pschella Pim Schellart [X] (Inactive)
                Watchers:
                Jim Bosch, John Swinbank, Pim Schellart [X] (Inactive), Tim Jenness
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Summary Panel