-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72bcc1a
commit ab6e70f
Showing
2 changed files
with
44 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 32 additions & 34 deletions
66
tests/fixtures/service_level_objectives/get_by_id_response.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,36 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"id": "12345678901234567890123456789012", | ||
"name": "Test SLO", | ||
"tags": ["product:foo"], | ||
"monitor_tags": ["service:bar", "team:a"], | ||
"type": "monitor", | ||
"type_id": 0, | ||
"description": "test slo description", | ||
"monitor_ids": [1], | ||
"thresholds": [ | ||
{ | ||
"timeframe": "7d", | ||
"slo": 99.0, | ||
"slo_display": "99.0", | ||
"warning": 99.5, | ||
"warning_display": "99.5" | ||
}, | ||
{ | ||
"timeframe": "30d", | ||
"slo": 98, | ||
"slo_display": "98.0", | ||
"warning": 99, | ||
"warning_display": "99.0" | ||
} | ||
], | ||
"creator": { | ||
"handle": "jane.doe@example.com", | ||
"email": "jane.doe@example.com", | ||
"name": "Jane Doe" | ||
"data": { | ||
"id": "12345678901234567890123456789012", | ||
"name": "Test SLO", | ||
"tags": ["product:foo"], | ||
"monitor_tags": ["service:bar", "team:a"], | ||
"type": "monitor", | ||
"type_id": 0, | ||
"description": "test slo description", | ||
"monitor_ids": [1], | ||
"thresholds": [ | ||
{ | ||
"timeframe": "7d", | ||
"slo": 99.0, | ||
"slo_display": "99.0", | ||
"warning": 99.5, | ||
"warning_display": "99.5" | ||
}, | ||
"created_at": 1563283800, | ||
"modified_at": 1563283800 | ||
} | ||
], | ||
{ | ||
"timeframe": "30d", | ||
"slo": 98, | ||
"slo_display": "98.0", | ||
"warning": 99, | ||
"warning_display": "99.0" | ||
} | ||
], | ||
"creator": { | ||
"handle": "jane.doe@example.com", | ||
"email": "jane.doe@example.com", | ||
"name": "Jane Doe" | ||
}, | ||
"created_at": 1563283800, | ||
"modified_at": 1563283800 | ||
}, | ||
"error": null | ||
} |