1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

added support for external config manager and for user groups definition file (#489)

* refactoring to support external configuration module

* allow for external connectors

* refactored retrieval of roa flat data structure now delegated to rpk-validator lib

* introduced support for external user group config file

* increased test coverage

* external group file documentation

* improve documentation on generatePrefixListEveryDays (#482)

* add comments on test connectors (#497)
This commit is contained in:
Massimo Candela
2021-03-02 04:42:14 +01:00
committed by GitHub
parent ae5b69b1ef
commit c44f5a9209
27 changed files with 550 additions and 233 deletions

View File

@@ -187,5 +187,9 @@ switch(params._[0]) {
global.DRY_RUN = !!params.t;
if (global.DRY_RUN) console.log("Testing BGPalerter configuration. WARNING: remove -t option for production monitoring.");
const Worker = require("./src/worker").default;
module.exports = new Worker(params.c, params.d);
module.exports = new Worker({
configFile: params.c,
volume: params.d,
groupFile: params.E
});
}