...
# | Issue | Notes/Jira | Decision |
---|---|---|---|
1 | Agree on a solution | proceed with Solution#2 as it would be more scalable. |
Implementation Proposal
...
Problem Statement :
To publish the NcmpEvent when there is a change in the cmHandleState ( state transition )
...
- Use code triggers
- Any other solution ? Common State Handler
Solution #1 : Code Triggers
...
- Create a cmHandleState handler which takes in the cmHandleState transition event
-- Responsible for identifying the state transition
-- Based on state transition call the relevant methods to create the NcmpEvent accordingly. - Identify the trigger points in the code where the actual state transitioning is happening and call the handler from there and provide the type of transition.
Overview
2. Solution #2
Responsibilities of the state handlers
...