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 01ca515e8f FINERACT-2354: e2e test scenarios for re-aging preview
new 5a1c6edbef FINERACT-2354: Third step - backdated re-age edge case for
Interest bearing loans - Default Behavior, interestRecalculation = true,
without dueDate change
new 068e398f90 FINERACT-2354: Addding e2e tests covering - backdated
re-age edge case for interest bearing loans
new 051571003e FINERACT-2354: Work with DTOs instead of entities inside
ProgressiveEMICalculator
new c79c076ee6 FINERACT-2354: In case full transaction reprocessing, we
need to recalculate the schedule as well
The 4 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:
.../monetary/domain/MonetaryCurrency.java | 2 +
.../organisation/monetary/domain/Money.java | 6 +-
.../test/stepdef/loan/LoanReAgingStepDef.java | 7 +-
.../src/test/resources/features/Loan.feature | 14 +-
.../test/resources/features/LoanReAging.feature | 259 ++++++++++++++++++++-
.../test/resources/features/LoanReschedule.feature | 2 -
.../InterestPauseWritePlatformServiceImpl.java | 10 +-
.../loanschedule/domain/LoanApplicationTerms.java | 11 +-
...ntHandlerService.java => ILoanUtilService.java} | 28 ++-
.../loanaccount/service/LoanBalanceService.java | 1 +
.../loanaccount/service/LoanChargeService.java | 48 ++++
.../service/LoanDownPaymentHandlerServiceImpl.java | 4 +-
.../loanaccount/service/LoanScheduleService.java | 14 +-
.../service/LoanTransactionProcessingService.java | 3 -
.../service/ReprocessLoanTransactionsService.java | 12 +-
...imumData.java => LoanConfigurationDetails.java} | 27 ++-
...dDetail.java => ILoanConfigurationDetails.java} | 8 +-
.../domain/LoanProductRelatedDetail.java | 10 +-
...EmbeddableProgressiveLoanScheduleGenerator.java | 4 +-
...ossibleNextRepaymentCalculationServiceImpl.java | 5 +-
...dvancedPaymentScheduleTransactionProcessor.java | 201 ++++------------
.../domain/ProgressiveLoanScheduleGenerator.java | 14 +-
.../mapper/LoanConfigurationDetailsMapper.java | 77 ++++++
.../CapitalizedIncomeWritePlatformServiceImpl.java | 17 +-
.../InterestScheduleModelRepositoryWrapper.java | 6 +-
...InterestScheduleModelRepositoryWrapperImpl.java | 9 +-
.../InterestScheduleModelServiceGsonContext.java | 4 +-
.../InternalProgressiveLoanApiResource.java | 39 +---
...siveLoanInterestScheduleModelParserService.java | 6 +-
...InterestScheduleModelParserServiceGsonImpl.java | 9 +-
.../ProgressiveLoanAccountConfiguration.java | 5 +-
.../portfolio/loanproduct/calc/EMICalculator.java | 22 +-
.../loanproduct/calc/ProgressiveEMICalculator.java | 194 ++++++++++-----
.../loanproduct/calc/data/InterestPeriod.java | 1 +
.../data/LoanInterestScheduleModelModifiers.java | 3 +-
.../data/ProgressiveLoanInterestScheduleModel.java | 21 +-
.../loanproduct/calc/data/RepaymentPeriod.java | 11 +-
...cedPaymentScheduleTransactionProcessorTest.java | 7 +-
.../calc/ProgressiveEMICalculatorTest.java | 5 +-
.../loanproduct/calc/data/InterestPeriodTest.java | 5 +-
.../loanproduct/calc/data/RepaymentPeriodTest.java | 6 +-
.../fineract/cob/api/InternalCOBApiResource.java | 6 +-
.../domain/LoanAccountDomainServiceJpa.java | 4 +-
.../LoanChargeWritePlatformServiceImpl.java | 39 +---
.../service/LoanDisbursementService.java | 7 +-
.../service/LoanPointInTimeServiceImpl.java | 2 +-
.../LoanTransactionProcessingServiceImpl.java | 35 +--
.../loanaccount/service/LoanUtilService.java | 34 +--
.../LoanWritePlatformServiceJpaRepositoryImpl.java | 98 ++++----
.../ProgressiveLoanInterestRefundServiceImpl.java | 8 +-
.../ProgressiveLoanSummaryDataProvider.java | 29 +--
.../ReprocessLoanTransactionsServiceImpl.java | 115 ++-------
.../adjustment/LoanAdjustmentServiceImpl.java | 4 +-
.../LoanContractTerminationServiceImpl.java | 23 +-
.../service/reaging/LoanReAgingService.java | 39 +---
.../service/reaging/LoanReAgingValidator.java | 1 +
.../starter/LoanAccountAutoStarter.java | 11 +-
.../starter/LoanAccountConfiguration.java | 18 +-
.../LoanChargeWritePlatformServiceImplTest.java | 3 +
59 files changed, 890 insertions(+), 723 deletions(-)
copy
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/service/{LoanDownPaymentHandlerService.java
=> ILoanUtilService.java} (51%)
rename
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanproduct/data/{LoanProductRelatedDetailMinimumData.java
=> LoanConfigurationDetails.java} (83%)
rename
fineract-loan/src/main/java/org/apache/fineract/portfolio/loanproduct/domain/{LoanProductMinimumRepaymentScheduleRelatedDetail.java
=> ILoanConfigurationDetails.java} (90%)
create mode 100644
fineract-progressive-loan/src/main/java/org/apache/fineract/portfolio/loanaccount/mapper/LoanConfigurationDetailsMapper.java