Xentara v2.0.4
User Manual
|
A JSON object describing an execution pipeline has the following syntax:
An execution pipeline must always be a child of an execution track.
name | A string value containing the name of the pipeline. The name is used to construct the pipeline’s primary key. |
UUID | A string value containing the unique UUID of the pipeline. |
ACL | An optional JSON object containing the element ACL of the pipeline. The format of the object is described under JSON Format for ACLs. |
triggers | An optional JSON array containing the triggers that should trigger the execution of the pipeline. The array must contain string values with the primary keys of the events. Each value must conatin one of the following:
If you do not specify any triggers, the pipeline will never be triggered in regular execution, but will perform special maintenance tasks when the operational stage changes. Such pipelines are used by some skills to perform actions for initialization and cleanup. Please refer to the documentation of the individual skills for information on when such a pipeline should be used. |
checkpoints | A JSON array containing the check points of the pipeline. Since the check points do not have any properties of their own, each check point is represented by an empty JSON object ({} ). The array can contain as many check points as desired, but there must be at least two. |
segments | A JSON array containing the segments of the pipeline. |
A JSON object describing a pipeline segment of an execution pipeline has the following syntax:
The array can contain as many segments as desired, but there must be at least one.
start | An integer value containing the index of the starting check point of the segment. The index is 0-based, so that the first check point has index 0, and the last checkpoint has index (number of checkpoints) - 1. If the pipeline has four check points, for example, then indices must be between 0 and 3. |
end | An integer value containing the index of the ending check point of the segment. The index must be higher than the start index. |
tasks | A JSON array containing the tasks to be executed. The array can contain as many tasks as desired, but there must be at least one. |
function | A string value describing the actual Xentara element task to be executed for each task entry. The string value must contain the primary key of the task. |
Here is an example of a complete execution pipeline: