Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: schema note added

NOTE: This page should be updated from the auto-generated documentation from the SDNC build. This page covers the nodes as of January 2017.

Schema

You can think of the JSON as Directed Graph source code and the XML as compiled code. The XML must conform to the schema at https://gerrit.onap.org/r/gitweb?p=ccsdk/sli/core.git;a=blob;f=sli/common/src/main/resources/svclogic.xsd;hb=refs/heads/master. The XML schema reveals what nodes are supported and which attributes are appropriate for each node. This page explains each node in plain English with accompanying code snippets as an alternative to reading the schema file itself.

Supported node types 

The following built-in node types are currently supported:

...

A while node is used to create a while loop

Attributes
testCondition to test
doOptional boolean, when true the loop executes once regardless of the test condition
Parameters

None

Outcomes

Depends on the test condition

...