commented generate local pdf
This commit is contained in:
parent
32d4fe5672
commit
8ccafd4062
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue