Skip to content

Commit

Permalink
Update scenario definitions (#142)
Browse files Browse the repository at this point in the history
* update lite streaming scenario jsons

* update request response scenario jsons

* update flink scenario jsons
  • Loading branch information
mslabek committed Jul 10, 2023
1 parent 580627e commit c3e8978
Show file tree
Hide file tree
Showing 9 changed files with 1,156 additions and 1,244 deletions.
169 changes: 77 additions & 92 deletions docker/streaming/scenarios/DetectLargeTransactions.json
Original file line number Diff line number Diff line change
@@ -1,140 +1,125 @@
{
"metaData" : {
"id" : "DetectLargeTransactions",
"typeSpecificData" : {
"parallelism" : 2,
"spillStateToDisk" : true,
"useAsyncInterpretation" : null,
"checkpointIntervalInSeconds" : null,
"type" : "StreamMetaData"
},
"isSubprocess" : false,
"additionalFields" : {
"description" : null,
"groups" : [
],
"properties" : {

}
},
"subprocessVersions" : {

"metaData": {
"id": "DetectLargeTransactions",
"additionalFields": {
"description": null,
"properties": {
"parallelism": "2",
"spillStateToDisk": "true"
},
"metaDataType": "StreamMetaData"
}
},
"exceptionHandlerRef" : {
"parameters" : [
]
},
"nodes" : [
"nodes": [
{
"id" : "transactions",
"ref" : {
"typ" : "kafka",
"parameters" : [
"id": "transactions",
"ref": {
"typ": "kafka",
"parameters": [
{
"name" : "Topic",
"expression" : {
"language" : "spel",
"expression" : "'transactions'"
"name": "Topic",
"expression": {
"language": "spel",
"expression": "'transactions'"
}
},
{
"name" : "Schema version",
"expression" : {
"language" : "spel",
"expression" : "'latest'"
"name": "Schema version",
"expression": {
"language": "spel",
"expression": "'latest'"
}
}
]
},
"additionalFields" : {
"description" : null,
"layoutData" : {
"x" : 0,
"y" : 0
"additionalFields": {
"description": null,
"layoutData": {
"x": 0,
"y": 0
}
},
"type" : "Source"
"type": "Source"
},
{
"nextFalse" : [
"nextFalse": [
],
"id" : "only large ones",
"expression" : {
"language" : "spel",
"expression" : "#input.amount > 20"
"id": "only large ones",
"expression": {
"language": "spel",
"expression": "#input.amount > 20"
},
"isDisabled" : null,
"additionalFields" : {
"description" : null,
"layoutData" : {
"x" : 0,
"y" : 180
"isDisabled": null,
"additionalFields": {
"description": null,
"layoutData": {
"x": 0,
"y": 180
}
},
"type" : "Filter"
"type": "Filter"
},
{
"id" : "send for audit",
"ref" : {
"typ" : "kafka",
"parameters" : [
"id": "send for audit",
"ref": {
"typ": "kafka",
"parameters": [
{
"name" : "Topic",
"expression" : {
"language" : "spel",
"expression" : "'processedEvents'"
"name": "Topic",
"expression": {
"language": "spel",
"expression": "'processedEvents'"
}
},
{
"name" : "Schema version",
"expression" : {
"language" : "spel",
"expression" : "'latest'"
"name": "Schema version",
"expression": {
"language": "spel",
"expression": "'latest'"
}
},
{
"name" : "Key",
"expression" : {
"language" : "spel",
"expression" : ""
"name": "Key",
"expression": {
"language": "spel",
"expression": ""
}
},
{
"name" : "Raw editor",
"expression" : {
"language" : "spel",
"expression" : "true"
"name": "Raw editor",
"expression": {
"language": "spel",
"expression": "true"
}
},
{
"name" : "Value validation mode",
"expression" : {
"language" : "spel",
"expression" : "'strict'"
"name": "Value validation mode",
"expression": {
"language": "spel",
"expression": "'strict'"
}
},
{
"name" : "Value",
"expression" : {
"language" : "spel",
"expression" : "#input"
"name": "Value",
"expression": {
"language": "spel",
"expression": "#input"
}
}
]
},
"endResult" : null,
"isDisabled" : null,
"additionalFields" : {
"description" : null,
"layoutData" : {
"x" : 0,
"y" : 360
"endResult": null,
"isDisabled": null,
"additionalFields": {
"description": null,
"layoutData": {
"x": 0,
"y": 360
}
},
"type" : "Sink"
"type": "Sink"
}
],
"additionalBranches" : [
"additionalBranches": [
]
}
Loading

0 comments on commit c3e8978

Please sign in to comment.