From 2835a43cf35466d6c99fd4721042b9ed52f47c22 Mon Sep 17 00:00:00 2001 From: Luca Consalvi <117908483+lucaconsalvi@users.noreply.github.com> Date: Wed, 11 Dec 2024 16:16:01 +0100 Subject: [PATCH] fix: [SRTP-152] remove objectmapper (#37) --- .../service/rtp/SendRTPServiceImpl.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/main/java/it/gov/pagopa/rtp/activator/service/rtp/SendRTPServiceImpl.java b/src/main/java/it/gov/pagopa/rtp/activator/service/rtp/SendRTPServiceImpl.java index 269a51f..d368d50 100644 --- a/src/main/java/it/gov/pagopa/rtp/activator/service/rtp/SendRTPServiceImpl.java +++ b/src/main/java/it/gov/pagopa/rtp/activator/service/rtp/SendRTPServiceImpl.java @@ -2,6 +2,15 @@ import it.gov.pagopa.rtp.activator.domain.rtp.ResourceID; import it.gov.pagopa.rtp.activator.domain.rtp.Rtp; +import it.gov.pagopa.rtp.activator.model.generated.epc.ActiveOrHistoricCurrencyAndAmountEPC25922V30DS02WrapperDto; +import it.gov.pagopa.rtp.activator.model.generated.epc.ExternalOrganisationIdentification1CodeEPC25922V30DS022WrapperDto; +import it.gov.pagopa.rtp.activator.model.generated.epc.ExternalPersonIdentification1CodeEPC25922V30DS02WrapperDto; +import it.gov.pagopa.rtp.activator.model.generated.epc.ExternalServiceLevel1CodeWrapperDto; +import it.gov.pagopa.rtp.activator.model.generated.epc.IBAN2007IdentifierWrapperDto; +import it.gov.pagopa.rtp.activator.model.generated.epc.ISODateWrapperDto; +import it.gov.pagopa.rtp.activator.model.generated.epc.Max35TextWrapperDto; +import it.gov.pagopa.rtp.activator.model.generated.epc.OrganisationIdentification29EPC25922V30DS022WrapperDto; +import it.gov.pagopa.rtp.activator.model.generated.epc.PersonIdentification13EPC25922V30DS02WrapperDto; import it.gov.pagopa.rtp.activator.model.generated.epc.SepaRequestToPayRequestResourceDto; import lombok.extern.slf4j.Slf4j; import reactor.core.publisher.Mono; @@ -18,7 +27,13 @@ @Service @Slf4j -@RegisterReflectionForBinding({ SepaRequestToPayRequestResourceDto.class }) +@RegisterReflectionForBinding({ SepaRequestToPayRequestResourceDto.class, + PersonIdentification13EPC25922V30DS02WrapperDto.class,ISODateWrapperDto.class, + ExternalPersonIdentification1CodeEPC25922V30DS02WrapperDto.class, ExternalServiceLevel1CodeWrapperDto.class, + ActiveOrHistoricCurrencyAndAmountEPC25922V30DS02WrapperDto.class, Max35TextWrapperDto.class, + OrganisationIdentification29EPC25922V30DS022WrapperDto.class, + ExternalOrganisationIdentification1CodeEPC25922V30DS022WrapperDto.class, IBAN2007IdentifierWrapperDto.class +}) public class SendRTPServiceImpl implements SendRTPService { private SepaRequestToPayMapper sepaRequestToPayMapper;