Modify PolicyGuard to use new locking API 19/45119/2
authorJim Hahn <jrh3@att.com>
Fri, 27 Apr 2018 13:54:17 +0000 (09:54 -0400)
committerJim Hahn <jrh3@att.com>
Fri, 27 Apr 2018 20:00:32 +0000 (16:00 -0400)
commita1c8c6703a339b9c7aaffa85b9f62fc03117d80a
tree050ec440659e606e4193952ad8639ccfb4d8f590
parentad14e8f8d20a9e6c41dc9a7e235198e8d6578564
Modify PolicyGuard to use new locking API

Modified PolicyGuard to use the locking API from policy-core instead
of its own internal map.
Initialized PolicyGuard.factory.
Fixed bug in eventmanager junit test uncovered due to changes to
PolicyGuard.

Change-Id: I853ee5f146f3bde16b3f6e65bc188ca7c0cc4f73
Issue-ID: POLICY-577
Signed-off-by: Jim Hahn <jrh3@att.com>
controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java
controlloop/common/guard/src/main/java/org/onap/policy/guard/PolicyGuard.java
controlloop/common/guard/src/test/java/org/onap/policy/guard/PolicyGuardTest.java