monasca-notification/monasca_notification/plugins
Koji Nakazono 4cfcf0803f Fix slack notification
This patch fixes 2 issues in slack notification.
First, incoming webhook supports the JSON request, however Slack
API to post a message to chat doesn't support JSON request.
Change to use "data" for posting a message to chat.
Second, incoming webhook returns the response as text.
Change to check the content type of response before parsing it.

Change-Id: Ic81cc1d99496774a16f91569022d5e4fe0aff795
Story: 2001041
Task: 4597
2017-07-25 15:17:19 +09:00
..
__init__.py Add HipChat and Slack Notification types 2016-07-29 07:59:32 -07:00
abstract_notifier.py Add HipChat and Slack Notification types 2016-07-29 07:59:32 -07:00
email_notifier.py Make monasca-notification Py35 compatible 2017-07-18 13:31:41 +02:00
hipchat_notifier.py Make monasca-notification Py35 compatible 2017-07-18 13:31:41 +02:00
jira_notifier.py Make monasca-notification Py35 compatible 2017-07-18 13:31:41 +02:00
jiraformat.yml Add Jira Plugin 2016-09-23 11:06:56 -07:00
pagerduty_notifier.py Make monasca-notification Py35 compatible 2017-07-18 13:31:41 +02:00
slack_notifier.py Fix slack notification 2017-07-25 15:17:19 +09:00
webhook_notifier.py Make monasca-notification Py35 compatible 2017-07-18 13:31:41 +02:00