Merge branch 'PR95' into develop
Project: http://git-wip-us.apache.org/repos/asf/incubator-fineract/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-fineract/commit/ffe6a139 Tree: http://git-wip-us.apache.org/repos/asf/incubator-fineract/tree/ffe6a139 Diff: http://git-wip-us.apache.org/repos/asf/incubator-fineract/diff/ffe6a139 Branch: refs/heads/develop Commit: ffe6a139f61bc812e2fdc34055462a0cf1ad8715 Parents: 92286b3 763cf18 Author: Adi Narayana Raju <[email protected]> Authored: Wed May 4 19:10:57 2016 +0530 Committer: Adi Narayana Raju <[email protected]> Committed: Wed May 4 19:10:57 2016 +0530 ---------------------------------------------------------------------- .../AccountingScenarioIntegrationTest.java | 14 +- .../ClientLoanIntegrationTest.java | 334 +- ...anRepaymentRescheduleAtDisbursementTest.java | 41 +- .../LoanReschedulingWithinCenterTest.java | 26 +- .../loans/LoanApplicationTestBuilder.java | 16 - .../common/loans/LoanProductTestBuilder.java | 24 +- .../journalentry/domain/JournalEntry.java | 3 + .../domain/JournalEntryRepository.java | 12 +- .../service/AccountingProcessorHelper.java | 8 +- .../AccrualBasedAccountingProcessorForLoan.java | 111 +- .../infrastructure/jobs/service/JobName.java | 5 +- .../portfolio/calendar/CalendarConstants.java | 3 +- .../calendar/api/CalendarsApiResource.java | 3 +- .../portfolio/calendar/data/CalendarData.java | 84 +- .../portfolio/calendar/domain/Calendar.java | 77 +- .../calendar/domain/CalendarInstance.java | 2 +- .../CalendarCommandFromApiJsonDeserializer.java | 11 + .../CalendarDropdownReadPlatformService.java | 1 + ...CalendarDropdownReadPlatformServiceImpl.java | 4 + .../calendar/service/CalendarEnumerations.java | 27 +- .../CalendarReadPlatformServiceImpl.java | 16 +- .../calendar/service/CalendarUtils.java | 113 +- ...arWritePlatformServiceJpaRepositoryImpl.java | 7 +- .../portfolio/common/domain/NthDayType.java | 17 + .../service/CenterReadPlatformServiceImpl.java | 5 +- .../loanaccount/api/LoanApiConstants.java | 41 +- .../loanaccount/api/LoansApiResource.java | 22 +- .../loanaccount/data/LoanAccountData.java | 32 + .../data/LoanInterestRecalculationData.java | 36 +- .../portfolio/loanaccount/domain/Loan.java | 443 ++- .../domain/LoanInstallmentCharge.java | 6 + ...nInterestRecalcualtionAdditionalDetails.java | 62 + .../LoanInterestRecalculationDetails.java | 157 +- .../LoanRepaymentScheduleInstallment.java | 17 +- .../loanaccount/domain/LoanTransaction.java | 29 + .../loanaccount/domain/LoanTransactionType.java | 9 +- .../loanschedule/data/LoanScheduleParams.java | 76 +- .../domain/AbstractLoanScheduleGenerator.java | 502 ++- ...ingBalanceInterestLoanScheduleGenerator.java | 19 +- .../domain/DefaultScheduledDateGenerator.java | 17 +- .../domain/LoanApplicationTerms.java | 3363 ++++++++---------- .../LoanScheduleModelDisbursementPeriod.java | 6 + .../domain/LoanScheduleModelPeriod.java | 3 + .../LoanScheduleModelRepaymentPeriod.java | 8 + .../domain/ScheduledDateGenerator.java | 4 +- .../service/LoanScheduleAssembler.java | 103 +- ...scheduleRequestWritePlatformServiceImpl.java | 5 +- ...ulateLoanScheduleQueryFromApiJsonHelper.java | 33 +- ...LoanApplicationCommandFromApiJsonHelper.java | 99 +- .../service/LoanAccrualPlatformService.java | 1 + .../service/LoanAccrualPlatformServiceImpl.java | 20 + .../LoanAccrualWritePlatformService.java | 1 + .../LoanAccrualWritePlatformServiceImpl.java | 41 +- ...onWritePlatformServiceJpaRepositoryImpl.java | 213 +- .../loanaccount/service/LoanAssembler.java | 9 +- .../service/LoanReadPlatformService.java | 1 + .../service/LoanReadPlatformServiceImpl.java | 107 +- ...anWritePlatformServiceJpaRepositoryImpl.java | 54 +- .../loanproduct/LoanProductConstants.java | 10 +- .../api/LoanProductsApiResource.java | 7 +- .../loanproduct/data/LoanProductData.java | 53 +- .../LoanProductInterestRecalculationData.java | 76 +- ...LoanProductInterestRecalculationDetails.java | 272 +- .../domain/LoanProductRelatedDetail.java | 4 +- .../serialization/LoanProductDataValidator.java | 69 +- .../LoanDropdownReadPlatformService.java | 2 + .../LoanDropdownReadPlatformServiceImpl.java | 28 +- .../loanproduct/service/LoanEnumerations.java | 49 + .../LoanProductReadPlatformServiceImpl.java | 46 +- ...ssWritePlatformServiceJpaRepositoryImpl.java | 4 +- ...req_and_insertion_script_for_accrual_job.sql | 60 + ...LoanRepaymentScheduleInstallmentBuilder.java | 6 +- 72 files changed, 4180 insertions(+), 3009 deletions(-) ----------------------------------------------------------------------
