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

Extend registry schema to support metadata/configuration

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Sprint:
      DB_F20_06
    • Team:
      Data Access and Database
    • Urgent?:
      No

      Description

      For schema stability we need a place where we can store identifying information for schema itself and various configuration-related info as well. That will server as a sort of metadata for the rest of the schema and data in registry. To be usable from many releases it itself needs to be super-stable but we also should be be able to store all sorts of metadata in it, exact structure of that is not possible predict today. I think the most generic solution for that is a simple key-value store with arbitrary keys and values encoded as strings. All other structures can be mapped to key/value using reasonable rules, though some care is certainly needed to avoid name collision.

        Attachments

          Issue Links

            Activity

            No builds found.
            salnikov Andy Salnikov created issue -
            salnikov Andy Salnikov made changes -
            Field Original Value New Value
            Epic Link DM-25244 [ 435560 ]
            salnikov Andy Salnikov made changes -
            Link This issue is triggered by DM-24803 [ DM-24803 ]
            salnikov Andy Salnikov made changes -
            Status To Do [ 10001 ] In Progress [ 3 ]
            Hide
            salnikov Andy Salnikov added a comment -

            I think it is ready for review. The interface is now simplest possible, we may need to extend it later with new methods if needed. What is more important is the schema of the metadata table, I chose reasonably wide string types for both keys and values, I hope this should cover all our needs for now. We do not store any metadata yet, will work on that in next tickets.

            Show
            salnikov Andy Salnikov added a comment - I think it is ready for review. The interface is now simplest possible, we may need to extend it later with new methods if needed. What is more important is the schema of the metadata table, I chose reasonably wide string types for both keys and values, I hope this should cover all our needs for now. We do not store any metadata yet, will work on that in next tickets.
            salnikov Andy Salnikov made changes -
            Reviewers Jim Bosch [ jbosch ]
            Status In Progress [ 3 ] In Review [ 10004 ]
            salnikov Andy Salnikov made changes -
            Status In Review [ 10004 ] In Progress [ 3 ]
            Hide
            salnikov Andy Salnikov added a comment -

            Switching back In Progress, need to rename the whole thing.

            Show
            salnikov Andy Salnikov added a comment - Switching back In Progress, need to rename the whole thing.
            Hide
            salnikov Andy Salnikov added a comment -

            Ready for review once again, no traces of metadata left.

            Show
            salnikov Andy Salnikov added a comment - Ready for review once again, no traces of metadata left.
            salnikov Andy Salnikov made changes -
            Status In Progress [ 3 ] In Review [ 10004 ]
            jbosch Jim Bosch made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            salnikov Andy Salnikov made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]
            salnikov Andy Salnikov made changes -
            Link This issue is triggering DM-25411 [ DM-25411 ]

              People

              Assignee:
              salnikov Andy Salnikov
              Reporter:
              salnikov Andy Salnikov
              Reviewers:
              Jim Bosch
              Watchers:
              Andy Salnikov, Jim Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.