grafana/pkg/services
Selene d5b98772ed
Dashboards: Refactor service to make it injectable by wire (#44588)
* Add providers to folder and dashboard services

* Refactor folder and dashboard services

* Move store implementation to its own file due wire cannot allow us to cast to SQLStore

* Add store in some places and more missing dependencies

* Bad merge fix

* Remove old functions from tests and few fixes

* Fix provisioning

* Remove store from http server and some test fixes

* Test fixes

* Fix dashboard and folder tests

* Fix library tests

* Fix provisioning tests

* Fix plugins manager tests

* Fix alert and org users tests

* Refactor service package and more test fixes

* Fix dashboard_test tets

* Fix api tests

* Some lint fixes

* Fix lint

* More lint :/

* Move dashboard integration tests to dashboards service and fix dependencies

* Lint + tests

* More integration tests fixes

* Lint

* Lint again

* Fix tests again and again anda again

* Update searchstore_test

* Fix goimports

* More go imports

* More imports fixes

* Fix lint

* Move UnprovisionDashboard function into dashboard service and remove bus

* Use search service instead of bus

* Fix test

* Fix go imports

* Use nil in tests
2022-02-16 14:15:44 +01:00
..
accesscontrol Access control: adding FGAC to annotation GET endpoints and fixed roles (#45102) 2022-02-11 15:43:29 -03:00
alerting Alerting: Fix updating notification channels in legacy (#45302) 2022-02-11 16:13:51 +00:00
annotations Chore: Replace util.DynMap with structs (#36332) 2021-07-01 10:23:33 +02:00
auth Chore: Remove context.TODO() (#43409) 2021-12-22 11:02:42 +01:00
cleanup Chore: Remove bus.Dispatch from cleanup service (#45401) 2022-02-15 14:56:19 +01:00
contexthandler Chore: Remove bus from quota (#45143) 2022-02-10 12:42:06 +01:00
dashboardimport Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
dashboards Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
dashboardsnapshots Refactor: Change sqlstore.inTransaction to SQLStore.WithTransactional… (#43772) 2022-01-07 17:50:59 +01:00
datasourceproxy Datasource: Fixes storing of secureJSONData when creating/updating datasource (#45290) 2022-02-11 15:52:14 +01:00
datasources Datasource: Fixes storing of secureJSONData when creating/updating datasource (#45290) 2022-02-11 15:52:14 +01:00
encryption Replace encryption.Service usages by secrets.Service (#41625) 2021-11-12 12:16:39 +01:00
featuremgmt Search: add feature flag and basic service (#45112) 2022-02-15 10:26:03 -08:00
guardian Rename DispatchCtx to Dispatch (#43563) 2021-12-28 17:36:22 +01:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
kmsproviders FeatureToggls: remove IsFeatureToggleEnabled from SettingsProvider (#44574) 2022-02-01 10:24:59 -08:00
ldap LDAP: Use an interface instead of a bus to get group teams (#42165) 2022-02-01 12:03:21 +01:00
libraryelements Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
librarypanels Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
licensing switch to using featureEnabled for enterprise features (#41559) 2022-01-07 15:11:23 -05:00
live ldap debug bus removal (#45014) 2022-02-09 11:45:31 +01:00
login ldap debug bus removal (#45014) 2022-02-09 11:45:31 +01:00
multildap remove bus from login (#44995) 2022-02-09 17:17:09 +01:00
ngalert Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
notifications Chore: Remove bus from password (#44482) 2022-02-03 10:33:46 +01:00
oauthtoken Rename DispatchCtx to Dispatch (#43563) 2021-12-28 17:36:22 +01:00
plugindashboards Plugins: Refactor plugin dashboards (#44315) 2022-01-28 10:28:33 +01:00
pluginsettings Rename AddHandlerCtx to AddHandler (#43557) 2021-12-28 16:08:07 +01:00
provisioning Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
query Propagate all headers (#43812) 2022-01-07 12:45:26 -07:00
queryhistory Query history: Create API to patch comment of query in query history (#44981) 2022-02-15 15:43:17 +01:00
quota Update quota service to accept context (#45186) 2022-02-10 22:17:50 +01:00
rendering Dash previews: populate crawler queue from SQL query (#44083) 2022-02-09 13:23:32 +04:00
schemaloader FeatureFlags: define features outside settings.Cfg (take 3) (#44443) 2022-01-26 09:44:20 -08:00
search Chore: Remove bus from Alerting API (#44894) 2022-02-04 13:41:15 +01:00
searchusers Auth: implement auto_sign_up for auth.jwt (#43502) 2022-01-13 17:15:22 +01:00
searchV2 Search: add feature flag and basic service (#45112) 2022-02-15 10:26:03 -08:00
secrets Encryption: Add support for data keys re-encryption (#43548) 2022-02-03 09:15:38 +01:00
serviceaccounts AccessControl: Add endpoint to get user permissions (#45309) 2022-02-11 17:40:43 +01:00
shorturls Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
sqlstore Dashboards: Refactor service to make it injectable by wire (#44588) 2022-02-16 14:15:44 +01:00
teamguardian AccessControl: Implement SQL filters for team members filtering (#44898) 2022-02-09 17:46:37 +01:00
thumbs Previews: crawler as a background service (#44891) 2022-02-10 22:45:00 +04:00
updatechecker Plugins: Refactor Grafana and Plugin version update checkers (#44529) 2022-01-31 16:06:16 +01:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00