This commit is contained in:
parent
e14f7872d9
commit
f02c2eb691
1 changed files with 5 additions and 5 deletions
|
|
@ -266,8 +266,8 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
|
|||
}
|
||||
Map<File, ReportInfo> outFiles = createReportsForTask(sessionIds, reportBuildersForGREP.values());
|
||||
|
||||
sendReportsToGateway(sessionIds, outFiles, ReportType.REPORT_KS_TMP.getKey());
|
||||
sendFilesToSftp(outFiles.keySet());
|
||||
sendReportsToGateway(sessionIds, outFiles, ReportType.REPORT_KS_TMP.getKey());
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected exception", e);
|
||||
}
|
||||
|
|
@ -305,9 +305,9 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
|
|||
outFilesWithReportType_PFX64.put(reportFile, reportInfo);
|
||||
}
|
||||
}
|
||||
sendFilesToSftp(outFiles.keySet());
|
||||
sendReportsToGateway(sessionIds, outFilesWithReportType_PFX64, ReportType.PFX64.getKey());
|
||||
sendReportsToGateway(sessionIds, outFilesWithReportType_PFX65, ReportType.PFX65.getKey());
|
||||
sendFilesToSftp(outFiles.keySet());
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected exception", e);
|
||||
}
|
||||
|
|
@ -328,8 +328,8 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
|
|||
}
|
||||
Map<File, ReportInfo> outFiles = createReportsForTask(sessionIds, reportBuildersForGREF.values());
|
||||
|
||||
sendReportsToGateway(sessionIds, outFiles, ReportType.REPORT_KS_FINAL.getKey());
|
||||
sendFilesToSftp(outFiles.keySet());
|
||||
sendReportsToGateway(sessionIds, outFiles, ReportType.REPORT_KS_FINAL.getKey());
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected exception", e);
|
||||
}
|
||||
|
|
@ -346,8 +346,8 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
|
|||
|
||||
Map<File, ReportInfo> outFiles = createReportsForTask(List.of(), reportBuildersForGREC.values());
|
||||
|
||||
sendReportsToGateway(List.of(), outFiles, ReportType.REPORT_KS_OUTER.getKey());
|
||||
sendFilesToSftp(outFiles.keySet());
|
||||
sendReportsToGateway(List.of(), outFiles, ReportType.REPORT_KS_OUTER.getKey());
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected exception", e);
|
||||
}
|
||||
|
|
@ -364,8 +364,8 @@ public class ReportService extends QueueConsumerV2 implements InitializingBean {
|
|||
|
||||
Map<File, ReportInfo> outFiles = createReportsForTask(List.of(), reportBuildersForCX84.values());
|
||||
|
||||
sendReportsToGateway(List.of(), outFiles, ReportType.REPORT_KS_VALUE_OUTER.getKey());
|
||||
sendFilesToSftp(outFiles.keySet());
|
||||
sendReportsToGateway(List.of(), outFiles, ReportType.REPORT_KS_VALUE_OUTER.getKey());
|
||||
} catch (Exception e) {
|
||||
log.error("Unexpected exception", e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue