diff --git a/src/main/java/net/gepafin/tendermanagement/dao/AppointmentDao.java b/src/main/java/net/gepafin/tendermanagement/dao/AppointmentDao.java index 8bb955f4..46af8a26 100644 --- a/src/main/java/net/gepafin/tendermanagement/dao/AppointmentDao.java +++ b/src/main/java/net/gepafin/tendermanagement/dao/AppointmentDao.java @@ -96,9 +96,6 @@ public class AppointmentDao { @Value("${aws.s3.bucket.name}") private String OLD_BUCKET; - @Value("${flagDaFirmare}") - private Boolean flagDaFirmare; - @Autowired private HubRepository hubRepository; @@ -963,7 +960,7 @@ public class AppointmentDao { UploadDocToExternalSystemRequest.Input input = new UploadDocToExternalSystemRequest.Input(); input.setIdTipoProtocollo(docToExternalSystemRequest.getInput().getIdTipoProtocollo()); input.setIdClassificazione(docToExternalSystemRequest.getInput().getIdClassificazione()); - input.setFlagDaFirmare(flagDaFirmare); + input.setFlagDaFirmare(docToExternalSystemRequest.getInput().getFlagDaFirmare()); input.setDescrizione(docToExternalSystemRequest.getInput().getDescrizione()); UploadDocToExternalSystemRequest.Input.Attributes attributes = new UploadDocToExternalSystemRequest.Input.Attributes(); diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index fc0e08ce..58295500 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -23,7 +23,6 @@ appointment.portal.user=UtenzaAPIPortal@621 appointment.portal.password=u13nzaAP1P0rtal! appointment.portal.source=GEPAFINPORTAL appointment.portal.context=GEPAFINPORTAL -flagDaFirmare=false # RabbitMQ properties for STOMP broker relay for Notification #spring.rabbitmq.host=rabbitmq.bflows.ai diff --git a/src/main/resources/application-local.properties b/src/main/resources/application-local.properties index b67592dc..c49961d5 100644 --- a/src/main/resources/application-local.properties +++ b/src/main/resources/application-local.properties @@ -21,7 +21,6 @@ appointment.portal.user=UtenzaAPIPortal@621 appointment.portal.password=u13nzaAP1P0rtal! appointment.portal.source=GEPAFINPORTAL appointment.portal.context=GEPAFINPORTAL -flagDaFirmare=false # RabbitMQ properties for STOMP broker relay for Notification spring.rabbitmq.host=localhost diff --git a/src/main/resources/application-production.properties b/src/main/resources/application-production.properties index 30cb6bee..65842ebb 100644 --- a/src/main/resources/application-production.properties +++ b/src/main/resources/application-production.properties @@ -30,7 +30,6 @@ appointment.portal.user=UtenzaAPIPortal@621 appointment.portal.password=u13nzaAP1P0rtal! appointment.portal.source=GEPAFINPORTAL appointment.portal.context=GEPAFINPORTAL -flagDaFirmare=true # RabbitMQ properties for STOMP broker relay for Notification #spring.rabbitmq.host=rabbitmq.bflows.ai diff --git a/src/main/resources/application-testing.properties b/src/main/resources/application-testing.properties index c8e93e85..6fb983e5 100644 --- a/src/main/resources/application-testing.properties +++ b/src/main/resources/application-testing.properties @@ -19,7 +19,6 @@ appointment.portal.user=UtenzaAPIPortal@621 appointment.portal.password=u13nzaAP1P0rtal! appointment.portal.source=GEPAFINPORTAL appointment.portal.context=GEPAFINPORTAL -flagDaFirmare=false # RabbitMQ properties for STOMP broker relay for Notification spring.rabbitmq.host=rabbitmq.bflows.ai diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 3b9bd853..c1cb62c7 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -4,7 +4,7 @@ spring.application.name=tendermanagement spring.servlet.multipart.max-file-size=300MB spring.servlet.multipart.max-request-size=300MB -spring.profiles.active=testing +spring.profiles.active=local # JPA Configuration