grafana/pkg/services/ngalert
Sofia Papagiannaki b1debc9c46
AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380)
* Enforce unique alert definition title/uid per org

* Remove print statement from test

* Do not allow empty alert definition titles

* update error message on dup title

* also add title error to update

* CamelCase json properties

* Add test for title unique enforcement in updates

Co-authored-by: kyle <kyle@grafana.com>
2021-01-19 19:11:11 +02:00
..
eval AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380) 2021-01-19 19:11:11 +02:00
alert_definition.go AlertingNG: Create a scheduler to evaluate alert definitions (#29305) 2020-12-17 16:00:09 +02:00
api.go AlertingNG: Save alert instances (#30223) 2021-01-18 20:57:17 +02:00
common_test.go Alerting NG: update API to expect UIDs instead of IDs (#29896) 2021-01-07 17:45:42 +02:00
database_mig.go AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380) 2021-01-19 19:11:11 +02:00
database_test.go AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380) 2021-01-19 19:11:11 +02:00
database.go AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380) 2021-01-19 19:11:11 +02:00
fetcher.go AlertingNG: Create a scheduler to evaluate alert definitions (#29305) 2020-12-17 16:00:09 +02:00
instance_api.go AlertingNG: Save alert instances (#30223) 2021-01-18 20:57:17 +02:00
instance_database_test.go AlertingNG: Save alert instances (#30223) 2021-01-18 20:57:17 +02:00
instance_database.go AlertingNG: Save alert instances (#30223) 2021-01-18 20:57:17 +02:00
instance_labels.go AlertingNG: Save alert instances (#30223) 2021-01-18 20:57:17 +02:00
instance.go AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380) 2021-01-19 19:11:11 +02:00
middleware.go Alerting NG: update API to expect UIDs instead of IDs (#29896) 2021-01-07 17:45:42 +02:00
models.go AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380) 2021-01-19 19:11:11 +02:00
ngalert.go AlertingNG: Save alert instances (#30223) 2021-01-18 20:57:17 +02:00
schedule_test.go AlertingNG: Save alert instances (#30223) 2021-01-18 20:57:17 +02:00
schedule.go AlertingNG: Save alert instances (#30223) 2021-01-18 20:57:17 +02:00
validator.go AlertingNG: Enforce unique alert definition title (non empty)/UID per organisation (#30380) 2021-01-19 19:11:11 +02:00