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 09c63cf47f Merge pull request #7051 from
viragtripathi/FINERACT-3234-part-2
add d4b1c8d06d FINERACT-3229: PL - Charge amortization: Copy the
configuration onto the loan charge and add the deferred charge balance
add 33913ee6e1 FINERACT-3229: PL - Charge amortization: Copy the
configuration onto the loan charge and add the deferred charge balance - E2E
tests
new 8147fa4d6a Merge pull request #6978 from
openMF/FINERACT-3229/copy-the-configuration-onto-loan-charge-and-add-deferred-charge-balance
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:
.../loan/LoanChargeAmortizationStepDef.java | 182 +++++++++++++++++++++
.../fineract/test/stepdef/loan/LoanStepDef.java | 21 ++-
.../features/LoanChargeAmortization.feature | 149 +++++++++++++++++
.../portfolio/loanaccount/data/LoanChargeData.java | 21 +++
.../portfolio/loanaccount/domain/LoanCharge.java | 32 +++-
.../serialization/LoanChargeApiJsonValidator.java | 11 +-
.../serialization/LoanChargeValidator.java | 13 ++
.../loanaccount/service/LoanChargeService.java | 27 +++
.../serialization/LoanChargeValidatorTest.java | 37 +++++
.../service/LoanChargeAmortizationCopyTest.java | 180 ++++++++++++++++++++
...Balance.java => LoanDeferredChargeBalance.java} | 33 +++-
.../LoanDeferredChargeBalanceRepository.java | 17 +-
.../loanaccount/api/LoansApiResourceSwagger.java | 8 +
.../LoanChargeAddUpdateWritePlatformService.java | 1 +
.../service/LoanChargeReadPlatformServiceImpl.java | 25 ++-
.../db/changelog/tenant/changelog-tenant.xml | 2 +
..._amortization_configuration_to_loan_charge.xml} | 7 +-
...> 0292_create_loan_deferred_charge_balance.xml} | 112 ++++++++++---
18 files changed, 833 insertions(+), 45 deletions(-)
create mode 100644
fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/LoanChargeAmortizationStepDef.java
create mode 100644
fineract-e2e-tests-runner/src/test/resources/features/LoanChargeAmortization.feature
create mode 100644
fineract-loan/src/test/java/org/apache/fineract/portfolio/loanaccount/service/LoanChargeAmortizationCopyTest.java
copy
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/domain/{LoanCapitalizedIncomeBalance.java
=> LoanDeferredChargeBalance.java} (64%)
copy
fineract-core/src/main/java/org/apache/fineract/organisation/office/domain/OfficeRepository.java
=>
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/repository/LoanDeferredChargeBalanceRepository.java
(57%)
copy
fineract-provider/src/main/resources/db/changelog/tenant/parts/{0285_add_amortization_configuration_to_charge.xml
=> 0291_add_amortization_configuration_to_loan_charge.xml} (88%)
copy
fineract-provider/src/main/resources/db/changelog/tenant/parts/{0188_create_loan_buy_down_fee_balance.xml
=> 0292_create_loan_deferred_charge_balance.xml} (50%)