grafana/pkg/services
Matthew Jacobson 6a8649d544
Alerting: Remove vendored models in migration service (#74503)
This PR replaces the vendored models in the migration with their equivalent ngalert models. It also replaces the raw SQL selects and inserts with service calls.

It also fills in some gaps in the testing suite around:

    - Migration of alert rules: verifying that the actual data model (queries, conditions) are correct 9a7cfa9
    - Secure settings migration: verifying that secure fields remain encrypted for all available notifiers and certain fields migrate from plain text to encrypted secure settings correctly e7d3993

Replacing the checks for custom dashboard ACLs will be replaced in a separate targeted PR as it will be complex enough alone.
2023-10-11 17:22:09 +01:00
..
accesscontrol RBAC: Make fixed role UIDs deterministic (#76239) 2023-10-10 16:29:31 +02:00
alerting Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
annotations Identity: Port snapshots and annotations to Requester (#76103) 2023-10-06 11:59:48 +02:00
anonymous Anon: Use xorm for anon service (#75964) 2023-10-04 17:19:56 +02:00
apikey Auth: Move apikey service from userSignedIn to identity.Requester interface (#74323) 2023-09-07 16:54:38 +01:00
auth Signingkeys: Add local cache (#76234) 2023-10-10 14:17:16 +02:00
authn Authn: Prevent empty username and email during sync (#76330) 2023-10-11 14:27:43 +02:00
caching Fixing typos (#70487) 2023-06-22 09:43:38 +01:00
cleanup Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
contexthandler Chore: Clean up the context handler (#75864) 2023-10-04 17:56:51 +02:00
correlations Identity: Unfurl OrgID in pkg/services to allow using identity.Requester interface (#76113) 2023-10-09 10:40:19 +02:00
dashboardimport Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
dashboards Identity: Port folder library to identity.Requester (#76105) 2023-10-06 15:02:34 +02:00
dashboardsnapshots Identity: Port snapshots and annotations to Requester (#76103) 2023-10-06 11:59:48 +02:00
dashboardversion Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
datasourceproxy DatasourceProxy: Fix spelling (#75859) 2023-10-03 10:23:23 +02:00
datasources Chore: Rename testdata plugin with a fully qualified name (#75104) 2023-09-22 15:00:40 +03:00
encryption Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
extsvcauth Signingkeys: Add local cache (#76234) 2023-10-10 14:17:16 +02:00
featuremgmt Prometheus: Remove prometheusResourceBrowserCache feature toggle (#76172) 2023-10-11 15:18:56 +02:00
folder Identity: Port folder library to identity.Requester (#76105) 2023-10-06 15:02:34 +02:00
grafana-apiserver K8s: Add example api service (#75911) 2023-10-06 21:55:22 +03:00
grpcserver Chore: make GPRCServerService private (#74612) 2023-09-08 12:44:18 -07:00
guardian Replace signed in user for identity.requester (#74048) 2023-08-30 16:51:18 +02:00
hooks Hooks: Remove AddLoginHook and RunLogin hooks (#73227) 2023-08-17 09:51:45 +02:00
kmsproviders Secrets: Make the Migrator extensible (#67307) 2023-06-19 23:44:01 +02:00
ldap AuthN: Change EnableDisabledUserHook to EnableUserHook (#75248) 2023-09-27 11:16:53 +02:00
libraryelements Identity: Unfurl OrgID in pkg/services to allow using identity.Requester interface (#76113) 2023-10-09 10:40:19 +02:00
librarypanels Identity: Port folder library to identity.Requester (#76105) 2023-10-06 15:02:34 +02:00
licensing Chore: Clean up old navigation (#66287) 2023-04-14 09:43:11 +01:00
live Live: Allow setting the engine password (#76289) 2023-10-11 09:45:24 +01:00
login Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
loginattempt Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
navtree Navigation: Split admin into subsections behind navAdminSubsections feature toggle (#76280) 2023-10-11 14:37:36 +01:00
ngalert Alerting: Remove vendored models in migration service (#74503) 2023-10-11 17:22:09 +01:00
notifications Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
oauthtoken Auth: OAuth token sync improvements (#75943) 2023-10-05 11:19:43 +02:00
org User: Support sort query param for user and org user, search endpoints (#75229) 2023-09-28 10:16:18 +02:00
playlist Playlist: Add create+update timestamps to the database (#76295) 2023-10-10 12:46:12 -07:00
plugindashboards Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
pluginsintegration Plugins: Chore: Renamed instrumentation middleware to metrics middleware (#76186) 2023-10-11 12:42:32 +02:00
preference Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
provisioning Chore: Log failures during provisioning initialization (#75550) 2023-09-28 10:00:36 +03:00
publicdashboards PublicDashboards: Add validation deletion (#75336) 2023-10-11 11:59:13 +00:00
query Plugins: Set grafana config, plugin version and user agent on plugin requests (#75171) 2023-09-21 11:33:31 +02:00
queryhistory Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
quota Authn: Prevent empty username and email during sync (#76330) 2023-10-11 14:27:43 +02:00
rendering Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
screenshot Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
search User: Support sort query param for user and org user, search endpoints (#75229) 2023-09-28 10:16:18 +02:00
searchusers Team: Support sort query param for teams search endpoint (#75622) 2023-09-28 18:20:51 +03:00
searchV2 Identity: Unfurl OrgID in pkg/services to allow using identity.Requester interface (#76113) 2023-10-09 10:40:19 +02:00
secrets Auth: Signing Key persistence (#75487) 2023-10-04 10:37:27 +02:00
serviceaccounts Instrumentation: Set auth as owners for more routes (#75105) 2023-09-20 10:18:52 +02:00
shorturls Chore: Add errutils helpers (#73577) 2023-08-22 12:52:24 +02:00
signingkeys Siningkeys: Fix test setup (#76333) 2023-10-11 13:50:38 +02:00
sqlstore Alerting: Remove vendored models in migration service (#74503) 2023-10-11 17:22:09 +01:00
star Auth: Move star service to identity interface (#73114) 2023-08-10 17:17:27 +02:00
stats Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
store Identity: Unfurl OrgID in pkg/services to allow using identity.Requester interface (#76113) 2023-10-09 10:40:19 +02:00
supportbundles Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
tag Annotations: Ignore unique constraint violations for tags (#65935) 2023-04-18 14:21:38 +02:00
team Teams: Allow Services to register deletes (#76325) 2023-10-11 15:57:03 +02:00
temp_user Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
updatechecker Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
user Authn: Prevent empty username and email during sync (#76330) 2023-10-11 14:27:43 +02:00
validations chore: move validations model into the validations service (#61953) 2023-01-23 15:10:14 -05:00