Versions Compared

Key

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

...

Table Of Contents

Table of Contents
maxLevel4

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 ContentsmaxLevel4


Flow Control

Block node

Description

...

atomicif 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

...

atomicif 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.
indexindex variable
startinitial value
endmaximum value
silentFailureOptional 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.

...

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
statusStatus value to return (success or failure)

...