Do additional processing when control loop times out 57/108357/1
authorJim Hahn <jrh3@att.com>
Fri, 22 May 2020 21:28:22 +0000 (17:28 -0400)
committerJim Hahn <jrh3@att.com>
Wed, 27 May 2020 21:43:32 +0000 (17:43 -0400)
commit8f59dfa64da6617a278558ff563041d6ff7c6670
tree49f0f5b4a4544b829b7e4128c69fc5cbb6e5cedc
parent584b6dde58b4ace70df7f9b976340a6f3775a2f1
Do additional processing when control loop times out

When the overall control loop times out, a notification is sent to
POLICY-CL-MGT, but then the event is discarded.  Modified the code
to update the operation history, if an operation had been started,
and to generate an SDNR notification, if appropriate.
Applied the same logic for when a lock is lost.

Issue-ID: POLICY-2582
Change-Id: I35510ec8a3cfc6b2ca9be5751896f3c0f7d9bd09
Signed-off-by: Jim Hahn <jrh3@att.com>
controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager2.java
controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopOperationManager2Test.java