Skip to content

Commit 1cdd522

Browse files
alessio-acitellisvariantcap-angpagopa-github-bot
authored
feat: Add Expiration Handling (#389)
* [PIDM-1322] EXPIRED management: fixed CRON EXPIRED Payment Position * [PIDM-1322] EXPIRED management: fixed getPOByNAV expiration check * refactoring: Extract class - Remove logic from DebtPositionStatus - Add ExpirationHandler (check expiration logic and transition) - Add ValidityHandler (check validity date transition) - Add PaymentConflictValidator (check options conflicts) - Add OptionsService (contains verifyPaymentOptions) * fix and add JUnit tests Fix the bug on handleInstallmentExpirationLogic method; Add JUnit test for ExpirationHandler and OptionsService. * fix Sonar naming issue * Bump to version 1.1.13-1-PIDM-1322-EXPIRED-management [skip ci] * fix: Update getPaymentOptionByNAV Hibernate Dirty Checking updates database entity. * Bump to version 1.1.13-2-PIDM-1322-EXPIRED-management [skip ci] --------- Co-authored-by: Samuele Varianti <128470180+svariant@users.noreply.github.com> Co-authored-by: Angelo Caporaso <56113767+cap-ang@users.noreply.github.com> Co-authored-by: pagopa-github-bot <github-bot@pagopa.it>
1 parent 838be69 commit 1cdd522

28 files changed

+1824
-1137
lines changed

helm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: pagopa-gpd-core
33
description: micro-service to manage Creditor Institution debtor positions
44
type: application
5-
version: 0.281.0
6-
appVersion: 1.1.13
5+
version: 0.283.0
6+
appVersion: 1.1.13-2-PIDM-1322-EXPIRED-management
77
dependencies:
88
- name: microservice-chart
99
version: 7.5.0

helm/values-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ microservice-chart:
44
fullnameOverride: ""
55
image:
66
repository: ghcr.io/pagopa/pagopa-debt-position
7-
tag: "1.1.13"
7+
tag: "1.1.13-2-PIDM-1322-EXPIRED-management"
88
pullPolicy: Always
99
livenessProbe:
1010
httpGet:

helm/values-prod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ microservice-chart:
44
fullnameOverride: ""
55
image:
66
repository: ghcr.io/pagopa/pagopa-debt-position
7-
tag: "1.1.13"
7+
tag: "1.1.13-2-PIDM-1322-EXPIRED-management"
88
pullPolicy: Always
99
livenessProbe:
1010
httpGet:

helm/values-uat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ microservice-chart:
44
fullnameOverride: ""
55
image:
66
repository: ghcr.io/pagopa/pagopa-debt-position
7-
tag: "1.1.13"
7+
tag: "1.1.13-2-PIDM-1322-EXPIRED-management"
88
pullPolicy: Always
99
livenessProbe:
1010
httpGet:

openapi/openapi_aca_v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "PagoPA API Debt Position ${service}",
55
"description": "Progetto Gestione Posizioni Debitorie",
66
"termsOfService": "https://www.pagopa.gov.it/",
7-
"version": "1.1.13"
7+
"version": "1.1.13-2-PIDM-1322-EXPIRED-management"
88
},
99
"servers": [
1010
{

openapi/openapi_external_v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "PagoPA API Debt Position ${service}",
55
"description": "Progetto Gestione Posizioni Debitorie",
66
"termsOfService": "https://www.pagopa.gov.it/",
7-
"version": "1.1.13"
7+
"version": "1.1.13-2-PIDM-1322-EXPIRED-management"
88
},
99
"servers": [
1010
{

openapi/openapi_external_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "PagoPA API Debt Position ${service}",
55
"description": "Progetto Gestione Posizioni Debitorie",
66
"termsOfService": "https://www.pagopa.gov.it/",
7-
"version": "1.1.13"
7+
"version": "1.1.13-2-PIDM-1322-EXPIRED-management"
88
},
99
"servers": [
1010
{

openapi/openapi_external_v3.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "PagoPA API Debt Position ${service}",
55
"description": "Progetto Gestione Posizioni Debitorie",
66
"termsOfService": "https://www.pagopa.gov.it/",
7-
"version": "1.1.13"
7+
"version": "1.1.13-2-PIDM-1322-EXPIRED-management"
88
},
99
"servers": [
1010
{

openapi/openapi_internal_v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "PagoPA API Debt Position ${service}",
55
"description": "Progetto Gestione Posizioni Debitorie",
66
"termsOfService": "https://www.pagopa.gov.it/",
7-
"version": "1.1.13"
7+
"version": "1.1.13-2-PIDM-1322-EXPIRED-management"
88
},
99
"servers": [
1010
{

openapi/openapi_internal_v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"title": "PagoPA API Debt Position ${service}",
55
"description": "Progetto Gestione Posizioni Debitorie",
66
"termsOfService": "https://www.pagopa.gov.it/",
7-
"version": "1.1.13"
7+
"version": "1.1.13-2-PIDM-1322-EXPIRED-management"
88
},
99
"servers": [
1010
{

0 commit comments

Comments
 (0)