diff --git a/helm/Chart.yaml b/helm/Chart.yaml
index 875275da..89b26564 100644
--- a/helm/Chart.yaml
+++ b/helm/Chart.yaml
@@ -2,8 +2,8 @@ apiVersion: v2
name: pagopa-gpd-payments
description: Microservice that exposes API for payment receipts retrieving and other operations
type: application
-version: 0.39.0
-appVersion: 0.11.4
+version: 0.40.0
+appVersion: 0.11.4-1-PAGOPA-1328-fix-transfer-category-replace-V2
dependencies:
- name: microservice-chart
version: 2.4.0
diff --git a/helm/values-dev.yaml b/helm/values-dev.yaml
index 37fadd2c..87aa28d7 100644
--- a/helm/values-dev.yaml
+++ b/helm/values-dev.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-gpd-payments
- tag: "0.11.4"
+ tag: "0.11.4-1-PAGOPA-1328-fix-transfer-category-replace-V2"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/helm/values-prod.yaml b/helm/values-prod.yaml
index 293a213a..2bde6619 100644
--- a/helm/values-prod.yaml
+++ b/helm/values-prod.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-gpd-payments
- tag: "0.11.4"
+ tag: "0.11.4-1-PAGOPA-1328-fix-transfer-category-replace-V2"
pullPolicy: Always
livenessProbe:
httpGet:
diff --git a/helm/values-uat.yaml b/helm/values-uat.yaml
index ff75d0e9..a8c05f1b 100644
--- a/helm/values-uat.yaml
+++ b/helm/values-uat.yaml
@@ -4,7 +4,7 @@ microservice-chart:
fullnameOverride: ""
image:
repository: ghcr.io/pagopa/pagopa-gpd-payments
- tag: "0.11.4"
+ tag: "0.11.4-1-PAGOPA-1328-fix-transfer-category-replace-V2"
pullPolicy: Always
livenessProbe:
httpGet:
@@ -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/openapi/openapi.json b/openapi/openapi.json
index 3ef46754..e6e07af7 100644
--- a/openapi/openapi.json
+++ b/openapi/openapi.json
@@ -4,7 +4,7 @@
"title": "PagoPA API Payments",
"description": "Payments",
"termsOfService": "https://www.pagopa.gov.it/",
- "version": "0.11.4"
+ "version": "0.11.4-1-PAGOPA-1328-fix-transfer-category-replace-V2"
},
"servers": [
{
diff --git a/pom.xml b/pom.xml
index dd322426..3bb45120 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
it.gov.pagopa
payments
- 0.11.4
+ 0.11.4-1-PAGOPA-1328-fix-transfer-category-replace-V2
Payments
Payments
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;
}