Mercurial > prosody-modules
changeset 4625:f7e26c43a9bc
mod_pubsub_alertmanager: Add TODOs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 16 Jul 2021 17:35:28 +0200 |
parents | eba7e68120d8 |
children | 285efde5e8a5 |
files | mod_pubsub_alertmanager/mod_pubsub_alertmanager.lua |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_pubsub_alertmanager/mod_pubsub_alertmanager.lua Fri Jul 16 17:35:09 2021 +0200 +++ b/mod_pubsub_alertmanager/mod_pubsub_alertmanager.lua Fri Jul 16 17:35:28 2021 +0200 @@ -1,9 +1,12 @@ local st = require "util.stanza"; local json = require "util.json"; -local filters = {}; +local filters = { --[[ TODO what's useful? ]] }; local render = require "util.interpolation".new("%b{}", tostring, filters); local uuid_generate = require "util.uuid".generate; +-- TODO alertmanager supports inclusion of HTTP auth and OAuth, worth looking +-- into for using instead of request IP + module:depends("http"); local pubsub_service = module:depends("pubsub").service;