Skip to content

Commit

Permalink
P4ADEV-2067 rename
Browse files Browse the repository at this point in the history
  • Loading branch information
macacia committed Jan 31, 2025
1 parent 024a370 commit 1377a0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ public List<Long> retrieve(Long organizationId) {

List<IngestionFlowFile> ingestionFlowFiles = ingestionFlowFileService.findByOrganizationIdFlowTypeCreateDate(organizationId, FLOW_FILE_TYPE, oldestDate);

getFilterNotImportedByFileName(ingestionFlowFiles, paymentsReportingIds);
getNotImportedFilterredByFileName(ingestionFlowFiles, paymentsReportingIds);

// TODO in P4ADEV-2005: implement loop to retrieve ingestion flow file from PagoPA
return List.of();
}

private List<PaymentsReportingIdDTO> getFilterNotImportedByFileName(List<IngestionFlowFile> ingestionFlowFiles, List<PaymentsReportingIdDTO> paymentsReportingIds) {
private List<PaymentsReportingIdDTO> getNotImportedFilterredByFileName(List<IngestionFlowFile> ingestionFlowFiles, List<PaymentsReportingIdDTO> paymentsReportingIds) {
List<String> importedFileNames = ingestionFlowFiles.stream()
.map(IngestionFlowFile::getFileName)
.toList();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ void retrieve() {
// When Then
assertDoesNotThrow(() -> activity.retrieve(organizationId));
}
}
}

0 comments on commit 1377a0d

Please sign in to comment.