Data Set Debugged until File Not Found

This commit is contained in:
Luis Fernando Molina committed 2018-04-16 18:47:17 +02:00
1 parent 75a53352d3
commit 57d365a1ff
8 files changed
+112 -12

No files matched your search

+8 -2
View File
@@ -71,7 +71,10 @@
if (FULL_LOG === true) { logger.write("[INFO] getTextFile -> pFolderPath = " + pFolderPath); }
if (FULL_LOG === true) { logger.write("[INFO] getTextFile -> pFileName = " + pFileName); }
cloudStorage.getTextFile(pFolderPath, pFileName, onFileReceived);
let filePathRoot = dependencyConfig.devTeam + "/" + dependencyConfig.bot + "." + dependencyConfig.botVersion.major + "." + dependencyConfig.botVersion.minor + "/" + global.PLATFORM_CONFIG.codeName + "." + global.PLATFORM_CONFIG.version.major + "." + global.PLATFORM_CONFIG.version.minor + "/" + global.EXCHANGE_NAME + "/" + dependencyConfig.dataSetVersion;
let filePath = filePathRoot + "/Output/" + pFolderPath;
cloudStorage.getTextFile(filePath, pFileName, onFileReceived);
function onFileReceived(err, text) {
@@ -109,7 +112,10 @@
return;
}
cloudStorage.createTextFile(pFolderPath, pFileName, pFileContent, onFileCreated);
let filePathRoot = dependencyConfig.devTeam + "/" + dependencyConfig.bot + "." + dependencyConfig.botVersion.major + "." + dependencyConfig.botVersion.minor + "/" + global.PLATFORM_CONFIG.codeName + "." + global.PLATFORM_CONFIG.version.major + "." + global.PLATFORM_CONFIG.version.minor + "/" + global.EXCHANGE_NAME + "/" + dependencyConfig.dataSetVersion;
let filePath = filePathRoot + "/Output/" + pFolderPath;
cloudStorage.createTextFile(filePath, pFileName, pFileContent, onFileCreated);
function onFileCreated(err) {