...
Table Of Contents
Table of Contents | ||
---|---|---|
|
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.
...
The following built-in node types are currently supported: Table of Contents
Flow Control
Block node
Description
...
atomic | if true, then if a node returns failure, subsequent nodes will not be executed and nodes already executed will be backed out. If unset it is treated as false. |
Parameters
None
Outcomes
None
...
atomic | if true, then if a node returns failure, subsequent nodes will not be executed and nodes already executed will be backed out. If unset it is treated as true. |
index | index variable |
start | initial value |
end | maximum value |
silentFailure | Optional boolean, when true for loops will not throw an exception for a null or invalid index. If unset it is treated as false. |
Parameters
Not applicable.
...
A return node is used to return a status to the invoking MD-SAL application. The return node does not prevent the execution of subsequent nodes. The status set by the return node is tested by atomic for and block nodes.
Attributes
status | Status value to return (success or failure) |
...