Network Node Running Again

This commit is contained in:
Luis Fernando Molina committed 2021-11-24 19:41:10 +01:00
1 parent 8557b7b02e
commit 541a269f80
28 files changed
+220 -130

No files matched your search

+2 -2
View File
@@ -76,7 +76,7 @@ exports.newTaskServer = function newTaskServer() {
for (let j = 0; j < project.schema.length; j++) {
let schemaDocument = project.schema[j]
let key = project.name + '-' + schemaDocument.type
TS.projects.foundations.globals.taskConstants.APP_SCHEMA_MAP.set(key, schemaDocument)
SA.projects.foundations.globals.schemas.APP_SCHEMA_MAP.set(key, schemaDocument)
}
}
}
@@ -88,7 +88,7 @@ exports.newTaskServer = function newTaskServer() {
setupTaskHeartbeats()
function initializeProjectDefinitionNode() {
TS.projects.foundations.globals.taskConstants.PROJECT_DEFINITION_NODE = TS.projects.visualScripting.utilities.nodeFunctions.findNodeInNodeMesh(TS.projects.foundations.globals.taskConstants.TASK_NODE, 'Project Definition')
TS.projects.foundations.globals.taskConstants.PROJECT_DEFINITION_NODE = SA.projects.visualScripting.utilities.nodeFunctions.findNodeInNodeMesh(TS.projects.foundations.globals.taskConstants.TASK_NODE, 'Project Definition')
if (TS.projects.foundations.globals.taskConstants.PROJECT_DEFINITION_NODE === undefined) {
console.log("[ERROR] Task Server -> Task -> bootingProcess -> Project Definition not found. ")
TS.projects.foundations.globals.taskVariables.FATAL_ERROR_MESSAGE = 'Project Definition not found. Fatal Error, can not continue. Fix the problem and try again.'