grafana/pkg/services
Joan López de la Franca Beltran 6cfb640a0b
Chore: Refactor securedata to remove global encryption calls from dashboard snapshots (#38714)
* Add encryption service

* Add tests for encryption service

* Inject encryption service into http server

* Replace encryption global function usage in login tests

* Migrate to Wire

* Move Encryption bindings to OSS Wire set

* Chore: Refactor securedata to remove global encryption calls from dashboard snapshots

* Fix dashboard snapshot tests

* Remove no longer user test

* Add dashboard snapshots service tests

* Refactor service initialization

* Set up dashboard snapshots service as a background service

Co-authored-by: Tania B <yalyna.ts@gmail.com>
Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2021-09-01 13:05:15 +02:00
..
accesscontrol Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
alerting old-alert: set interval and max-data-points (#38434) 2021-08-31 14:49:30 +02:00
annotations Chore: Replace util.DynMap with structs (#36332) 2021-07-01 10:23:33 +02:00
auth Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
cleanup Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
contexthandler Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
dashboards Folder API: optionally force deleting Grafana 8 alerts when deleting a folder (or error) (#36427) 2021-07-22 12:27:13 +03:00
dashboardsnapshots Chore: Refactor securedata to remove global encryption calls from dashboard snapshots (#38714) 2021-09-01 13:05:15 +02:00
datasourceproxy Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
datasources Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
encryption Encryption: Extract encryption into service (#38442) 2021-08-30 19:39:55 +02:00
guardian Permissions: Fix inherited folder permissions can prevent new permissions being added to a dashboard (#33329) 2021-04-28 14:42:18 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
ldap IPv6: Support host address configured with enclosing square brackets (#31226) 2021-02-15 17:55:41 +01:00
libraryelements Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
librarypanels Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
licensing Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
live Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
login Chore: Remove global encryption calls from authinfoservice (#38591) 2021-08-31 14:00:13 +02:00
multildap Chore: Enable errorlint linter (#29227) 2020-11-19 14:47:17 +01:00
ngalert Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
notifications Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
oauthtoken Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
provisioning Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
quota Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
rendering ImageRendering: fix leakage of the rendering inflight counter (#34607) 2021-08-28 09:05:03 +02:00
schemaloader Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
search Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
shorturls Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
sqlstore Chore: Refactor securedata to remove global encryption calls from dashboard snapshots (#38714) 2021-09-01 13:05:15 +02:00
teamguardian chore: avoid aliasing imports in services (#22499) 2020-02-29 13:35:15 +01:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00