Skip to content

Add a config DB table #157

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

Open
knoxsp opened this issue Jun 1, 2022 · 2 comments · May be fixed by #251
Open

Add a config DB table #157

knoxsp opened this issue Jun 1, 2022 · 2 comments · May be fixed by #251
Assignees

Comments

@knoxsp
Copy link
Contributor

knoxsp commented Jun 1, 2022

It is becoming increasingly desirable to have config data stored in the database instead of hydra.ini. This is because changing config now requires restarting the services, while a config DB table would see updates immediately.

@pmslavin pmslavin self-assigned this Nov 8, 2024
@pmslavin
Copy link
Contributor

pmslavin commented Nov 8, 2024

This is also a prerequisite for the concept of a hydra-admin frontend which allows dynamic config changes.

There are a few features this should provide:

  1. Authentication and authorisation: only permitted users can make changes. Some sets of config options may be configurable by only certain sets of users.
  2. Validation: It must not be possible to specify a config value which results in abnormal operation, or to omit any config values required for normal operation.
  3. Config sets: It should be possible to create named and versioned complete sets of configuration options which can be immediately switched between. These should be cryptograpically verified to ensure that only authentic and integral config sets can be loaded.
  4. Extensibility: Future developments may require the introduction of new config options and the retirement of existing options. These changes should be performed programatically and without requiring alterations to the implementation of the config system. This can be supported by allowing the config api to define, modify, and delete config options in a structured way.

@pmslavin
Copy link
Contributor

See also corresponding hydra-client changes in hydraplatform/hydra-client-python#19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants