feat: add unified data migrations for dashboard and folders (#113853)

This commit is contained in:
Mustafa Sencer Özcan
2025-11-19 09:09:08 +01:00
committed by GitHub
parent 92bee5e510
commit 0d4ad01b65
8 changed files with 385 additions and 17 deletions
@@ -48,6 +48,7 @@ import (
"github.com/grafana/grafana/pkg/services/supportbundles/supportbundlesimpl"
"github.com/grafana/grafana/pkg/services/team/teamapi"
"github.com/grafana/grafana/pkg/services/updatemanager"
unifiedmigrations "github.com/grafana/grafana/pkg/storage/unified/migrations"
)
func ProvideBackgroundServiceRegistry(
@@ -73,6 +74,7 @@ func ProvideBackgroundServiceRegistry(
dashboardServiceImpl *service.DashboardServiceImpl,
secretsGarbageCollectionWorker *secretsgarbagecollectionworker.Worker,
fixedRolesLoader *accesscontrol.FixedRolesLoader,
unifiedStorageMigrationProvider unifiedmigrations.UnifiedStorageMigrationProvider,
// Need to make sure these are initialized, is there a better place to put them?
_ dashboardsnapshots.Service,
_ serviceaccounts.Service,
@@ -89,6 +91,7 @@ func ProvideBackgroundServiceRegistry(
notifications,
rendering,
tokenService,
unifiedStorageMigrationProvider,
provisioning,
grafanaUpdateChecker,
pluginsUpdateChecker,