monasca-notification/monasca_notification
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
..
common Fix insert notification type of ORM 2017-06-22 09:04:09 +09:00
plugins Fix slack notification 2017-07-25 15:17:19 +09:00
processors Fix insert notification type of ORM 2017-06-22 09:04:09 +09:00
types Replacing six.iteritems() with .items() 2017-04-04 16:24:44 +05:30
__init__.py Rename to monasca, setup for tox, removed legacy bits 2014-07-16 15:59:00 -06:00
main.py Use absolute paths for imports 2017-07-18 11:11:53 +00:00
notification.py Make monasca-notification Py35 compatible 2017-07-18 13:31:41 +02:00
notification_engine.py Use absolute paths for imports 2017-07-18 11:11:53 +00:00
notification_exceptions.py Update copyright in monasca-nofitication 2016-06-09 14:36:42 -06:00
periodic_engine.py Use absolute paths for imports 2017-07-18 11:11:53 +00:00
retry_engine.py Use absolute paths for imports 2017-07-18 11:11:53 +00:00