mirror of
https://github.com/alerta/alerta.git
synced 2025-01-24 17:29:39 +00:00
1538a97717
* Add alerts and action forwarder plugin for federated setups * Add tests for forwarder plugin
32 lines
930 B
Text
32 lines
930 B
Text
#DEBUG=True
|
|
LOG_LEVEL='INFO'
|
|
BASE_URL='http://mom1.local.alerta.io:9001'
|
|
DATABASE_URL='postgres:///mom1'
|
|
PLUGINS=['forwarder']
|
|
PLUGINS_RAISE_ON_ERROR=True
|
|
|
|
HMAC_AUTH_CREDENTIALS = [
|
|
{ # mom2
|
|
'key': '27c1fe05-d7aa-4982-9e16-3936bc7ea504',
|
|
'secret': 'ZGE1YWUwZWFiMmYxNDVjZTkwNWE4ZWY2ZWE4YmNkZTEK',
|
|
'algorithm': 'sha256'
|
|
},
|
|
{ # mlm1
|
|
'key': '5f2aa07e-59bb-477e-9cb7-55cfef2feb00',
|
|
'secret': 'MDczODYxM2YzZWI4NDMyNDg3MjU3ZDYyMjBkOTRkMTIK',
|
|
'algorithm': 'sha256'
|
|
},
|
|
{ # mlm2
|
|
'key': '07648181-3a9d-40fd-9d22-5f7457402adf',
|
|
'secret': 'YzdmZGUyYmVhOTAxY2U2MmVlM2Y1YWQwNmEyMjNiOTYK',
|
|
'algorithm': 'sha256'
|
|
},
|
|
]
|
|
|
|
FWD_DESTINATIONS = [
|
|
(
|
|
'http://mom2.local.alerta.io:9002',
|
|
{'key': 'c075b86b-293c-4539-b825-14ec0130f06d', 'secret': 'YzQ4OTVhNWE2ZTFmMGUzZmU1ODE2ZTE0N2M0OWZmZTAK'},
|
|
['alerts', 'actions']
|
|
),
|
|
]
|