Skip to content

Commit

Permalink
fix10
Browse files Browse the repository at this point in the history
  • Loading branch information
pasqualespica committed Oct 12, 2022
1 parent 8e072f2 commit 4d93a47
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private Predicate<ServicePropertyModel> getCheckPropertyType(ServiceProperty con
private PaymentPositionModel createDebtPosition(String organizationFiscalCode,
Organization orgConfiguration, it.gov.pagopa.spontaneouspayment.entity.Service serviceConfiguration, SpontaneousPaymentModel spontaneousPayment) {

String sUuid = new UID().toString();
//String sUuid = new UID().toString();
// get the enrollment for the service
log.info("[PaymentPositionModel]step-1-{}",sUuid);
ServiceRef enrollment = Optional.ofNullable(orgConfiguration.getEnrollments()).orElseGet(Collections::emptyList)
Expand All @@ -155,10 +155,10 @@ private PaymentPositionModel createDebtPosition(String organizationFiscalCode,
PaymentOptionModel po = this.callExternalService(spontaneousPayment, serviceConfiguration);
log.info("[PaymentPositionModel]step-3-{}",sUuid);
// generate IUV
//String iuv = this.callIuvGeneratorService(organizationFiscalCode, enrollment);
String iuv = this.callIuvGeneratorService(organizationFiscalCode, enrollment);

// integration the information for the PO
String iuv = sUuid;
//String iuv = sUuid;
po.setIuv(iuv);
TransferModel transfer = po.getTransfer().get(0);
transfer.setIdTransfer("1");
Expand Down

0 comments on commit 4d93a47

Please sign in to comment.