added option to update multiple service states at once
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

minor frontend improvements
This commit is contained in:
Samuel Philipp 2020-07-16 22:08:02 +02:00
parent b6b0084641
commit 6799b64f2a
6 changed files with 48 additions and 46 deletions

View file

@ -2,25 +2,23 @@
"authToken": "test",
"title": "sp-status",
"description": "Services hosted by sp-codes",
"servicesPath": "$.alerts.*",
"idPath": "$.labels.status_service",
"statePath": "$.status",
"stateValues": {
"operational": ["OK"],
"maintenance": ["PAUSED"]
"operational": ["ok", "resolved"],
"maintenance": ["paused"]
},
"groups": [
{
"id": "test",
"name": "Test",
"url": "http://sp-codes.de",
"services": [
{
"id": "test",
"name": "test",
"url": "http://sp-codes.de",
"statePath": "$.state",
"stateValues": {
"operational": ["ok"],
"maintenance": ["paused"]
}
"statePath": "$.state"
}
]
}