Cloud Migrations: Create new service for cloud migrations (#80949)

* introduce feature toggle

* create base service structure

* fix sample metric

* register metrics

* add to codeowners

* separate api dtos from service models

* remove leading newline
This commit is contained in:
Michael Mandrus
2024-01-22 11:09:08 -05:00
committed by GitHub
parent 07aa173939
commit cf13cb9f70
18 changed files with 287 additions and 0 deletions

View File

@ -49,6 +49,7 @@ import (
"github.com/grafana/grafana/pkg/services/auth/jwt"
"github.com/grafana/grafana/pkg/services/authn/authnimpl"
"github.com/grafana/grafana/pkg/services/cleanup"
cloudmigrations "github.com/grafana/grafana/pkg/services/cloudmigrations/service"
"github.com/grafana/grafana/pkg/services/contexthandler"
"github.com/grafana/grafana/pkg/services/correlations"
"github.com/grafana/grafana/pkg/services/dashboardimport"
@ -382,6 +383,8 @@ var wireBasicSet = wire.NewSet(
wire.Bind(new(ssosettings.Service), new(*ssoSettingsImpl.SSOSettingsService)),
idimpl.ProvideService,
wire.Bind(new(auth.IDService), new(*idimpl.Service)),
cloudmigrations.ProvideService,
// Kubernetes API server
grafanaapiserver.WireSet,
apiregistry.WireSet,
)