Hi all,
the long ongoing effort proposed by Setting in memory, only changed values in database and tracked in https://projects.theforeman.org/issues/29939 to improve our setting framework is at its final stage. As of Foreman 3.3 all setting subclassing is deprecated, please update your plugins to use DSL. In the future support for Setting subclassing will be completely dropped.
If you see following deprecation, you know you’re on the hook to update your plugin settings.
DEPRECATION WARNING: You are using a deprecated behavior, it will be removed in version 3.4, subclassing Setting is deprecated '<your setting subclass>' should be migrated to setting DSL see https://github.com/theforeman/foreman/blob/develop/developer_docs/how_to_create_a_plugin.asciidoc#settings for details
There is plenty of examples, but the latest can be found here:
- Bootdisk theforeman/foreman_bootdisk#117
- Discovery theforeman/foreman_discovery#564
If you’d struggle contact me or respond here