Use try-with-resources

Also enhanced JUnit tests to ensure this will work. Reduced code.

Issue-ID: POLICY-482
Change-Id: If07e17df274bdb709f7ca60078bd1fbd78d1aaaa
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
2 files changed
tree: f139ab3175e52930335b9593f123915b74b5b81e
  1. BRMSGateway/
  2. docs/
  3. LogParser/
  4. ONAP-PAP-REST/
  5. ONAP-PDP/
  6. ONAP-PDP-REST/
  7. ONAP-REST/
  8. ONAP-SDK-APP/
  9. ONAP-XACML/
  10. packages/
  11. POLICY-SDK-APP/
  12. PolicyEngineAPI/
  13. PolicyEngineClient/
  14. PolicyEngineUtils/
  15. project-configs/
  16. .gitattributes
  17. .gitignore
  18. .gitreview
  19. LICENSE.txt
  20. pom.xml
  21. README.md
  22. version.properties
README.md

This source repository contains the ONAP Policy Engine 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