Eliminate hanging when updating Drools containers

'PolicyContainer.updateToVersion(...)' now hangs unless the Drools session
threads are stopped prior to the update. This wasn't an issue in the past,
and it isn't clear what causes it to happen now. It also happened in the
Junit tests I am currently working on.

In any case, the 'updateToVersion' method has now been changed to stop
the threads prior to an update attempt, do the update, and then restart
the threads.

Change-Id: I577a67c6e99a68bcbe3c2f476f93c0a72b93451a
Issue-ID: POLICY-234
Signed-off-by: Ralph Straubs <rs8887@att.com>
1 file changed
tree: 4320ec8420180419fca771a6964c7be11a7aa64f
  1. feature-eelf/
  2. feature-healthcheck/
  3. feature-session-persistence/
  4. feature-test-transaction/
  5. packages/
  6. policy-core/
  7. policy-endpoints/
  8. policy-management/
  9. policy-utils/
  10. .gitignore
  11. .gitreview
  12. LICENSE.txt
  13. pom.xml
  14. README.md
  15. version.properties
README.md

This source repository contains the ONAP Policy DroolsPDP code. To build it:

  1. using Maven 3
  2. git clone http://gerrit.onap.org/r/oparent and copy oparent/settings.xml to ~/.m2
  3. mvn clean install