mirror of
https://github.com/grafana/grafana.git
synced 2025-09-21 15:32:52 +08:00
Use PluginSettingsService instead of SQLStore methods in plugins (#45480)
* Use PluginSettingsService instead of SQLStore in plugins * Fix pluginproxy use of pluginsettings methods * Fix additional pluginsettings methods * Remove dispatch from plugindashboards * Fix lint and adjust mock * Remove unused pluginsettings * Rename pluginsetting Service and ServiceImpl and add binding to wire * Move pluginsettings binding in wire file
This commit is contained in:
@ -22,7 +22,7 @@ import (
|
||||
|
||||
func ProvideService(bus bus.Bus, cacheService *localcache.CacheService, pluginStore plugins.Store,
|
||||
dataSourceCache datasources.CacheService, secretsService secrets.Service,
|
||||
pluginSettingsService *pluginsettings.Service) *Provider {
|
||||
pluginSettingsService *pluginsettings.ServiceImpl) *Provider {
|
||||
return &Provider{
|
||||
Bus: bus,
|
||||
CacheService: cacheService,
|
||||
@ -40,7 +40,7 @@ type Provider struct {
|
||||
pluginStore plugins.Store
|
||||
DataSourceCache datasources.CacheService
|
||||
SecretsService secrets.Service
|
||||
PluginSettingsService *pluginsettings.Service
|
||||
PluginSettingsService *pluginsettings.ServiceImpl
|
||||
logger log.Logger
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user