commit | 6f43bd02d4851c97d857cf65efbd581a9078c3d8 | [log] [tgz] |
---|---|---|
author | Arundathi Patil <arundpil@in.ibm.com> | Mon Dec 17 17:00:23 2018 +0530 |
committer | Arundathi Patil <arundpil@in.ibm.com> | Mon Dec 17 12:18:06 2018 +0000 |
tree | a26c4c1e32306700920e0c26930adffb3aa129a7 | |
parent | 0d1a8d87eadc7a6a6d46b096752a2b80f4cfae9e [diff] |
Sonar Fix: XmlParser.java Fixed sonar issues/code-smells across this file. Issue-ID: CCSDK-800 Change-Id: I7ed74ea9c8d37137e7e223d9488988e497d604b0 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
This source repository contains the code for the CCSDK plugins.
To compile this code:
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.
To compile, run "mvn clean install".
PropertyNode:
Takes any file then parses it and puts it to the context memory for Directed Graphs access.
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.