6 Commits

Author SHA1 Message Date
wangzihao
3b91b33784 Remove six
Remove all six usage.

Change-Id: Ib2f0f6cf3b7f5d9ec20440fb81b09c1c083c67b0
Story: 2008305
Task: 41295
2020-11-20 09:35:23 +00:00
Sean McGinnis
db7377f476 Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I380f25044c8f7b496d485aabf09215468f955818
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-23 10:29:22 +00:00
Tomasz Trębski
e1a9b9a96a Integrate with oslo.conf and oslo.log
Change upgrades the monasca-notification to leverage
the capabilities of both oslo.log and oslo.conf:

- configuration of logging separated from application settings
- ability to enforce data types for application settings
- ability to use oslo.config-generator capabilities
- automatic configuration parsing done by oslo.cfg

That change will bring it closer to the rest of monasca
components where such transition has happened already.
However, in the rest of monasca, oslo.cfg was partially
or fully implemented whereas monasca-notification has
been relying on YAML based configuration file.

Therefore backward compatybility for such format will
be kept for now.

Story: 2000959
Task: 4093
Task: 4092

Change-Id: Ia75c3b60d0fada854178f21ca5ccb9e6a880f37f
2017-10-20 09:32:11 +02:00
Haruki Yamanashi
68a6a8319b Send notification to Jira in custom description
This change makes possible to send notification to Jira
in custom description (e.g. AlarmID)

Change-Id: Ib7f9a438a27f29b17967c31922391d76f8f0092f
2017-07-26 14:24:21 +09:00
Haruki Yamanashi
0b82639af0 Fix typo and add configuration example for Jira
Change-Id: Ic304bfff6258126a439dee58b722c773bcfa8c57
2017-07-26 09:23:58 +09:00
Haruki Yamanashi
46a36adde0 Add unit test for Jira
Add unit test for Jira notifier which achieves 100% coverage.

Change-Id: Iae22a35a5bec5f173c3fae60df393d55b805e0fb
2017-07-19 16:58:24 +09:00