API for RestconfClient

API for RestconfClient including:
- RestconfApiCallNode
- RestconfDiscoveryNode

Change-Id: Ieda6251b91b6d399cd0106993c3fdd1a440d5b0a
Issue-ID: CCSDK-371
Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
19 files changed
tree: d45c061638a355866155c71d6c0a3bdbab52f34e
  1. features/
  2. properties-node/
  3. restapi-call-node/
  4. restconf-client/
  5. sshapi-call-node/
  6. .gitignore
  7. INFO.yaml
  8. LICENSE.txt
  9. pom.xml
  10. README.md
  11. version.properties
README.md

This source repository contains the code for the CCSDK plugins.

To compile this code:

  1. 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.

  2. To compile, run "mvn clean install".

PropertyNode:

  1. Takes any file then parses it and puts it to the context memory for Directed Graphs access.

  2. 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.