[v11.0.x] samlsettings: api integration (#86109)

samlsettings: api integration (#84300)

* add strategy and tests

* use settings provider service and remove multiple providers strategy

* Move SAML strategy to ssosettings service

* Update codeowners file

* reload from settings provider

* add saml as configurable provider

* Add new SAML strategy

* rename old saml settings interface

* update saml string references

* use OSS license

* validate saml provider depends on license for List

* add tests for list rendering including saml

* change the licensing validation to service init

* replace service struct for provider

(cherry picked from commit fc205db466)

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2024-04-15 13:55:59 +01:00
committed by GitHub
co-authored by linoman
parent d1a40dea5b
commit 6d0e1bee70
8 changed files with 193 additions and 64 deletions
+2 -2
View File
@@ -85,11 +85,11 @@ type KeyValue interface {
// service that have support for configuration reloads.
type ReloadHandler interface {
// Reload handles reloading of configuration changes.
Reload(section Section) error
ReloadSection(section Section) error
// Validate validates the configuration, if the validation
// fails the configuration will not be updated neither reloaded.
Validate(section Section) error
ValidateSection(section Section) error
}
type SettingsBag map[string]map[string]string