AlertingNG: Unified alerting API mock (#32040)

* AlertingNG: Alertmanager mock API

* AlertingNG: Remove permissions API routes

* Add example POST payloads

* Prometheus and testing mock API
This commit is contained in:
Sofia Papagiannaki
2021-03-17 12:47:03 +02:00
committed by GitHub
parent ee8a864615
commit 68b05b8aaa
14 changed files with 1525 additions and 59 deletions
@@ -0,0 +1,23 @@
{
"id": "id",
"status": {
"state": "active"
},
"updatedAt": "2021-03-11T13:50:42.218+02:00",
"comment": "comment",
"createdBy": "created by",
"endsAt": "2021-03-11T15:50:42.218+02:00",
"matchers": [
{
"isRegex": false,
"name": "name",
"value": "value"
},
{
"isRegex": false,
"name": "name2",
"value": "value2"
}
],
"startsAt": "2021-03-11T14:50:42.218+02:00"
}