Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7695

Logging not initialized but used on Drools Rule files.

    Details

    • Sprint:
      Finalize 16.0.1

      Description

      The files located on $OPENNMS_HOME/etc/examples/drools-engine.d/nodeParentRules/, to be more precise NodeParentRules.drl and drools-engine.xml are not properly initializing the logging engine which makes the rules unusable.

      I was able to verify this behavior by just copy the files from the examples directory into opennms-correlation/drools-correlation-engine/src/test/opennms-home/etc/drools-engine.d/nodeParentRules/. The JUnit tests related with these files won't pass.

      Actually, I think that the files we ship with OpenNMS must be identical to the files we verified through JUnit tests.

      For the logging issue, we should at least comment the lines on the affected files for now, until we figure out how to properly initialize the logging engine with drools.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                seth Seth Leger
                Reporter:
                agalue Alejandro Galue
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: