grafana/pkg/services/provisioning
Matthew Jacobson c006df375a
Alerting: Create endpoints for exporting in provisioning file format (#58623)
This adds provisioning endpoints for downloading alert rules and alert rule groups in a 
format that is compatible with file provisioning. Each endpoint supports both json and 
yaml response types via Accept header as well as a query parameter 
download=true/false that will set Content-Disposition to recommend initiating a download 
or inline display.

This also makes some package changes to keep structs with potential to drift closer 
together. Eventually, other alerting file structs should also move into this new file 
package, but the rest require some refactoring that is out of scope for this PR.
2023-01-27 11:39:16 -05:00
..
alerting Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00
dashboards Chore: Remove Result from dashboard models (#61997) 2023-01-25 10:36:26 +01:00
datasources Chore: Replace yaml.v2 with yaml.v3 (#59897) 2022-12-06 21:17:17 +01:00
notifiers chore: move alert-related models (#61716) 2023-01-23 08:19:25 -05:00
plugins chore: move plugins models into pluginsettings svc (#61944) 2023-01-23 13:56:20 -05:00
utils Chore: Remove Result from dashboard models (#61997) 2023-01-25 10:36:26 +01:00
values Perfomance: Preallocate slices (#61580) 2023-01-17 11:50:17 +00:00
provisioning_mock.go Alerting: Add file provisioning for contact points (#51924) 2022-08-01 18:17:42 +02:00
provisioning_test.go Use org service instead of sqlstore (#56407) 2022-10-13 08:40:46 -04:00
provisioning.go Alerting: Create endpoints for exporting in provisioning file format (#58623) 2023-01-27 11:39:16 -05:00