Alerting: Update alerting module + refactor (#111761)
* update alerting module * replace compat with ones from alerting * update type references Receiver and Integration to *Status * update route in provisioning test that is invalid after recent change * use right type for LINE ingtegration
This commit is contained in:
@@ -603,15 +603,15 @@ type AlertGroups = amv2.AlertGroups
|
||||
|
||||
type AlertGroup = amv2.AlertGroup
|
||||
|
||||
type Receiver = alertingmodels.Receiver
|
||||
type Receiver = alertingmodels.ReceiverStatus
|
||||
|
||||
// swagger:response receiversResponse
|
||||
type ReceiversResponse struct {
|
||||
// in:body
|
||||
Body []alertingmodels.Receiver
|
||||
Body []alertingmodels.ReceiverStatus
|
||||
}
|
||||
|
||||
type Integration = alertingmodels.Integration
|
||||
type Integration = alertingmodels.IntegrationStatus
|
||||
|
||||
// swagger:parameters RouteGetAMAlerts RouteGetAMAlertGroups RouteGetGrafanaAMAlerts RouteGetGrafanaAMAlertGroups
|
||||
type AlertsParams struct {
|
||||
|
||||
Reference in New Issue
Block a user