Feature #32286
Tracker #29939: Improve setting definition DSL and move setting registry to memory
Create a new setting definition DSL
Description
We should drop setting STI and introduce a new way of defining settings.
For plugins and for core alike.
I'd imagine it similar to permissions, just simplier hopefully.
Related issues
Associated revisions
Refs #32286 - setting DSL switch preparation
Removes some unused methods and tests.
This also add collections to the old collection registry to work before we hold them in registry only.
Refs #32286 - load definition even in migrations
Loads definitions on every start and makes sure the definitions are always loaded.
This makes it possible to work with settings in migrations.
Only values needs the database, so this is safe to do without any check.
History
#1
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/8437 added
#2
Updated by Ondřej Ezr about 1 year ago
- Blocks Refactor #32403: Add custom validations to new setting DSL added
#3
Updated by Ondřej Ezr about 1 year ago
- Blocks Refactor #32408: Use new DSL to define settings added
#4
Updated by The Foreman Bot 11 months ago
- Pull request https://github.com/theforeman/foreman/pull/8624 added
#5
Updated by The Foreman Bot 11 months ago
- Pull request https://github.com/theforeman/foreman/pull/8470 added
#6
Updated by The Foreman Bot 11 months ago
- Pull request https://github.com/theforeman/foreman/pull/8625 added
#7
Updated by The Foreman Bot 11 months ago
- Fixed in Releases 3.0.0 added
#8
Updated by Ondřej Ezr 11 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|074be4618215e0110b652f1cbc086e9d758e8a7e.
#9
Updated by Ondřej Ezr 8 months ago
- Pull request deleted (
https://github.com/theforeman/foreman/pull/8625, https://github.com/theforeman/foreman/pull/8470)
#10
Updated by Ondřej Ezr 7 months ago
- Related to Bug #33706: SettingRegistry fails on older categories if setting table is not ready added
#11
Updated by Ondřej Ezr 7 months ago
- Related to Bug #33740: Setting DSL does not use the explicit initial values added
Fixes #32286 - new settings definition DSL
Introduces a new DSL to define settings, so we don't need to define
STI classes for every setting category and we have more control over
settings from the plugins.