Fix sonar blocker/critical

Also add back .gitignore
Sonar blocker for change condition always true. Easier to re-write
this using try-with-resources.
Use synchronized static method to set a static variable.
Don't use e.printStackTrace it causes sonar critical to log exception
Log the bytes read. Ideally I would re-write this using Java 8 NIO

Issue-ID: POLICY-195
Change-Id: I080d1ad4c8bea91f87c3eca109325700e1589558
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
10 files changed
tree: 0e58369d38146f5408e9c57fbbc91de80540f2a8
  1. api-state-management/
  2. feature-eelf/
  3. feature-healthcheck/
  4. feature-session-persistence/
  5. feature-state-management/
  6. feature-test-transaction/
  7. packages/
  8. policy-core/
  9. policy-endpoints/
  10. policy-management/
  11. policy-utils/
  12. .gitignore
  13. .gitreview
  14. LICENSE.txt
  15. pom.xml
  16. README.md
  17. 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