commit | f6503a043bd4fb848d28d2f5d4aa45224041e099 | [log] [tgz] |
---|---|---|
author | Arundathi Patil <arundpil@in.ibm.com> | Sat Dec 29 00:08:23 2018 +0530 |
committer | IBM602-PC0F1E3C\Arundathi <arundpil@in.ibm.com> | Sat Dec 29 00:08:31 2018 +0530 |
tree | eb94def4258d5159248f2529ac0351a8c6ac9c2a | |
parent | 62e62331a294052109f02686e4529fe613355990 [diff] |
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>
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.