-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug: tfrender now properly associates escalation policy step to oncal…
…l schedule (#33)
- Loading branch information
1 parent
6567015
commit 69dbcd5
Showing
4 changed files
with
94 additions
and
15 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
36 changes: 36 additions & 0 deletions
36
pager/testdata/TestPagerDuty/LoadEscalationPolicies.golden.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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"escalation_policies": [ | ||
{ | ||
"id": "P6F7EI2", | ||
"name": "Endeavour", | ||
"description": "", | ||
"team_id": { | ||
"String": "", | ||
"Valid": false | ||
}, | ||
"repeat_limit": 0, | ||
"repeat_interval": { | ||
"String": "", | ||
"Valid": false | ||
}, | ||
"handoff_target_type": "", | ||
"handoff_target_id": "", | ||
"to_import": 0 | ||
} | ||
], | ||
"escalation_policy_step_targets": [ | ||
{ | ||
"escalation_policy_step_id": "PFN10S6", | ||
"target_type": "User", | ||
"target_id": "P4CMCAU" | ||
} | ||
], | ||
"escalation_policy_steps": [ | ||
{ | ||
"id": "PFN10S6", | ||
"escalation_policy_id": "P6F7EI2", | ||
"position": 0, | ||
"timeout": "PT1M" | ||
} | ||
] | ||
} |
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
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