Alerting: Update Time Interval service to support renaming of resources (#91856)

* add RenameTimeIntervalInNotificationSettings to storage
* update dependencies when the time interval is renamed
---------

Co-authored-by: William Wernert <william.wernert@grafana.com>
This commit is contained in:
Yuri Tseretyan
2024-08-16 13:55:03 -04:00
committed by GitHub
parent 3c5d799c8c
commit 135f6571a9
15 changed files with 672 additions and 80 deletions
@@ -14,7 +14,7 @@
]
],
"mute_time_intervals": [
"test-interval"
"test-interval", "persisted-interval"
]
}
]
@@ -28,6 +28,15 @@
"end_time": "23:59"
}
]
},
{
"name": "persisted-interval",
"time_intervals": [
{
"start_time": "06:00",
"end_time": "23:59"
}
]
}
],
"receivers": [