FINERACT-1926: Fineract Asset Externalization new asset events

- [x] Add LoanOwnershipTransferBusinessEvent
- [x] Add LoanAccountSnapshotBusinessEvent
- [x] Move packages to the right packages
- [X] Implement LoanOwnershipTransferBusinessEvent serializer
- [x] Call cancel/buyback/sale event
- [x] Unit tests
This commit is contained in:
Peter Bagrij
2023-06-13 15:28:51 +02:00
committed by Arnold Gálovics
parent d37c0e1de2
commit 25d7a9228a
20 changed files with 771 additions and 12 deletions
@@ -470,6 +470,16 @@ public class ExternalEventConfigurationHelper {
loanRescheduledDueAdjustScheduleBusinessEvent.put("enabled", false);
defaults.add(loanRescheduledDueAdjustScheduleBusinessEvent);
Map<String, Object> loanOwnershipTransferBusinessEvent = new HashMap<>();
loanOwnershipTransferBusinessEvent.put("type", "LoanOwnershipTransferBusinessEvent");
loanOwnershipTransferBusinessEvent.put("enabled", false);
defaults.add(loanOwnershipTransferBusinessEvent);
Map<String, Object> loanAccountSnapshotBusinessEvent = new HashMap<>();
loanAccountSnapshotBusinessEvent.put("type", "LoanAccountSnapshotBusinessEvent");
loanAccountSnapshotBusinessEvent.put("enabled", false);
defaults.add(loanAccountSnapshotBusinessEvent);
return defaults;
}