Provisioning: Move provisioning extras to OSS extensions (#108167)

* Move provisioning extensions to OSS

* Fix the wire stuff

* Move it to extras packages

* Add hack to assert test differently for enterprise
This commit is contained in:
Roberto Jiménez Sánchez
2025-07-16 13:24:24 +02:00
committed by GitHub
parent f657fc0236
commit b232ba5396
5 changed files with 41 additions and 20 deletions
@@ -0,0 +1,13 @@
package extras
import (
"github.com/grafana/grafana/pkg/registry/apis/provisioning"
"github.com/grafana/grafana/pkg/registry/apis/provisioning/webhooks"
)
// HACK: This is a hack so that wire can uniquely identify dependencies
func ProvideProvisioningOSSExtras(webhook webhooks.WebhookExtraBuilder) []provisioning.ExtraBuilder {
return []provisioning.ExtraBuilder{
webhook.ExtraBuilder,
}
}