Revert "Alerting: Remove vendored models in migration service" (#76387)

Revert "Alerting: Remove vendored models in migration service (#74503)"

This reverts commit 6a8649d544.
This commit is contained in:
Alexander Weaver
2023-10-11 14:21:21 -05:00
committed by GitHub
parent 54050be9f6
commit f6649d7a97
49 changed files with 3647 additions and 4564 deletions

View File

@@ -23,7 +23,6 @@ import (
"github.com/grafana/grafana/pkg/services/login/authinfoservice"
"github.com/grafana/grafana/pkg/services/loginattempt/loginattemptimpl"
"github.com/grafana/grafana/pkg/services/ngalert"
"github.com/grafana/grafana/pkg/services/ngalert/migration"
"github.com/grafana/grafana/pkg/services/notifications"
plugindashboardsservice "github.com/grafana/grafana/pkg/services/plugindashboards/service"
"github.com/grafana/grafana/pkg/services/pluginsintegration/angulardetectorsprovider"
@@ -45,7 +44,7 @@ import (
)
func ProvideBackgroundServiceRegistry(
httpServer *api.HTTPServer, alertingMigrationService *migration.MigrationService, ng *ngalert.AlertNG, cleanup *cleanup.CleanUpService, live *live.GrafanaLive,
httpServer *api.HTTPServer, ng *ngalert.AlertNG, cleanup *cleanup.CleanUpService, live *live.GrafanaLive,
pushGateway *pushhttp.Gateway, notifications *notifications.NotificationService, pluginStore *pluginStore.Service,
rendering *rendering.RenderingService, tokenService auth.UserTokenBackgroundService, tracing *tracing.TracingService,
provisioning *provisioning.ProvisioningServiceImpl, alerting *alerting.AlertEngine, usageStats *uss.UsageStats,
@@ -67,7 +66,6 @@ func ProvideBackgroundServiceRegistry(
) *BackgroundServiceRegistry {
return NewBackgroundServiceRegistry(
httpServer,
alertingMigrationService,
ng,
cleanup,
live,