Enable new recipient based notification for the email endpoint (temporarily disabled)

This commit is contained in:
Alfredo Cardigliano 2020-07-27 13:19:28 +02:00
parent 1f7d1377bb
commit 6db82d9d3f
5 changed files with 141 additions and 35 deletions

View file

@ -23,6 +23,7 @@ local alert_endpoints = require "alert_endpoints_utils"
local flow_consts = require "flow_consts"
local icmp_utils = require "icmp_utils"
local user_scripts = require "user_scripts"
local notification_recipients = require("notification_recipients")
local shaper_utils = nil
@ -2343,14 +2344,12 @@ function alert_utils.processAlertNotifications(now, periodic_frequency, force_ex
end
alert_endpoints.dispatchNotification(message, json_message)
-- TODO replace alert_endpoints.dispatchNotification with the below
-- notification_recipients.dispatchNotification(message, json_message)
::continue::
end
alert_endpoints.processNotifications(now, periodic_frequency)
-- TODO replace alert_endpoints.processNotifications with the below
-- notification_recipients.processNotifications(now, periodic_frequency)
end