commit | 0570deb66e8815ad78a486516ebe5273b3238e78 | [log] [tgz] |
---|---|---|
author | Vidyashree Rama <vidyashree.rama@huawei.com> | Wed Apr 17 09:10:56 2019 +0530 |
committer | Vidyashree Rama <vidyashree.rama@huawei.com> | Wed Apr 17 09:55:39 2019 +0000 |
tree | 6cb2645d1fee627b7bcf26c60a291130bad4aa1b | |
parent | a5fa2ea36c115aba01eb3328fd95a12dd654ed00 [diff] |
Code refactoring in restconf client yang serialisers. 1. logging the exception when handling underscore in yang serialisers 2. Refactor code to not nest more than 3 if/for statements 3. Throw SvcLogicException instead of generic 4. Reduce switch case number of lines from 8 to at most 5 Issue-ID: CCSDK-1236 Change-Id: Ic02ba424c2d1748d071e38d25ae159f5d8bd6451 Signed-off-by: Vidyashree Rama <vidyashree.rama@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.