Fix TestSO properties 61/15661/1
authorTemoc Rodriguez <cr056n@att.com>
Tue, 26 Sep 2017 17:28:40 +0000 (10:28 -0700)
committerTemoc Rodriguez <cr056n@att.com>
Tue, 26 Sep 2017 17:38:45 +0000 (10:38 -0700)
commit0a5a9ed45639d56554ecb751de105105fac5da95
tree76d7bd499a5df1c16dfb5409ac5e6c01825ba0e2
parent742270864ddc3f89320b815fa9cd85caf83fca46
Fix TestSO properties

TestSO was missing the environment properties for AAI and SO url, user,
and pass. Set SO and AAI properties in TestSO.java. If this is not set,
then the response will be null and the junit will fail. Moved setting
properties to Util.java to promote code reuse.

Issue-ID: POLICY-259
Change-Id: Id73611abab900675a1f2b543f71566baa05318b2
Signed-off-by: Temoc Rodriguez <cr056n@att.com>
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/TestSO.java
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/Util.java
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VDNSControlLoopTest.java
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VFCControlLoopTest.java
controlloop/templates/template.demo/src/test/java/org/onap/policy/template/demo/VFWControlLoopTest.java