diff options
author | 2020-08-28 15:44:11 -0400 | |
---|---|---|
committer | 2020-08-28 15:47:07 -0400 | |
commit | 1c5cb8a0d740ccd92d2b3fdce8eb192cd20b147f (patch) | |
tree | 5b714401a8e35848f85a56bfa64ff47efca260a0 /controlloop/common/eventmanager/src/main/java/org/onap | |
parent | c75e28d1c1221c37ea4fd1feed9d38c75334f4db (diff) |
Tweaks to drools-apps for new usecases controller
Made the following updates:
- modified feature-controlloop-utils to pull from the usecases
controller instead of the frankfurt controller
- modified ONAPInstance in the xacml-pdp Decision request
- log Step2 property changes as info() instead of error()
- log Lock acquisition as info() instead of warn()
Issue-ID: POLICY-2748
Change-Id: I6b4b5877bbd6731acb761d09d0f0dec85561b163
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/eventmanager/src/main/java/org/onap')
2 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManager.java b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManager.java index c0116c952..12128554f 100644 --- a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManager.java +++ b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/ControlLoopEventManager.java @@ -247,7 +247,7 @@ public class ControlLoopEventManager implements StepContext, Serializable { */ @Override public void setProperty(String name, Serializable value) { - logger.error("set property {}={} manager={}", name, value, this); + logger.info("set property {}={} manager={}", name, value, this); properties.put(name, value); } diff --git a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/LockData.java b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/LockData.java index 91b5325e2..119d14651 100644 --- a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/LockData.java +++ b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/eventmanager/LockData.java @@ -126,7 +126,7 @@ public class LockData implements LockCallback { @Override public synchronized void lockAvailable(Lock lock) { - logger.warn("lock granted on {} for {}", targetEntity, requestId); + logger.info("lock granted on {} for {}", targetEntity, requestId); theLock = lock; OperationOutcome outcome = makeOutcome(); |