webhooks without plotters working

This commit is contained in:
Luis Fernando Molina committed 2020-04-18 08:04:20 +02:00
1 parent baa1a2cfb1
commit 986f1cc7a1
13 files changed
+333 -262

No files matched your search

+3 -12
View File
@@ -8,12 +8,10 @@
let thisObject = {
nodeArray: undefined,
dataSets: new Map(),
initialize: initialize,
keys: []
dataSetsModulesArray: [],
initialize: initialize
};
return thisObject;
function initialize(callBackFunction) {
@@ -77,14 +75,7 @@
addCount++;
let key;
key = thisObject.nodeArray[i].dataMine + "-" + thisObject.nodeArray[i].bot + "-" + thisObject.nodeArray[i].product + "-" + thisObject.nodeArray[i].dataSet + "-" + thisObject.nodeArray[i].dataSetVersion;
thisObject.keys.push(key);
thisObject.dataSets.set(key, dataSetModule);
if (FULL_LOG === true) { logger.write(MODULE_NAME, "[INFO] initialize -> addDataSet -> DataSet added to Map. -> key = " + key); }
thisObject.dataSetsModulesArray.push(dataSetModule);
if (addCount === thisObject.nodeArray.length) {
if (alreadyCalledBack === false) {