Skip to content

Commit

Permalink
Merge pull request #118 from Javierif/patch-1
Browse files Browse the repository at this point in the history
Update webhooks.md
  • Loading branch information
unaizorrilla authored Mar 2, 2019
2 parents 997b98e + 89513b7 commit ddd6b68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/webhooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You must escape the json before setting the **Payload** property in the configur
"Name": "Teams",
"Uri": "https://outlook.office.com/webhook/...",
"Payload": "{\r\n \"@context\": \"http://schema.org/extensions\",\r\n \"@type\": \"MessageCard\",\r\n \"themeColor\": \"0072C6\",\r\n \"title\": \"[[LIVENESS]] has failed!\",\r\n \"text\": \"[[FAILURE]] Click **Learn More** to go to BeatPulseUI Portal\",\r\n \"potentialAction\": [\r\n {\r\n \"@type\": \"OpenUri\",\r\n \"name\": \"Lear More\",\r\n \"targets\": [\r\n { \"os\": \"default\", \"uri\": \"http://localhost:52665/beatpulse-ui\" }\r\n ]\r\n }\r\n ]\r\n}",
"RestoredPayload": "{\"text\":\"The HealthCheck [[LIVENESS]] is recovered. All is up and running\",\"channel\":\"#general\",\"link_names\": 1,\"username\":\"monkey-bot\",\"icon_emoji\":\":monkey_face"
"RestoredPayload": "{\"text\":\"The HealthCheck [[LIVENESS]] is recovered. All is up and running\",\"channel\":\"#general\",\"link_names\": 1,\"username\":\"monkey-bot\",\"icon_emoji\":\":monkey_face\" }"
}
],
"EvaluationTimeOnSeconds": 10
Expand Down Expand Up @@ -169,12 +169,12 @@ And the HealthChecksUI configuration:
"Name": "Slack",
"Uri": "https://hooks.slack.com/services/.../...",
"Payload": "{\"text\":\"The HealthCheck [[LIVENESS]] is failing with the error message [[FAILURE]]. <http://yourappstatus|Click here> to get more details.\",\"channel\":\"#general\",\"link_names\": 1,\"username\":\"monkey-bot\",\"icon_emoji\":\":monkey_face:\"}",
"RestoredPayload": "{\"text\":\"The HealthCheck [[LIVENESS]] is recovered. All is up and running\",\"channel\":\"#general\",\"link_names\": 1,\"username\":\"monkey-bot\",\"icon_emoji\":\":monkey_face"
"RestoredPayload": "{\"text\":\"The HealthCheck [[LIVENESS]] is recovered. All is up and running\",\"channel\":\"#general\",\"link_names\": 1,\"username\":\"monkey-bot\",\"icon_emoji\":\":monkey_face\" }"
}
],
"EvaluationTimeOnSeconds": 10
}
}
```

> Review [Slack Documentation](https://slack.com/) to get more information about creating incoming web hook integrations.
> Review [Slack Documentation](https://slack.com/) to get more information about creating incoming web hook integrations.

0 comments on commit ddd6b68

Please sign in to comment.