IntegrityMonitor check before commit

Under some conditions the JPA transaction may be already closed
when commit is called in StateManagement. Surround it with a
check to see if the transaction is active, so it will not
generate an error in the log.

Issue-ID: POLICY-484
Change-Id: Id54585e68361a0be9ae8afd7e9ccba2f7eadfe5f
Signed-off-by: Kevin McKiou <km097d@att.com>
1 file changed
tree: 4c7ce4f79b49f34de62fb7ec5ba32efc8e4944d9
  1. common-logging/
  2. integrity-audit/
  3. integrity-monitor/
  4. project-configs/
  5. site-manager/
  6. .gitattributes
  7. .gitignore
  8. .gitreview
  9. LICENSE.txt
  10. pom.xml
  11. README.md
  12. version.properties
README.md

This source repository contains ONAP common code, which is shared by 'policy-drools-pdp' and 'policy-engine'. 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