Skip to content

Commit

Permalink
Merge pull request #115 from liketic/add-voice-sample
Browse files Browse the repository at this point in the history
Add voice notification for alert
  • Loading branch information
wjo1212 committed Jan 24, 2019
2 parents 213af70 + 8a716bb commit aef5dbe
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/integration_test/test_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,22 +88,29 @@
"notificationList": [
{
"type": "DingTalk",
"serviceUri": "http://xxxx",
"content": "Message",
"atMobiles": ['1867393xxxx'],
"serviceUri": "https://oapi.dingtalk.com/robot/send?access_token=xxxx",
"content": "Hi @1867393xxxx, your alert ${AlertDisplayName} is fired",
},
{
"type": "MessageCenter",
"content": "Message",
},
{
"type": "Email",
"subject": "Alerting",
"emailList": ["abc@test.com"],
"content": "Email Message",
},
{
"type": "SMS",
"mobileList": ["132373830xx"],
"content": "Cellphone message"
},
{
"type": "Voice",
"mobileList": ["132373830xx"],
"content": "Voice notification...",
}
],
"muteUntil": int(time.time()) + 300,
Expand Down

0 comments on commit aef5dbe

Please sign in to comment.