grafana/pkg/server
Michael Mandrus 277ea836b6
Secrets: Implement migration of secrets from plugin back to unified secrets (#53561)
* initial cut at migration from plugin

* create new migration from plugin

* only migrate to or from, not both

* remove cfg check from plugin migration itself

* update comments, clean up secret after migration

* add better error handling

* hook up REST API with migrations

* Minor fixes

* fix wire injection issue

* modify migrator to access plugin calls directly. create unit tests

* change pre-migration checks in admin api

* stop plugin after migrating from it

* fix compile issues after merge

* add comment about migration

* fix linting issue

* bleh, fix unit test

* fix another unit test

* update plugin error fatal flag after a migration from the plugin

* add extra logging to migration

* make linter happy

Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com>
2022-08-24 16:24:50 -04:00
..
backgroundsvcs Auth: Add prometheus metrics for case insensitive ids (#52162) 2022-07-21 18:11:35 +01:00
usagestatssvcs RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
server_test.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00
server.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
test_env.go Chore: Remove bus from ngalert (#44465) 2022-01-26 16:42:40 +01:00
wire.go Secrets: Implement migration of secrets from plugin back to unified secrets (#53561) 2022-08-24 16:24:50 -04:00
wireexts_oss.go RBAC: Split up service into several components (#54002) 2022-08-24 13:29:17 +02:00