grafana/pkg/services/ngalert/notifier
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
..
channels_config Alerting: Remove vendored models in migration service (#74503) 2023-10-11 17:22:09 +01:00
fake Alerting: Manage remote Alertmanager silences (#75452) 2023-10-02 07:36:11 -03:00
alertmanager_config.go Chore: capitalise messages for alerting (#74335) 2023-09-04 18:46:34 +02:00
alertmanager_test.go Alerting: Remove vendored models in migration service (#74503) 2023-10-11 17:22:09 +01:00
alertmanager.go Alerting: Use interfaces for the Alertmanager (#73900) 2023-09-06 07:59:29 -03:00
alerts.go Alerting: Use interfaces for the Alertmanager (#73900) 2023-09-06 07:59:29 -03:00
compat_test.go Alerting: Update alerting module to 20230418161049-5f374e58cb32 + refactoring (#66622) 2023-04-25 13:39:46 -04:00
compat.go Alerting: Update alerting module to 20230418161049-5f374e58cb32 + refactoring (#66622) 2023-04-25 13:39:46 -04:00
config_test.go Alerting: Fix provisioned templates being ignored by alertmanager (#69485) 2023-06-02 15:47:43 -04:00
config.go Alerting: Fix provisioned templates being ignored by alertmanager (#69485) 2023-06-02 15:47:43 -04:00
crypto.go Alerting: Fix contact point testing with secure settings (#72235) 2023-07-25 10:04:27 -04:00
email_test.go Alerting: Bump grafana/alerting and refactor the ImageStore/Provider to provide image URL/bytes (#70182) 2023-06-21 20:53:30 -03:00
external_alertmanager_test.go Alerting: Manage remote Alertmanager silences (#75452) 2023-10-02 07:36:11 -03:00
external_alertmanager.go Alerting: Manage remote Alertmanager silences (#75452) 2023-10-02 07:36:11 -03:00
file_store_test.go Alerting: Remove vendored models in migration service (#74503) 2023-10-11 17:22:09 +01:00
file_store.go Alerting: Improve log messages (#67688) 2023-05-25 18:55:01 +03:00
images_test.go Alerting: Bump grafana/alerting and refactor the ImageStore/Provider to provide image URL/bytes (#70182) 2023-06-21 20:53:30 -03:00
images.go Alerting: Bump grafana/alerting and refactor the ImageStore/Provider to provide image URL/bytes (#70182) 2023-06-21 20:53:30 -03:00
log.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
multiorg_alertmanager_test.go Alerting: Remove vendored models in migration service (#74503) 2023-10-11 17:22:09 +01:00
multiorg_alertmanager.go Alerting: Manage remote Alertmanager silences (#75452) 2023-10-02 07:36:11 -03:00
receivers_test.go Alerting: Update alerting module to 20230418161049-5f374e58cb32 + refactoring (#66622) 2023-04-25 13:39:46 -04:00
receivers.go Alerting: Use interfaces for the Alertmanager (#73900) 2023-09-06 07:59:29 -03:00
redis_channel_test.go Alerting: Add support for running HA using Redis (#65267) 2023-04-19 17:05:26 +02:00
redis_channel.go Chore: capitalise messages for alerting (#74335) 2023-09-04 18:46:34 +02:00
redis_peer.go Alerting: Do not exit if Redis ping fails when using redis-based Alertmanager clustering (#74144) 2023-09-05 10:43:13 -05:00
sender.go Alerting: Update alerting module to 20230418161049-5f374e58cb32 + refactoring (#66622) 2023-04-25 13:39:46 -04:00
silences.go Alerting: Manage remote Alertmanager silences (#75452) 2023-10-02 07:36:11 -03:00
status.go Alerting: Use interfaces for the Alertmanager (#73900) 2023-09-06 07:59:29 -03:00
templates_test.go Alerting: Template Testing API (#67450) 2023-04-28 15:56:59 +01:00
templates.go Alerting: Use interfaces for the Alertmanager (#73900) 2023-09-06 07:59:29 -03:00
testing.go Alerting: Remove vendored models in migration service (#74503) 2023-10-11 17:22:09 +01:00