Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The code is hosted in gerrit under the sdnc/plugins directory. This node loads a properties file on disk and puts the contents into context memory so they can be accessed.

RestapiCallNode

Obsolete ? The code is hosted in gerrit under the sdnc/plugins directory. This node allows a directed graph to make REST requests. The javadocs are very helpful.

New December 2018 :

Plugins are in the CCSDK plugin project since Casablanca release.

There are 2 RestAdapter plugins but I advice to use only the following plugin with SDNC or APPC :

Code Block
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
    <parameter name="restapiUrl" value="`$distant_url`" />
    <parameter name="httpMethod" value="get"/>
    <parameter name="responsePrefix" value="RESPONSE"/>


httpMethod will be get, post, delete, put, patch

requestBody will contain the body of your post/put/patch

more details in the code : https://gerrit.onap.org/r/#/admin/projects/ccsdk/sli/plugins

have a look at RestapiCallNode.java source code to have a complete view on Parameters


SQL Resource

The code is hosted in gerrit under the sdnc/adaptors directory . This resource allows a graph to run SQL statements against a SQL database. If it is a query results are written to context memory.

...