-
Notifications
You must be signed in to change notification settings - Fork 1
fix: [PAGOPA-2978] Forcing payment amounts and regulation date on correct format #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The default action is to increase the PATCH number of SEMVER. Set IGNORE-FOR-RELEASE if you want to skip SEMVER bump. BREAKING-CHANGE and NEW-RELEASE must be run from GH Actions section manually. |
The default action is to increase the |
This pull request does not contain a valid label. Please add one of the following labels: |
@andrea-deri could you generate the openapi updated too? |
src/main/resources/db/migration/liquibase/changelog/db.changelog-master-1.0.1.xml
Outdated
Show resolved
Hide resolved
|
This PR exceeds the recommended size of 400 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size. |
This PR contains several changes made in order to correctly generate historicized flows that can be analyzed by FdR1 application. In order to do so, the
regulationDate
is changed in order to be defined asyyyy-MM-dd
and all the monetary amounts are always saved with double-digits decimal values.This fix is made as low footprint change that does not change structures and interfaces used by PSPs. A more invasive fix on those public interfaces is made with this PR and will be merged soon.
List of Changes
yyyy-MM-dd
fdr_history_schema_v1
file, setting monetary amounts fromInteger
toDouble
float4
tofloat8
Motivation and Context
These changes are required in order to permits the correct handling of BLOB files for FdR1 application.
How Has This Been Tested?
Screenshots (if appropriate):
JSON content historicized, with amounts and regulation date in needed format

Types of changes
expected)
Checklist: