Extend OpenFeature service (#106707)

This commit is contained in:
Tania
2025-06-13 17:30:53 +02:00
committed by GitHub
parent 18b0eec0a3
commit 1500fa5772
7 changed files with 265 additions and 102 deletions
+8
View File
@@ -476,6 +476,9 @@ type Cfg struct {
// Query history
QueryHistoryEnabled bool
// Open feature settings
OpenFeature OpenFeatureSettings
Storage StorageSettings
Search SearchSettings
@@ -1319,6 +1322,11 @@ func (cfg *Cfg) parseINIFile(iniFile *ini.File) error {
return err
}
if err := cfg.readOpenFeatureSettings(); err != nil {
cfg.Logger.Error("Failed to read open feature settings", "error", err)
return err
}
cfg.readDataSourcesSettings()
cfg.readDataSourceSecuritySettings()
cfg.readK8sDashboardCleanupSettings()