[POLICY-75] Problems with KieScanner

1) Change the 'PolicySession.DefaultThreadModel' thread so it
   continually calls 'fireUntilHalt' until it is explicitly stopped by
   the 'stop()' method. This allows it to restart after 'KieScanner'
   triggers an update.

2) Remove call to 'startScanner' in 'PolicyContainer' constructor --
   we saw at least one case where 'KieScanner' would repeatedly update
   the Drools container every 60 seconds.

Change-Id: I0d0e6c5650cef12ca00cf88f9b8cc52323bb6317
Signed-off-by: Ralph Straubs <rs8887@att.com>
2 files changed
tree: 1a7bc682c96ebd48813b17c2c4262d0899a45d07
  1. feature-eelf/
  2. feature-healthcheck/
  3. packages/
  4. policy-core/
  5. policy-endpoints/
  6. policy-management/
  7. policy-utils/
  8. .gitignore
  9. .gitreview
  10. LICENSE.txt
  11. pom.xml
  12. README.md
  13. version.properties
README.md

This source repository contains the OpenECOMP Policy DroolsPDP code. The settings file only needs to support the standard Maven repositories (e.g. central = http://repo1.maven.org/maven2/), and any proxy settings needed in your environment.

To build it using Maven 3, first build 'policy-common-modules' (which contains dependencies), and then run: mvn clean install