223 lines
6.1 KiB
JSON
223 lines
6.1 KiB
JSON
|
|
{
|
||
|
|
"nodes": [
|
||
|
|
{
|
||
|
|
"id": "2",
|
||
|
|
"position": {
|
||
|
|
"x": 0,
|
||
|
|
"y": 0
|
||
|
|
},
|
||
|
|
"data": {
|
||
|
|
"nodeConfig": {
|
||
|
|
"activityConfig": {
|
||
|
|
"retryPolicy": {
|
||
|
|
"maximumAttempts": 0,
|
||
|
|
"initialInterval": 1000,
|
||
|
|
"backoffCoefficient": 2,
|
||
|
|
"maximumInterval": 100000
|
||
|
|
},
|
||
|
|
"timeouts": {
|
||
|
|
"startToCloseTimeout": 0,
|
||
|
|
"scheduleToStartTimeout": 0,
|
||
|
|
"scheduleToCloseTimeout": 0,
|
||
|
|
"heartbeatTimeout": 0
|
||
|
|
},
|
||
|
|
"taskQueue": {
|
||
|
|
"taskQueueName": ""
|
||
|
|
},
|
||
|
|
"advancedSettings": {
|
||
|
|
"cancellationType": "TRY_CANCEL",
|
||
|
|
"heartbeatEnabled": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"blockName": "addition",
|
||
|
|
"commitId": "97ec9e0d50ca7308347b28f8c006a475357eb096",
|
||
|
|
"repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks_transformer.git",
|
||
|
|
"schema": {
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"a": {
|
||
|
|
"type": "integer",
|
||
|
|
"description": "First number to add.",
|
||
|
|
"source": "$root.a"
|
||
|
|
},
|
||
|
|
"b": {
|
||
|
|
"type": "integer",
|
||
|
|
"description": "Second number to add.",
|
||
|
|
"source": "$root.b"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"a",
|
||
|
|
"b"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"outputSchema": {
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"sum": {
|
||
|
|
"type": "integer",
|
||
|
|
"description": "Sum of the two numbers."
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"type": "transformerNode",
|
||
|
|
"positionAbsolute": {
|
||
|
|
"x": 0,
|
||
|
|
"y": 0
|
||
|
|
},
|
||
|
|
"width": 260,
|
||
|
|
"height": 79
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "m3aiq7ixuo6du35h8tr",
|
||
|
|
"position": {
|
||
|
|
"x": 0,
|
||
|
|
"y": 150
|
||
|
|
},
|
||
|
|
"data": {
|
||
|
|
"nodeConfig": {
|
||
|
|
"activityConfig": {
|
||
|
|
"retryPolicy": {
|
||
|
|
"maximumAttempts": 0,
|
||
|
|
"initialInterval": 1000,
|
||
|
|
"backoffCoefficient": 2,
|
||
|
|
"maximumInterval": 100000
|
||
|
|
},
|
||
|
|
"timeouts": {
|
||
|
|
"startToCloseTimeout": 0,
|
||
|
|
"scheduleToStartTimeout": 0,
|
||
|
|
"scheduleToCloseTimeout": 0,
|
||
|
|
"heartbeatTimeout": 0
|
||
|
|
},
|
||
|
|
"taskQueue": {
|
||
|
|
"taskQueueName": ""
|
||
|
|
},
|
||
|
|
"advancedSettings": {
|
||
|
|
"cancellationType": "TRY_CANCEL",
|
||
|
|
"heartbeatEnabled": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"blockName": "multiply",
|
||
|
|
"commitId": "db086f09c9df60f622c9be47734422454f5e181f",
|
||
|
|
"repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks_transformer.git",
|
||
|
|
"schema": {
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"sum": {
|
||
|
|
"type": "integer",
|
||
|
|
"description": "Sum from the previous block.",
|
||
|
|
"source": "$2.sum"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"sum"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"outputSchema": {
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"product": {
|
||
|
|
"type": "integer",
|
||
|
|
"description": "Product of the sum and the multiplier."
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"type": "transformerNode",
|
||
|
|
"positionAbsolute": {
|
||
|
|
"x": 0,
|
||
|
|
"y": 150
|
||
|
|
},
|
||
|
|
"width": 260,
|
||
|
|
"height": 79
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "m3aiqkrv4k1y6654ymr",
|
||
|
|
"position": {
|
||
|
|
"x": 0,
|
||
|
|
"y": 300
|
||
|
|
},
|
||
|
|
"data": {
|
||
|
|
"nodeConfig": {
|
||
|
|
"activityConfig": {
|
||
|
|
"retryPolicy": {
|
||
|
|
"maximumAttempts": 0,
|
||
|
|
"initialInterval": 1000,
|
||
|
|
"backoffCoefficient": 2,
|
||
|
|
"maximumInterval": 100000
|
||
|
|
},
|
||
|
|
"timeouts": {
|
||
|
|
"startToCloseTimeout": 0,
|
||
|
|
"scheduleToStartTimeout": 0,
|
||
|
|
"scheduleToCloseTimeout": 0,
|
||
|
|
"heartbeatTimeout": 0
|
||
|
|
},
|
||
|
|
"taskQueue": {
|
||
|
|
"taskQueueName": ""
|
||
|
|
},
|
||
|
|
"advancedSettings": {
|
||
|
|
"cancellationType": "TRY_CANCEL",
|
||
|
|
"heartbeatEnabled": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"blockName": "power",
|
||
|
|
"commitId": "057645be0cace46e3ea08d65f26fbc6dfd9348bd",
|
||
|
|
"repo_url": "http://centurion-version-control.default.svc.cluster.local:3000/Centurion/blocks_transformer.git",
|
||
|
|
"schema": {
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"product": {
|
||
|
|
"type": "integer",
|
||
|
|
"description": "Product from the previous block.",
|
||
|
|
"source": "$m3aiq7ixuo6du35h8tr.product"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"required": [
|
||
|
|
"product"
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"outputSchema": {
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"power": {
|
||
|
|
"type": "integer",
|
||
|
|
"description": "Result of raising the product to the power."
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"type": "transformerNode",
|
||
|
|
"positionAbsolute": {
|
||
|
|
"x": 0,
|
||
|
|
"y": 300
|
||
|
|
},
|
||
|
|
"width": 260,
|
||
|
|
"height": 79
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"edges": [
|
||
|
|
{
|
||
|
|
"id": "2=>m3aiq7ixuo6du35h8tr",
|
||
|
|
"source": "2",
|
||
|
|
"target": "m3aiq7ixuo6du35h8tr",
|
||
|
|
"type": "workflow"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "m3aiq7ixuo6du35h8tr=>m3aiqkrv4k1y6654ymr",
|
||
|
|
"source": "m3aiq7ixuo6du35h8tr",
|
||
|
|
"target": "m3aiqkrv4k1y6654ymr",
|
||
|
|
"type": "workflow"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|