Sonar fix: XmlParser.java

Fixed sonar issues/code-smells across this file

Issue-ID: CCSDK-800
Change-Id: I8d00a6e07bedeee7d5f3afebed982453fe0a4c2d
Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
1 file changed
tree: eb94def4258d5159248f2529ac0351a8c6ac9c2a
  1. artifacts/
  2. features/
  3. properties-node/
  4. restapi-call-node/
  5. restconf-client/
  6. sshapi-call-node/
  7. template-node/
  8. .gitignore
  9. INFO.yaml
  10. LICENSE.txt
  11. pom.xml
  12. README.md
  13. 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".

PropertyNode:

  1. Takes any file then parses it and puts it to the context memory for Directed Graphs access.

  2. Various parameters it takes:

    public String fileName; //Name of the file to put to properties

    public String contextPrefix; //Any prefix to add for your keys in the Properties context

    public Set listNameList;//only applies to XML based file parsing, you can use this to exclude a specific tree to be put to context.

    public boolean fileBasedParsing;//enable to do a file based parsing, currently supports JSON and XML.