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 b9968c3ae3 Merge pull request #6877 from
openMF/FINERACT-3043/sql-007-on-querydsl-infrastructure
add 7950c1af1e FINERACT-3326: Add loan recalculation command for
progressive loans
add bef5d06c61 FINERACT-3326: Add loan recalculation command for
progressive loans - E2E tests
new 861ef45142 Merge pull request #7026 from
openMF/PS-3547/loan-recalculation
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:
.../commands/domain/CommandWrapperConstants.java | 1 +
.../commands/service/CommandWrapperBuilder.java | 10 +
.../apache/fineract/test/data/job/DefaultJob.java | 3 +-
.../test/factory/LoanProductsRequestFactory.java | 17 +
.../stepdef/loan/LoanRecalculationStepDef.java | 118 ++++++
.../fineract/test/stepdef/loan/LoanStepDef.java | 17 +
.../fineract/test/support/TestContextKey.java | 1 +
.../resources/features/LoanRecalculation.feature | 106 ++++++
.../loanaccount/api/LoanApiConstants.java | 1 +
.../loanaccount/service/LoanScheduleService.java | 8 +-
.../service/LoanScheduleServiceTest.java | 125 +++++++
.../jobs/filter/LoanCOBFilterHelperImpl.java | 14 +-
.../filter/LoanRecalculationRequestMatcher.java | 98 +++++
.../filter/ProgressiveLoanModelCheckerHelper.java | 14 +-
.../loanaccount/api/LoansApiResource.java | 12 +-
.../RecalculateLoanCommandHandler.java} | 13 +-
.../recalculation/LoanRecalculationService.java | 149 ++++++++
.../db/changelog/tenant/changelog-tenant.xml | 1 +
.../parts/0294_add_recalculate_loan_permission.xml | 22 +-
.../LoanRecalculationRequestMatcherTest.java | 151 ++++++++
.../LoanRecalculationServiceTest.java | 174 +++++++++
.../feign/tests/FeignLoanRecalculationTest.java | 395 +++++++++++++++++++++
...nProgressiveLoanModelRebuildAfterReAgeTest.java | 39 ++
23 files changed, 1466 insertions(+), 23 deletions(-)
create mode 100644
fineract-e2e-tests-core/src/test/java/org/apache/fineract/test/stepdef/loan/LoanRecalculationStepDef.java
create mode 100644
fineract-e2e-tests-runner/src/test/resources/features/LoanRecalculation.feature
create mode 100644
fineract-loan/src/test/java/org/apache/fineract/portfolio/loanaccount/service/LoanScheduleServiceTest.java
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/infrastructure/jobs/filter/LoanRecalculationRequestMatcher.java
copy
fineract-provider/src/main/java/org/apache/fineract/{infrastructure/jobs/handler/UpdateJobDetailCommandhandler.java
=>
portfolio/loanaccount/handler/loan/recalculation/RecalculateLoanCommandHandler.java}
(75%)
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/portfolio/loanaccount/service/recalculation/LoanRecalculationService.java
copy
fineract-working-capital-loan/src/main/resources/db/changelog/tenant/module/workingcapitalloan/parts/0090_wc_adjust-by-delta-transaction-permission.xml
=>
fineract-provider/src/main/resources/db/changelog/tenant/parts/0294_add_recalculate_loan_permission.xml
(72%)
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/infrastructure/jobs/filter/LoanRecalculationRequestMatcherTest.java
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/portfolio/loanaccount/service/recalculation/LoanRecalculationServiceTest.java
create mode 100644
integration-tests/src/test/java/org/apache/fineract/integrationtests/client/feign/tests/FeignLoanRecalculationTest.java