diff options
author | Jim Hahn <jrh3@att.com> | 2018-04-27 09:54:17 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2018-04-27 16:00:32 -0400 |
commit | a1c8c6703a339b9c7aaffa85b9f62fc03117d80a (patch) | |
tree | 050ec440659e606e4193952ad8639ccfb4d8f590 /controlloop/common/eventmanager/src/test | |
parent | ad14e8f8d20a9e6c41dc9a7e235198e8d6578564 (diff) |
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>
Diffstat (limited to 'controlloop/common/eventmanager/src/test')
-rw-r--r-- | controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java index 5bd361af3..182791d22 100644 --- a/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java +++ b/controlloop/common/eventmanager/src/test/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManagerTest.java @@ -717,7 +717,7 @@ public class ControlLoopEventManagerTest { event.setClosedLoopAlarmStart(Instant.now()); event.setClosedLoopEventStatus(ControlLoopEventStatus.ONSET); event.setAai(new HashMap<>()); - event.getAai().put("generic-vnf.vnf-name", "onsetOne"); + event.getAai().put("generic-vnf.vnf-id", "onsetOne"); ControlLoopEventManager manager = makeManager(event); try { |