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 84d606552 FINERACT-1981: Fix Better EMI check in EMI Calculator
add 572289147 FINERACT-2107: Interest Refund - Allocation, Business Event
& Full Repayment
No new revisions were added by this update.
Summary of changes:
...ransactionInterestRefundPostBusinessEvent.java} | 6 +-
...TransactionInterestRefundPreBusinessEvent.java} | 6 +-
.../portfolio/loanaccount/domain/Loan.java | 5 +-
.../loanaccount/domain/LoanTransaction.java | 11 +-
...ventService.java => InterestRefundService.java} | 11 +-
...ice.java => InterestRefundServiceDelegate.java} | 12 +-
...dvancedPaymentScheduleTransactionProcessor.java | 7 +-
.../domain/LoanAccountDomainServiceJpa.java | 51 ++-
.../ProgressiveLoanInterestRefundServiceImpl.java | 115 ++++++
.../db/changelog/tenant/changelog-tenant.xml | 1 +
.../parts/0151_interest_refund_business_events.xml | 8 +-
...nalEventConfigurationValidationServiceTest.java | 6 +-
...PaymentAllocationLoanRepaymentScheduleTest.java | 25 +-
.../integrationtests/BaseLoanIntegrationTest.java | 7 +
.../ExternalBusinessEventTest.java | 208 ++++++++---
.../integrationtests/LoanInterestRefundTest.java | 412 +++++++++++++++++++++
.../LoanRefundTransactionTest.java | 9 +-
.../common/ExternalEventConfigurationHelper.java | 10 +
18 files changed, 820 insertions(+), 90 deletions(-)
copy
fineract-loan/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/transaction/{LoanTransactionGoodwillCreditPostBusinessEvent.java
=> LoanTransactionInterestRefundPostBusinessEvent.java} (83%)
copy
fineract-loan/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/transaction/{LoanTransactionGoodwillCreditPreBusinessEvent.java
=> LoanTransactionInterestRefundPreBusinessEvent.java} (84%)
copy
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/service/{LoanAccrualTransactionBusinessEventService.java
=> InterestRefundService.java} (76%)
copy
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/service/{LoanAccrualTransactionBusinessEventService.java
=> InterestRefundServiceDelegate.java} (68%)
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/ProgressiveLoanInterestRefundServiceImpl.java
copy
fineract-investor/src/main/resources/db/changelog/tenant/module/investor/parts/0009_add_loan_ownership_transfer_events.xml
=>
fineract-provider/src/main/resources/db/changelog/tenant/parts/0151_interest_refund_business_events.xml
(88%)
create mode 100644
integration-tests/src/test/java/org/apache/fineract/integrationtests/LoanInterestRefundTest.java