Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-42489: Freeze APDB configuration in metadata table #42

Merged
merged 6 commits into from
Feb 26, 2024

Commits on Jan 25, 2024

  1. Configuration menu
    Copy the full SHA
    11b5245 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Change Apdb.makeSchema to be class method.

    Having `makeSchema` as an instance method causes too many issues,
    as the state of the instance has to be reset after schema is created
    or re-created. Now Apdb instances will be created only on populated
    database schema. Base class method can be used to call `makeSchema`
    and it will dispatch to a correct sub-class based on confguration
    object type.
    
    This change means that in-memory SQLite database cannot be used with
    ApdbSql, in-memory database was only useful for testing.
    andy-slac committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    e110a96 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. Freeze APDB configuration in metadata table (DM-42489)

    Both implementations now store parts of configuration in metadata
    table (if that table exists in the schema) and reload that configuration
    when instantiated.
    andy-slac committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    d99569c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e49e99 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    39eaff4 View commit details
    Browse the repository at this point in the history
  4. Fix code formatting

    andy-slac committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    d77e54a View commit details
    Browse the repository at this point in the history