Skip to content

Commit

Permalink
QA-5470: develop merge finalization
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincenzo-Massaro committed Feb 20, 2025
1 parent e0fe3be commit ae4069e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
import org.springframework.stereotype.Component;
import org.springframework.web.client.RestTemplate;

import java.util.UUID;

@Component
@Scope(value = ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public class TenantsApiClientImpl implements ITenantsApi {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import it.pagopa.pn.interop.cucumber.steps.DataPreparationService;
import it.pagopa.pn.interop.cucumber.steps.SharedStepsContext;
import it.pagopa.pn.interop.cucumber.steps.common.EServicesCommonContext;
import it.pagopa.pn.interop.cucumber.steps.delegate.DelegationCreateStep.DelegationRole;
import it.pagopa.pn.interop.cucumber.steps.delegate.DelegationRole;
import java.util.Optional;
import java.util.UUID;
import java.util.concurrent.ThreadLocalRandom;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import it.pagopa.interop.utils.HttpCallExecutor;
import it.pagopa.pn.interop.cucumber.steps.ClientTokenConfigurator;
import it.pagopa.pn.interop.cucumber.steps.SharedStepsContext;
import it.pagopa.pn.interop.cucumber.steps.delegate.DelegationCreateStep.DelegationRole;
import it.pagopa.pn.interop.cucumber.steps.delegate.DelegationRole;
import java.util.List;
import java.util.Random;
import lombok.extern.slf4j.Slf4j;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import it.pagopa.interop.utils.HttpCallExecutor;
import it.pagopa.pn.interop.cucumber.steps.ClientTokenConfigurator;
import it.pagopa.pn.interop.cucumber.steps.SharedStepsContext;
import it.pagopa.pn.interop.cucumber.steps.delegate.DelegationCreateStep.DelegationRole;
import org.springframework.http.HttpStatus;

public class DelegationAcceptStep {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class AsyncSteps {
private final PnPaymentInfoClientImpl pnPaymentInfoClientImpl;
private final List<PaymentPositionModel> paymentPositionModel;
private List<BffPaymentInfoItem> paymentInfoResponse;
private String deleteGDPresponse;
private String deleteGdpResponse;
private Integer amountGPD;
private final List<Integer> amountNotifica;
private static final Integer NUM_CHECK_PAYMENT_INFO = 32;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1706,7 +1706,7 @@ private <T> ProgressResponseElementV26 searchInWebhookV26(T timeLineOrStatus, St
}

private <T> ProgressResponseElement searchInWebhookFileNotFound(T timeLineOrStatus, String lastEventId, int deepCount) {
if(!(timeLineOrStatus instanceof TimelineElementCategoryV23) && (!(timeLineOrStatus instanceof NotificationStatus)) {
if(!(timeLineOrStatus instanceof TimelineElementCategoryV23) && (!(timeLineOrStatus instanceof NotificationStatus))) {
throw new IllegalArgumentException();
}
ProgressResponseElement progressResponseElement = null;
Expand All @@ -1727,7 +1727,7 @@ private <T> ProgressResponseElement searchInWebhookFileNotFound(T timeLineOrStat
}//searchInWebhookTimelineElement

private <T> ProgressResponseElementV23 searchInWebhookFileNotFoundV23(T timeLineOrStatus, String lastEventId, int deepCount) {
if(!(timeLineOrStatus instanceof TimelineElementCategoryV23) && (!(timeLineOrStatus instanceof NotificationStatus)) {
if(!(timeLineOrStatus instanceof TimelineElementCategoryV23) && (!(timeLineOrStatus instanceof NotificationStatus))) {
throw new IllegalArgumentException();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
import it.pagopa.pn.client.b2b.pa.service.impl.PnExternalServiceClientImpl;
import it.pagopa.pn.client.b2b.pa.service.impl.PnPaymentInfoClientImpl;
import it.pagopa.pn.client.b2b.pa.service.utils.SettableApiKey;
import it.pagopa.pn.client.b2b.web.generated.openapi.clients.payment_info.model.PaymentInfoRequest;
import it.pagopa.pn.client.b2b.web.generated.openapi.clients.payment_info.model.PaymentNotice;
import it.pagopa.pn.client.web.generated.openapi.clients.webPa.model.NotificationSearchResponse;
import it.pagopa.pn.client.web.generated.openapi.clients.webPa.model.NotificationSearchRow;
import it.pagopa.pn.cucumber.steps.SharedSteps;
Expand Down Expand Up @@ -71,7 +69,8 @@
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.util.Base64Utils;
import org.springframework.web.client.HttpStatusCodeException;

import it.pagopa.pn.client.b2b.pa.generated.openapi.clients.externalb2bpa.model.*;
import it.pagopa.pn.client.b2b.generated.openapi.clients.external.generate.model.external.bff.payment.PaymentInfoRequest;

@Slf4j
public class InvioNotificheB2bSteps {
Expand Down Expand Up @@ -99,7 +98,6 @@ public class InvioNotificheB2bSteps {
private String sha256DocumentDownload;
private NotificationAttachmentDownloadMetadataResponse downloadResponse;
private List<ReceivedMessage> documentiPec;
private FullSentNotificationV23 notificationRetrieved;

private final JavaMailSender emailSender;

Expand Down

0 comments on commit ae4069e

Please sign in to comment.