|
|
@ -437,7 +437,7 @@ function onCollection(err, collection) { |
|
|
|
console.log('file2222222222222222222222222222222222222 ' + JSON.stringify(pathfileval)) |
|
|
|
var token = "d2539e5a7ae1f9f1b0eb2b8f22ca467a86d28407"; // desto
|
|
|
|
var resdata = await getpipelines(token,pathfile) |
|
|
|
console.log('file2222222222222222222222222222222222222------------------------------ ' + JSON.stringify(resdata)) |
|
|
|
console.log('file2222222222222222222222222222222222222------------------------------ ' + JSON.stringify(resdata.data)) |
|
|
|
resob.pathlogfile = pathfileval |
|
|
|
var resobarray = [] |
|
|
|
for (let i in resdata.data) { |
|
|
@ -451,7 +451,7 @@ function onCollection(err, collection) { |
|
|
|
var resob1string = JSON.stringify(resob1); |
|
|
|
pubClient.hmset(pathfileval,resob1string) |
|
|
|
pubClient.hgetall(pathfileval, function(err, object) { |
|
|
|
console.log('redis '+object); |
|
|
|
console.log('redis>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '+JSON.stringify(object)); |
|
|
|
}); |
|
|
|
} |
|
|
|
resob.data = resobarray |
|
|
|