[
https://issues.apache.org/jira/browse/FINERACT-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18100097#comment-18100097
]
Lea Fan commented on FINERACT-2475:
-----------------------------------
[~adamsaghy]
Hi Adam, the five new events need to be registered in the
{{m_external_event_configuration}} table so they can be enabled for external
publishing. Which approach should I use?
# Add them to the existing
{{{}0056_add_external_event_default_configuration.xml{}}}.
# Create a new changeset under {{db/changelog/tenant/parts}} and include it in
{{{}changelog-tenant.xml{}}}.
> Implement Business Events for missing Client lifecycle transitions
> ------------------------------------------------------------------
>
> Key: FINERACT-2475
> URL: https://issues.apache.org/jira/browse/FINERACT-2475
> Project: Apache Fineract
> Issue Type: Improvement
> Reporter: Nidhi Bhawari
> Priority: Major
> Labels: beginner, beginner-friendly
>
> Currently, the Business Event Framework within the Client module is
> incomplete. It supports events for Creation, Activation, and Rejection, but
> critical lifecycle transitions such as Closing, Withdrawing, Reactivating,
> and the "Undo" actions (Undo Rejection/Withdrawal) do not emit business
> events.
> *Goal:* Achieve full lifecycle event coverage for the Client entity. This
> aligns with the project's goal (FINERACT-2022) to move toward a robust
> Event-Driven Architecture (EDA), allowing external systems to react to all
> client state changes in real-time.
> *Proposed Changes:*
> # Implement 5 new event classes extending {{{}ClientBusinessEvent{}}}:
> ** {{ClientCloseBusinessEvent}}
> ** {{ClientWithdrawBusinessEvent}}
> ** {{ClientReactivateBusinessEvent}}
> ** {{ClientUndoRejectionBusinessEvent}}
> ** {{ClientUndoWithdrawalBusinessEvent}}
> # Update {{ClientWritePlatformServiceJpaRepositoryImpl}} to notify the
> {{BusinessEventNotifierService}} after successful database persistence for
> these transitions.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)