commit | 51608f7e35fdad0242b3d801f2015a9db5fa93a1 | [log] [tgz] |
---|---|---|
author | janani b <janani.b@huawei.com> | Thu Aug 23 14:41:22 2018 +0530 |
committer | janani b <janani.b@huawei.com> | Thu Aug 23 14:41:22 2018 +0530 |
tree | 9ca1a927e3a64b0720a6604c1f3d6bc4797dd07b | |
parent | c17766d8e6e3c77893603a74921defd68cc0413c [diff] |
Implementation of Data Format serializer Data format serializer code Issue-ID: CCSDK-376 Change-Id: Ie1954e6237374411ce3f07039030027042581d33 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.