Chore: Replace core plugins as external warning (#81877)

This commit is contained in:
Andres Martinez Gotor
2024-02-07 15:17:13 +01:00
committed by GitHub
parent 114e9e90f3
commit 26bc87b60e
6 changed files with 101 additions and 42 deletions

View File

@@ -26,6 +26,7 @@ import (
plugindashboardsservice "github.com/grafana/grafana/pkg/services/plugindashboards/service"
"github.com/grafana/grafana/pkg/services/pluginsintegration/angulardetectorsprovider"
"github.com/grafana/grafana/pkg/services/pluginsintegration/keyretriever/dynamic"
"github.com/grafana/grafana/pkg/services/pluginsintegration/pluginexternal"
pluginStore "github.com/grafana/grafana/pkg/services/pluginsintegration/pluginstore"
"github.com/grafana/grafana/pkg/services/provisioning"
publicdashboardsmetric "github.com/grafana/grafana/pkg/services/publicdashboards/metric"
@@ -60,6 +61,7 @@ func ProvideBackgroundServiceRegistry(
grafanaAPIServer grafanaapiserver.Service,
anon *anonimpl.AnonDeviceService,
ssoSettings *ssosettingsimpl.Service,
pluginExternal *pluginexternal.Service,
// Need to make sure these are initialized, is there a better place to put them?
_ dashboardsnapshots.Service, _ *alerting.AlertNotificationService,
_ serviceaccounts.Service, _ *guardian.Provider,
@@ -101,6 +103,7 @@ func ProvideBackgroundServiceRegistry(
grafanaAPIServer,
anon,
ssoSettings,
pluginExternal,
)
}