alerta-contrib/plugins/msteams/setup.py
Jarno Huuskonen e3e3faec73 Msteams MS_TEAMS_PAYLOAD (#288)
* msteams: Set pymsteams http_timeout to MS_TEAMS_DEFAULT_TIMEOUT(7s) instead of
default 60s.

* msteams: refactor Jinja2 template loading to _load_template function.

* msteams: Add 'security' color to MS_TEAMS_DEFAULT_COLORS_MAP

* msteams: MS_TEAMS_PAYLOAD: use custom json payload for msteams messagecard
and use requests.post to send json payload to msteams. If MS_TEAMS_PAYLOAD
is not set continue to use pymsteams for creating/sending connectorcard.

* msteams: Add example for MS_TEAMS_PAYLOAD.
2019-08-01 09:23:32 +02:00

27 lines
622 B
Python

from setuptools import setup, find_packages
version = '5.2.0'
setup(
name="alerta-msteams",
version=version,
description='Alerta plugin for Microsoft Teams',
url='https://github.com/alerta/alerta-contrib',
license='MIT',
author='Anton Delitsch',
author_email='anton@trugen.net',
packages=find_packages(),
py_modules=['alerta_msteams'],
install_requires=[
'pymsteams',
'jinja2'
],
include_package_data=True,
zip_safe=True,
entry_points={
'alerta.plugins': [
'msteams = alerta_msteams:SendConnectorCardMessage'
]
}
)