This commit is contained in:
Luis Fernando Molina committed 2020-12-01 13:13:37 +01:00
1 parent 8ecb9152bf
commit 7a3e7948e6
7 files changed
+8 -8

No files matched your search

@@ -1,4 +1,4 @@
exports.newCommons = function newCommons(logger, UTILITIES) {
exports.newCommons = function newCommons(UTILITIES) {
let thisObject = {
@@ -1,4 +1,4 @@
exports.newCommons = function newCommons(logger, UTILITIES) {
exports.newCommons = function newCommons(UTILITIES) {
let thisObject = {
+1 -1
View File
@@ -1,4 +1,4 @@
exports.newCommons = function newCommons(logger, UTILITIES, FILE_STORAGE) {
exports.newCommons = function newCommons(UTILITIES, FILE_STORAGE) {
const MODULE_NAME = "Commons";
+1 -1
View File
@@ -91,7 +91,7 @@ exports.newDataSet = function (processIndex) {
/* We found where the data is located on the network. */
TS.projects.superalgos.globals.loggerVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).BOT_MAIN_LOOP_LOGGER_MODULE.write(MODULE_NAME, "[INFO] initialize -> Retrieving data from " + networkNode.name + " -> host = " + networkNode.config.host + ' -> port = ' + networkNode.config.webPort + '.')
fileStorage = FILE_STORAGE.newFileStorage(logger, networkNode.config.host, networkNode.config.webPort);
fileStorage = FILE_STORAGE.newFileStorage(networkNode.config.host, networkNode.config.webPort);
callBackFunction(TS.projects.superalgos.globals.standardResponses.DEFAULT_OK_RESPONSE, true);
} catch (err) {
+1 -1
View File
@@ -11,7 +11,7 @@
let fileStorage = FILE_STORAGE.newFileStorage(logger);
const COMMONS = require('./Commons.js');
let commons = COMMONS.newCommons(logger, UTILITIES, FILE_STORAGE);
let commons = COMMONS.newCommons(UTILITIES, FILE_STORAGE);
return thisObject;
@@ -550,7 +550,7 @@
function buildCharts(chart) {
const COMMONS = require('../Commons.js')
let commons = COMMONS.newCommons(logger, UTILITIES, FILE_STORAGE)
let commons = COMMONS.newCommons(UTILITIES, FILE_STORAGE)
let mainDependency = {}
+2 -2
View File
@@ -153,7 +153,7 @@
thisObject.networkNode = networkNode
TS.projects.superalgos.globals.loggerVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).BOT_MAIN_LOOP_LOGGER_MODULE.write(MODULE_NAME, "[INFO] initialize -> Retrieving status report from " + networkNode.name + " -> host = " + networkNode.config.host + ' -> port = ' + networkNode.config.webPort + '.')
fileStorage = FILE_STORAGE.newFileStorage(logger, networkNode.config.host, networkNode.config.webPort)
fileStorage = FILE_STORAGE.newFileStorage(networkNode.config.host, networkNode.config.webPort)
callBackFunction(TS.projects.superalgos.globals.standardResponses.DEFAULT_OK_RESPONSE)
return true
}
@@ -204,7 +204,7 @@
thisObject.networkNode = networkNode
TS.projects.superalgos.globals.loggerVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).BOT_MAIN_LOOP_LOGGER_MODULE.write(MODULE_NAME, "[INFO] initialize -> Retrieving status report from " + networkNode.name + " -> host = " + networkNode.config.host + ' -> port = ' + networkNode.config.webPort + '.')
fileStorage = FILE_STORAGE.newFileStorage(logger, networkNode.config.host, networkNode.config.webPort)
fileStorage = FILE_STORAGE.newFileStorage(networkNode.config.host, networkNode.config.webPort)
callBackFunction(TS.projects.superalgos.globals.standardResponses.DEFAULT_OK_RESPONSE)
return true
}