grafana/pkg/infra/serverlock
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
..
model.go Backend: Rename variables for style conformance (#29097) 2020-11-17 17:09:14 +01:00
serverlock_integration_test.go Add LockExecuteAndRelease method to ServerLockService (#53417) 2022-08-10 10:28:25 -03:00
serverlock_test.go Secrets: Implement migration of secrets from plugin back to unified secrets (#53561) 2022-08-24 16:24:50 -04:00
serverlock.go Secrets: Implement migration of secrets from plugin back to unified secrets (#53561) 2022-08-24 16:24:50 -04:00