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 8da89ab7c0 Merge pull request #7041 from
openMF/PS-3547/model-rebuild-reage-e2e
add 20780f9921 FINERACT-3229: PL - Charge amortization: New transaction
types, business events and Avro schemas
add 955e70b91f FINERACT-3229: PL - Charge amortization: New transaction
types, business events and Avro schemas - E2E tests
new 9b1fff3fdb Merge pull request #6966 from
openMF/FINERACT-3229/pl-charge-amortization-new-txn-types-and-business-events-and-avro
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:
.../journalentry/data/LoanTransactionTypeDTO.java | 6 +
.../avro/loan/v1/LoanTransactionEnumDataV1.avsc | 24 +++
.../common/ExternalEventConfigurationStepDef.java | 12 ++
.../test/stepdef/loan/LoanChargeBackStepDef.java | 3 +-
.../resources/features/ChargeAmortization.feature | 39 ++++
...ExternalAssetOwnerLoanProductAttributes.feature | 2 +-
...AdjustmentTransactionCreatedBusinessEvent.java} | 6 +-
...ortizationTransactionCreatedBusinessEvent.java} | 6 +-
...rredChargeTransactionCreatedBusinessEvent.java} | 6 +-
.../LoanTransactionTypeExternalEvents.java | 4 +
.../api/LoanTransactionApiConstants.java | 3 +
.../loanaccount/data/LoanTransactionEnumData.java | 7 +
.../portfolio/loanaccount/domain/Loan.java | 7 +-
.../loanaccount/domain/LoanTransaction.java | 46 ++++-
.../domain/LoanTransactionRepository.java | 15 +-
.../loanaccount/domain/LoanTransactionType.java | 18 ++
.../loanproduct/service/LoanEnumerations.java | 8 +
.../LoanTransactionTypeExternalEventsTest.java | 6 +
.../domain/LoanTransactionDeferredChargeTest.java | 208 +++++++++++++++++++++
.../api/LoanTransactionsApiResource.java | 3 +
.../loanaccount/api/LoansApiResourceSwagger.java | 6 +
.../db/changelog/tenant/changelog-tenant.xml | 1 +
...0290_add_deferred_charge_transaction_types.xml} | 27 ++-
...nalEventConfigurationValidationServiceTest.java | 8 +-
.../LoanDeferredChargeTransactionAvroTest.java | 73 ++++++++
.../ExternalEventConfigurationTestData.java | 3 +
26 files changed, 518 insertions(+), 29 deletions(-)
create mode 100644
fineract-e2e-tests-runner/src/test/resources/features/ChargeAmortization.feature
copy
fineract-loan/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/transaction/{LoanBuyDownFeeAmortizationTransactionCreatedBusinessEvent.java
=>
LoanDeferredChargeAmortizationAdjustmentTransactionCreatedBusinessEvent.java}
(75%)
copy
fineract-loan/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/transaction/{LoanBuyDownFeeAmortizationTransactionCreatedBusinessEvent.java
=> LoanDeferredChargeAmortizationTransactionCreatedBusinessEvent.java} (76%)
copy
fineract-loan/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/transaction/{LoanBuyDownFeeAmortizationTransactionCreatedBusinessEvent.java
=> LoanDeferredChargeTransactionCreatedBusinessEvent.java} (77%)
create mode 100644
fineract-loan/src/test/java/org/apache/fineract/portfolio/loanaccount/domain/LoanTransactionDeferredChargeTest.java
copy
fineract-provider/src/main/resources/db/changelog/tenant/parts/{0190_buy_down_fee_amortization.xml
=> 0290_add_deferred_charge_transaction_types.xml} (59%)
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/infrastructure/event/external/service/serialization/serializer/loan/LoanDeferredChargeTransactionAvroTest.java