diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml index ff75d0e9..3fcad7ef 100644 --- a/helm/values-uat.yaml +++ b/helm/values-uat.yaml @@ -51,8 +51,8 @@ microservice-chart: cpu: "3.0" # high limit used only in startup phase autoscaling: enable: true - minReplica: 3 - maxReplica: 10 + minReplica: 1 + maxReplica: 3 pollingInterval: 10 # seconds cooldownPeriod: 50 # seconds triggers: diff --git a/src/main/java/it/gov/pagopa/payments/service/PartnerService.java b/src/main/java/it/gov/pagopa/payments/service/PartnerService.java index 27868f66..8abfb465 100644 --- a/src/main/java/it/gov/pagopa/payments/service/PartnerService.java +++ b/src/main/java/it/gov/pagopa/payments/service/PartnerService.java @@ -502,7 +502,7 @@ private CtTransferPAV2 getTransferResponseV2( transferPa.setIdTransfer(Integer.parseInt(transfer.getIdTransfer())); transferPa.setRemittanceInformation(transfer.getRemittanceInformation()); transferPa.setTransferAmount(BigDecimal.valueOf(transfer.getAmount())); - transferPa.setTransferCategory(transfer.getCategory().replace("/", "")); + transferPa.setTransferCategory(transfer.getCategory()); return transferPa; }