diff options
author | Magnusen, Drew (dm741q) <dm741q@att.com> | 2017-08-29 08:56:58 -0500 |
---|---|---|
committer | Magnusen, Drew (dm741q) <dm741q@att.com> | 2017-08-29 08:57:05 -0500 |
commit | 25e55b9885494fab97654bb7f4820fdecb57bbb8 (patch) | |
tree | 0ca8bdf01f46e7780e076b482e6476c10963c1a5 /controlloop/templates/template.demo/src | |
parent | 5d7908a75107dcd18e7dd2f8a2d3e6528f5f830d (diff) |
Restored global ControlLoopLogger
Restored previously deleted global ControlLoopLogger which
is loaded into the kieSession for the test.
Issued-ID: POLICY-197
Change-Id: I55e9a3a0c2627ecbecbef8059e70d672e6157fdc
Signed-off-by: Magnusen, Drew (dm741q) <dm741q@att.com>
Diffstat (limited to 'controlloop/templates/template.demo/src')
-rw-r--r-- | controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/ControlLoopXacmlGuardTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/ControlLoopXacmlGuardTest.java b/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/ControlLoopXacmlGuardTest.java index 1fce83d2c..35f3cc18d 100644 --- a/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/ControlLoopXacmlGuardTest.java +++ b/controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/ControlLoopXacmlGuardTest.java @@ -224,7 +224,8 @@ public class ControlLoopXacmlGuardTest { // // Insert our globals // - kieSession.setGlobal("Logger", logger); + final ControlLoopLogger controlLoopLogger = new ControlLoopLoggerStdOutImpl(); + kieSession.setGlobal("Logger", controlLoopLogger); final PolicyEngineJUnitImpl engine = new PolicyEngineJUnitImpl(); kieSession.setGlobal("Engine", engine); |