Refinements to RestApiCall plugin

Changes includes:
1) Check for null in JsonParser.convertToProperties() which can otherwise result in null pointer exception
2) Use logger built-in string formatting rather then string concatenation
3) Use StringBuilder for multiple string concatenations
4) Making utility classes final and defines private constructor for them
5) Added testcases/testpoints
https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.plugins%3Accsdk-sli-plugins#resolved=false|severities=CRITICAL

Change-Id: Ic047b6d0369827a38a98c52e8365f1fe7266840f
Issue-Id: CCSDK-67
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
6 files changed
tree: b8b753c9c73792dc8c874a112e290ead9ba9fe22
  1. fabric-discovery-plugin/
  2. properties-node/
  3. restapi-call-node/
  4. .gitignore
  5. LICENSE.txt
  6. pom.xml
  7. README.md
  8. version.properties
README.md

This source repository contains the code for the CCSDK plugins.

To compile this code:

  1. Make sure your local Maven settings file ($HOME/.m2/settings.xml) contains references to the ONAP repositories and OpenDaylight repositories. See example-settings.xml for an example.

  2. To compile, run "mvn clean install".