Update participant state and health in DB 74/124074/1
authorSirisha_Manchikanti <sirisha.manchikanti@est.tech>
Mon, 13 Sep 2021 13:52:59 +0000 (14:52 +0100)
committerSirisha_Manchikanti <sirisha.manchikanti@est.tech>
Mon, 13 Sep 2021 14:02:07 +0000 (15:02 +0100)
commit62f6da46ddfa744f0dae7cd673e4aeb9b84e9bb6
tree61ddddc84d99d072aaabd524537a3a91db5783a5
parent859749a4143c104f6bd63392c8d2cb2839408029
Update participant state and health in DB

Update the state and health-status of a participant in database
to TERMINATED and OFF_LINE respectively when there is a
ParticipantDeregister message from any of the participants.

Issue-ID: POLICY-3578
Signed-off-by: Sirisha_Manchikanti <sirisha.manchikanti@est.tech>
Change-Id: I9c6c028be4c15922717795e2a53cb53d02579dcc
runtime-controlloop/src/main/java/org/onap/policy/clamp/controlloop/runtime/supervision/SupervisionHandler.java