Commit 1cdd522
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
File tree
28 files changed
+1824
-1137
lines changed- helm
- openapi
- src
- main/java/it/gov/pagopa/debtposition
- controller/payments/api/impl
- model/enumeration
- repository
- service
- common
- payments
- pd/actions
- util
- test/java/it/gov/pagopa/debtposition
- controller
- dto
- scheduler
- service
- common
- payments
28 files changed
+1824
-1137
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments