-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrecipe3.json
73 lines (72 loc) · 1.75 KB
/
recipe3.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"gateway": {
"name": "3recipe",
"version": "1.0.0",
"description": "This is the first microgateway app",
"configurations": [
{
"name": "kafkaConfig",
"type": "github.com/TIBCOSoftware/flogo-contrib/trigger/kafkasub",
"description": "Configuration for kafka cluster",
"settings": {
"BrokerUrl": "localhost:9092"
}
}
],
"triggers": [
{
"name": "Trigger1",
"description": "The trigger on kafka 'users' topic",
"type": "github.com/TIBCOSoftware/flogo-contrib/trigger/kafkasub",
"settings": {
"Topic": "syslog",
"config": "${configurations.kafkaConfig}"
}
}
],
"event_handlers": [
{
"name": "Handler1",
"description": "Handle the user access",
"reference": "github.com/ykalidin/sampleRepo/Recipe1.json",
"params": {
}
},
{
"name": "Handler2",
"description": "Handle the user access",
"reference": "github.com/ykalidin/sampleRepo/Recipe1.json",
"params": {
}
},
{
"name": "Handler3",
"description": "Handle the user access",
"reference": "github.com/ykalidin/sampleRepo/Recipe1.json",
"params": {
}
}
],
"event_links": [
{
"triggers": [
"Trigger1"
],
"dispatches": [
{
"if": "trigger.content != undefined",
"handler": "Handler1"
},
{
"if": "trigger.content != undefined",
"handler": "Handler2"
},
{
"if": "trigger.content != undefined",
"handler": "Handler3"
}
]
}
]
}
}