commit | da54fc49d3f16d7028a42cd90ad1500973814790 | [log] [tgz] |
---|---|---|
author | janani b <janani.b@huawei.com> | Mon Oct 08 16:13:36 2018 +0530 |
committer | janani b <janani.b@huawei.com> | Mon Oct 08 16:33:50 2018 +0530 |
tree | 1a4e3a7c444d5e75cba8bdff5c36d1ad86b3eee0 | |
parent | 769622040a1fa819d2708c50d4904ac24b867a38 [diff] |
Appending dummy root node to XML data format To hold all the children in XML message a dummy root node is added Issue-ID: CCSDK-324 Change-Id: I7cf0266d15e6bfaa2b9207e77d8bd5372a164b4f Signed-off-by: janani b <janani.b@huawei.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.