grafana/pkg/services/ngalert/provisioning
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
..
alert_rules_test.go Alerting: Update provisioning to validate user-defined UID on create (#73793) 2023-09-08 15:09:35 -04:00
alert_rules.go Alerting: Add provenance field to /api/v1/provisioning/alert-rules (#76252) 2023-10-11 14:51:20 +01:00
compat.go Add compat function for notify.GrafanaIntegrationConfig to EmbeddedContactPoint (#75995) 2023-10-05 23:13:34 +03:00
config.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
contactpoints_test.go Alerting: Update provisioning to validate user-defined UID on create (#73793) 2023-09-08 15:09:35 -04:00
contactpoints.go Alerting: Remove vendored models in migration service (#74503) 2023-10-11 17:22:09 +01:00
errors.go Alerting: Add contact point provisioning file export (#71692) 2023-07-20 14:35:56 -04:00
mute_timings_test.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
mute_timings.go Alerting: decouple api models from domain\dto models: separate Provenance status + converters (#63594) 2023-02-27 17:57:15 -05:00
notification_policies_test.go Alerting: Add contact point provisioning file export (#71692) 2023-07-20 14:35:56 -04:00
notification_policies.go Chore: capitalise messages for alerting (#74335) 2023-09-04 18:46:34 +02:00
persist_mock.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
persist.go Alerting: Add UID of rules to response that were affected by update group request (#75985) 2023-10-07 01:11:24 +03:00
provenance.go Alerting: Allow provenance disable in alerting provisioning API (#63650) 2023-04-18 15:10:36 +02:00
provisioning_store_mock.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
quota_checker_mock.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
templates_test.go Chore: Remove result fields from ngalert (#65410) 2023-03-28 10:34:35 +02:00
templates.go Alerting: Fix provisioned templates being ignored by alertmanager (#69485) 2023-06-02 15:47:43 -04:00
testing.go Alerting: Add contact point provisioning file export (#71692) 2023-07-20 14:35:56 -04:00