commented generate local pdf

This commit is contained in:
Francesco Mangiacrapa 2023-12-15 15:07:45 +01:00
parent 32d4fe5672
commit 8ccafd4062
2 changed files with 3 additions and 3 deletions

View File

@ -323,9 +323,9 @@ public class Geoportal_PDF_Exporter {
LOG.info("returning pdf URL: " + pdfFileURL);
// TEST save file locally
File targetFile = new File(projectTitleSanitized + ".pdf");
/*File targetFile = new File(projectTitleSanitized + ".pdf");
java.nio.file.Files.copy(in, targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
LOG.info("targetFile at: " + targetFile.getAbsolutePath());
LOG.info("targetFile at: " + targetFile.getAbsolutePath());*/
IOUtils.closeQuietly(in);
} catch (Exception e) {

View File

@ -41,7 +41,7 @@ public class Geoportal_Export_To_PDF_Tests {
// private static String PROFILE_ID = "concessioni-estere";
private static String PROFILE_ID = "profiledConcessioni";
private static String PROJECT_ID = "6388e4f8a1e60e66b7b584ac";
private static String PROJECT_ID = "638885fea1e60e66b7b581bd";
// DEV
// 654e07a75bdd5478cca320c0