This is an automated email from the ASF dual-hosted git repository.
adamsaghy pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
from 0eb5896b0b Merge pull request #6318
add 7806a42204 FINERACT-1950: Global configuration to disallow backdated
transactions
new acd74bb4f4 Merge pull request #6124
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../api/GlobalConfigurationConstants.java | 1 +
.../domain/ConfigurationDomainService.java | 3 +
.../BackdatedTransactionValidationService.java | 52 +++++++++
.../BackdatedTransactionValidationServiceTest.java | 97 +++++++++++++++++
.../domain/ConfigurationDomainServiceJpa.java | 10 ++
.../LoanTransactionValidatorImpl.java | 8 ++
.../SavingsAccountTransactionDataValidator.java | 3 +
.../db/changelog/tenant/changelog-tenant.xml | 1 +
...allow_backdated_transactions_configuration.xml} | 14 +--
.../AccountingScenarioIntegrationTest.java | 7 ++
...sallowBackdatedTransactionsIntegrationTest.java | 116 +++++++++++++++++++++
.../SavingsAccountsExternalIdTest.java | 17 ++-
.../integrationtests/SavingsAccountsTest.java | 28 +++--
.../common/GlobalConfigurationHelper.java | 7 ++
14 files changed, 348 insertions(+), 16 deletions(-)
create mode 100644
fineract-core/src/main/java/org/apache/fineract/infrastructure/configuration/service/BackdatedTransactionValidationService.java
create mode 100644
fineract-core/src/test/java/org/apache/fineract/infrastructure/configuration/service/BackdatedTransactionValidationServiceTest.java
copy
fineract-provider/src/main/resources/db/changelog/tenant/parts/{0071_add_external_id_support_for_loan_transaction.xml
=> 0251_add_disallow_backdated_transactions_configuration.xml} (74%)
create mode 100644
integration-tests/src/test/java/org/apache/fineract/integrationtests/DisallowBackdatedTransactionsIntegrationTest.java