Fix sonar critical for password 59/12559/1
authorPamela Dragosh <pdragosh@research.att.com>
Thu, 14 Sep 2017 21:22:24 +0000 (17:22 -0400)
committerPamela Dragosh <pdragosh@research.att.com>
Thu, 14 Sep 2017 21:34:14 +0000 (17:34 -0400)
commitdd1df5fdcc8fe69f7ae310d9ffb29c2116973bd0
treef18ed286e68df4e147c086cdc6b5ba72d7123ade
parent0e87901898a23bfdfc993edb312488006299d01a
Fix sonar critical for password

Focused on hard coded passwords. I believe they are only
used for JUnit tests so I moved them into a file for use.
If they still show up on sonar then I will move into a properties
file and/or mark as not going to fix.

Issue-ID: POLICY-237
Change-Id: I6fa561714091043a2ea5e2edfb0441c2dfc8b044
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
integrity-audit/src/main/java/org/onap/policy/common/ia/IntegrityAuditProperties.java
integrity-audit/src/test/java/org/onap/policy/common/ia/test/AuditPeriodTest.java
integrity-audit/src/test/java/org/onap/policy/common/ia/test/DbAuditCompareEntriesTest.java
integrity-audit/src/test/java/org/onap/policy/common/ia/test/DbAuditTest.java
integrity-audit/src/test/java/org/onap/policy/common/ia/test/DbDAOTest.java
integrity-audit/src/test/java/org/onap/policy/common/ia/test/IntegrityAuditDesignationTest.java
integrity-audit/src/test/java/org/onap/policy/common/ia/test/TestUtils.java [new file with mode: 0644]
integrity-monitor/src/main/java/org/onap/policy/common/im/IntegrityMonitorProperties.java
integrity-monitor/src/test/java/org/onap/policy/common/im/test/IntegrityMonitorTest.java