...
- We have to introduce a detail field in the NcmpEvent payload which can contain the previous state and other details.
- We have to publish an event on public properties update ( even though we dont have any state change ???? )
...
- 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
References :
CPS-799 Spike: Define states and state handling for CM handle
...