rest api call node content type fix

Don't set content-type header when there is no content/body

Issue-ID: CCSDK-1703
Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
Change-Id: I247f571bf0d4fc021a1b32936b3dc33473b35f89
1 file changed
tree: 92bf0300d0abe0a33364e4dba16d62dfeb35bfa5
  1. artifacts/
  2. features/
  3. grToolkit/
  4. properties-node/
  5. releases/
  6. restapi-call-node/
  7. restconf-client/
  8. sshapi-call-node/
  9. template-node/
  10. .gitignore
  11. INFO.yaml
  12. LICENSE.txt
  13. pom.xml
  14. README.md
  15. 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.