diff --git a/src/main/java/it/gov/pagopa/spontaneouspayment/entity/Organization.java b/src/main/java/it/gov/pagopa/spontaneouspayment/entity/Organization.java index d9de0fa..3081019 100644 --- a/src/main/java/it/gov/pagopa/spontaneouspayment/entity/Organization.java +++ b/src/main/java/it/gov/pagopa/spontaneouspayment/entity/Organization.java @@ -17,7 +17,7 @@ import java.time.LocalDateTime; import java.util.List; -@Container(containerName = "${azure.cosmos.ec-container-name}", autoCreateContainer = false, ru="800") +@Container(containerName = "${azure.cosmos.ec-container-name}", autoCreateContainer = false, ru="1000") @Getter @Setter @NoArgsConstructor diff --git a/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java b/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java index 8189bd6..2e04274 100644 --- a/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java +++ b/src/main/java/it/gov/pagopa/spontaneouspayment/service/PaymentsService.java @@ -11,6 +11,7 @@ import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; +import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang3.math.NumberUtils; import org.json.JSONObject; import org.modelmapper.ModelMapper; @@ -43,6 +44,7 @@ @Service @AllArgsConstructor @NoArgsConstructor +@Slf4j public class PaymentsService { @Autowired @@ -83,7 +85,7 @@ public PaymentPositionModel createSpontaneousPayment(@NotBlank String organizati checkServiceOrganization(organizationFiscalCode, serviceConfiguration); // checks if the service is in suitable state and the request contains the properties required by the configured service -// checkServiceConfiguration(spontaneousPayment, serviceConfiguration); + checkServiceConfiguration(spontaneousPayment, serviceConfiguration); return new PaymentPositionModel(); //createDebtPosition(organizationFiscalCode, orgConfiguration, serviceConfiguration, spontaneousPayment);