Xentara v1.2.1
User Manual
Loading...
Searching...
No Matches
JSON Format for Signal Bridges

A JSON object describing a debugging bridge has the following syntax:

{
"@Microservice.Debugging.Inspector": {
"id": "Inspector 1",
"uuid": "f301f77a-e995-4170-a4cc-92da13f3e2e6",
"stages": [ "preop", "op" ],
"connections": [
{
"source": "Signal Generator.Signal 1.value",
"target": "Signal Logger.text"
},
{
"source": "Signal Generator.Signal 2.value",
"target": "Signal Logger.text"
},
{
"source": "Signal Generator.Signal 3.value",
"target": "Signal Logger.text",
"errorHandler": "Signal Logger.errorText"
}
]
}
}

Object Members
idA string value containing the ID of the microservice. The ID is used to construct the microservice’s primary key.
uuidA string value containing the unique UUID of the microservice.
stages

An optional array of string values describing the operational stages in which copying should be performed. Use the following keywords for the individual stages:

Keyword Stage
"startup"
Startup
"preop"
Pre-Operational
"op"
Operational
"postop"
Post-Operational
"shutdown"
Shutdown

Instead if an array of stage keywords, you can specify the string value "all" to denote that copying should be done in all stages. Do not enclose the string in an array: simple write "stages": "all".

If you omit this member, copying will be done in the operational stage only.

connectionsAn array of objects describing the individual connections.

The JSON objects describing the individual connections have the following members:

Connection Object Members
sourceA string value describing the attribute that the value should be read from. The string values must contain the primary key of the attribute.
targetA string value describing the attribute that the value should be written to. The string values must contain the primary key of the attribute.
errorHandlerAn optional string value describing the attribute that the error message should be written to if the source attribute could not be read. The string values must contain the primary key of the attribute.