Fixing sonar vulnerabilities in apex-pdp 97/58697/1
authorramverma <ram.krishna.verma@ericsson.com>
Thu, 2 Aug 2018 11:50:09 +0000 (12:50 +0100)
committerramverma <ram.krishna.verma@ericsson.com>
Thu, 2 Aug 2018 11:50:35 +0000 (12:50 +0100)
commite4da736f34d7f1fc91fb1370d29f927a9e2ebe2d
treeeb8bdb7dfec67512a38e373d0ae16c2a5a103f73
parent9e318f20f2e64970bf3c2e3a5532c516231a6f8a
Fixing sonar vulnerabilities in apex-pdp

Changed the Console class to use logger only for printing stack trace,
as the class is meant to be used for CLI usage.
Changed the CLIParser to use Console class for printing messages.
Changed the client-editor to be hosted on localhost by default, to follow
the same what others clients (deployment, monitoring & client full) are doing.

Change-Id: I6565b4b35a93b3708b926bfee04d79ead6b5346e
Issue-ID: POLICY-954
Signed-off-by: ramverma <ram.krishna.verma@ericsson.com>
client/client-editor/src/main/java/org/onap/policy/apex/client/editor/rest/ApexEditorParameterParser.java
client/client-editor/src/main/java/org/onap/policy/apex/client/editor/rest/ApexEditorParameters.java
client/client-editor/src/test/java/org/onap/policy/apex/client/editor/rest/TestApexEditorStartup.java
tools/tools-common/src/main/java/org/onap/policy/apex/tools/common/CliParser.java
tools/tools-common/src/main/java/org/onap/policy/apex/tools/common/Console.java