Uploaded image for project: 'Policy Framework'
  1. Policy Framework
  2. POLICY-197

drools-applications: logger change breaks junit on drl template

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: High High
    • Amsterdam Release
    • None
    • None

      The following lines of code need to be put back:

      final ControlLoopLogger logger = new ControlLoopLoggerStdOutImpl(); *** THIS one
      kieSession.setGlobal("Logger", logger);
      final PolicyEngineJUnitImpl engine = new PolicyEngineJUnitImpl();
      kieSession.setGlobal("Engine", engine);

      in

      controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/ControlLoopXacmlGuardTest.java

      from

      https://gerrit.onap.org/r/#/c/8655/

      Daniel fixed and corrected junit before Drew's changes and was reenabled, hence the failure is when the merge happened.

            dm741q dm741q
            jhh jhh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: