Fix wrong APEX-PDP behaviour during state change 00/128400/1
authora.sreekumar <ajith.sreekumar@bell.ca>
Fri, 8 Apr 2022 15:22:17 +0000 (16:22 +0100)
committera.sreekumar <ajith.sreekumar@bell.ca>
Fri, 8 Apr 2022 15:22:22 +0000 (16:22 +0100)
commitc95f74758ccc2aa680bcd7477b10cb47f3b5080e
treeb9bb3b69b28d6bce62975bcedefe87b5eee7c4bf
parentd0a0ff83aaeccbb16e92b1f09c0160e84e4f8340
Fix wrong APEX-PDP behaviour during state change

When a policy is deployed & undeployed, and then on doing
PDP_STATE_CHANGE to passive and then active, previously undeployed
policies are taken from memory and tried to be deployed. Any undeployed
policies should be cleared from the engine memory.
This is fixed here.

Change-Id: I8f6fbc64d29bd8d89e906376d0770d375ffd8b82
Issue-ID: POLICY-4087
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
services/services-onappf/src/main/java/org/onap/policy/apex/services/onappf/handler/PdpUpdateMessageHandler.java