Don't build credentials if user name is empty 99/48999/1 2.0.0-ONAP beijing 2.0.0-ONAP v1.2.3
authorJim Hahn <jrh3@att.com>
Thu, 24 May 2018 17:24:12 +0000 (13:24 -0400)
committerJim Hahn <jrh3@att.com>
Thu, 24 May 2018 17:24:12 +0000 (13:24 -0400)
commit9cbca383a8fdd1c079f35ceecb8787a70a15c585
tree5262862435f77b1d738a0f1f71ddd62c4bee52b0
parentc7cfbcb4dbd13a2e4595ab5b7a0558fb6a66879a
Don't build credentials if user name is empty

Modified code to skip building credentials if user name
is empty, in addition to case where user name is null.

Change-Id: I5b53d4f97263df98cfe082f44a4e6af64b1e488b
Issue-ID: POLICY-868
Signed-off-by: Jim Hahn <jrh3@att.com>
controlloop/common/model-impl/rest/src/main/java/org/onap/policy/rest/RESTManager.java
controlloop/common/model-impl/rest/src/test/java/org/onap/policy/rest/TestGet.java
controlloop/common/model-impl/rest/src/test/java/org/onap/policy/rest/TestPost.java