This is an automated email from the ASF dual-hosted git repository.
arnold pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
from d06c3655a FINERACT-1734: Loan status can and only be set using the
State Machine
add 130d9c0c3 FINERACT-1734: New business events and refactorings
No new revisions were added by this update.
Summary of changes:
.../src/main/avro/loan/v1/LoanAccountDataV1.avsc | 19 ++---
...ustmentDataV1.avsc => LoanChargeDeletedV1.avsc} | 10 +--
...tDataV1.avsc => LoanTransactionWithLoanV1.avsc} | 8 +-
.../src/docs/en/chapters/architecture/index.adoc | 2 +
...RescheduledDueCalendarChangeBusinessEvent.java} | 6 +-
...=> LoanRescheduledDueHolidayBusinessEvent.java} | 6 +-
... LoanScheduleVariationsAddedBusinessEvent.java} | 6 +-
...oanScheduleVariationsDeletedBusinessEvent.java} | 6 +-
...nt.java => LoanStatusChangedBusinessEvent.java} | 6 +-
...> LoanUpdateDisbursementDataBusinessEvent.java} | 6 +-
.../external/service/ExternalEventService.java | 14 +++
... LoanChargeDeletedBusinessEventSerializer.java} | 27 +++---
.../LoanTransactionBusinessEventSerializer.java | 16 +++-
.../domain/DefaultLoanLifecycleStateMachine.java | 18 ++++
.../portfolio/loanaccount/domain/Loan.java | 87 +------------------
.../domain/LoanAccountDomainServiceJpa.java | 4 +-
.../ApplyHolidaysToLoansConfig.java | 27 ++----
.../ApplyHolidaysToLoansTasklet.java | 88 ++++++++++++++++++-
.../LoanScheduleWritePlatformServiceImpl.java | 34 +++-----
...ationWritePlatformServiceJpaRepositoryImpl.java | 99 ++--------------------
.../loanaccount/service/LoanAssembler.java | 41 ++-------
.../LoanWritePlatformServiceJpaRepositoryImpl.java | 99 +++-------------------
.../external/service/ExternalEventServiceTest.java | 7 +-
23 files changed, 240 insertions(+), 396 deletions(-)
copy
fineract-avro-schemas/src/main/avro/loan/v1/{LoanTransactionAdjustmentDataV1.avsc
=> LoanChargeDeletedV1.avsc} (53%)
copy
fineract-avro-schemas/src/main/avro/loan/v1/{LoanTransactionAdjustmentDataV1.avsc
=> LoanTransactionWithLoanV1.avsc} (65%)
copy
fineract-provider/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/{LoanCloseAsRescheduleBusinessEvent.java
=> LoanRescheduledDueCalendarChangeBusinessEvent.java} (82%)
copy
fineract-provider/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/{LoanInterestRecalculationBusinessEvent.java
=> LoanRescheduledDueHolidayBusinessEvent.java} (84%)
copy
fineract-provider/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/{LoanCreatedBusinessEvent.java
=> LoanScheduleVariationsAddedBusinessEvent.java} (83%)
copy
fineract-provider/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/{LoanAcceptTransferBusinessEvent.java
=> LoanScheduleVariationsDeletedBusinessEvent.java} (82%)
copy
fineract-provider/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/{LoanRemoveOfficerBusinessEvent.java
=> LoanStatusChangedBusinessEvent.java} (85%)
copy
fineract-provider/src/main/java/org/apache/fineract/infrastructure/event/business/domain/loan/{LoanAcceptTransferBusinessEvent.java
=> LoanUpdateDisbursementDataBusinessEvent.java} (83%)
copy
fineract-provider/src/main/java/org/apache/fineract/infrastructure/event/external/service/serialization/serializer/loan/{LoanBusinessEventSerializer.java
=> LoanChargeDeletedBusinessEventSerializer.java} (70%)