Skip to content

Commit

Permalink
Merge pull request #181 from pagopa/update-log-ftp
Browse files Browse the repository at this point in the history
Update log ftp
  • Loading branch information
andrea-putzu authored Mar 6, 2024
2 parents 2012f43 + fcf7cf9 commit 2465078
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public Optional<ByteArrayInputStream> getANACData() {
resourceResponse = fileStorageConnector.getFile(fileName);
return Optional.of(new ByteArrayInputStream(resourceResponse.getData()));
} catch (Exception e) {
log.error("Impossible to retrieve file ANAC. Error: {}", e.getMessage(), e);
log.error("Impossible to retrieve file ANAC from Storage. Error: {}", e.getMessage(), e);
return Optional.empty();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public Optional<ByteArrayInputStream> getANACData() {
Optional<InputStream> optionalFile = ftpConnector.getFile(directory + fileName);
return optionalFile.flatMap(inputStream -> {
Optional<ByteArrayInputStream> opt = updateFileOnAzureStorageAndRetrieveInputStream(inputStream);
log.trace("getANACData on filename: {} end", fileName);
log.debug("getANACData on filename from ftp: {} end", fileName);
return opt;
});

Expand Down
6 changes: 4 additions & 2 deletions helm/pnpg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,14 @@ config:
IPA_OPEN_DATA_INSTITUTION_ENDPOINT: "/d09adf99-dc10-4349-8c53-27b1e5aa97b6"
IPA_OPEN_DATA_CATEGORY_ENDPOINT: "/84ebb2e7-0e61-427b-a1dd-ab8bb2a84f07"
IPA_OPEN_DATA_AOOS_ENDPOINT: "/cdaded04-f84e-4193-a720-47d6d5f422aa"
IPA_OPEN_DATA_UOS_ENDPOINT: "/b0aa1f6c-f135-4c8a-b416-396fed4e1a5d"
IPA_OPEN_DATA_UOS_ENDPOINT: "/b0aa1f6c-f135-4c8a-b416-396fed4e1a5d"
LUCENE_INDEX_INSTITUTIONS_FOLDER: "index/institutions"
LUCENE_INDEX_CATEGORIES_FOLDER: "index/categories"
LUCENE_INDEX_AOOS_FOLDER: "index/aoos"
LUCENE_INDEX_UOS_FOLDER: "index/uos"
LUCENE_INDEX_ANAC_FOLDER: "index/anac"
LUCENE_INDEX_IVASS_FOLDER: "index/ivass"
BLOB_ANAC_FILENAME: "anac-data.csv"
BLOB_IVASS_FILENAME: "ivass-data.csv"
BLOB_IVASS_FILENAME: "ivass-data.csv"
IVASS_REGISTRY_TYPES: "ElencoI,ElencoII,SezioneI,SezioneII"
IVASS_WORK_TYPES: "VITA,PICCOLO CUMULO,MISTA"

0 comments on commit 2465078

Please sign in to comment.