-
Notifications
You must be signed in to change notification settings - Fork 1
/
component.json
108 lines (108 loc) · 3.37 KB
/
component.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"title": "AMQP component",
"description": "AMQP Component for async communication with queues and topics",
"version": "1.4.3",
"credentials": {
"fields": {
"amqpURI": {
"label": "AMQP URI",
"required": true,
"viewClass": "TextFieldView",
"placeholder": "amqp://foo:[email protected]"
}
}
},
"actions": {
"publish": {
"title": "Publish",
"main": "./lib/actions/publish.js",
"fields": {
"topic": {
"label": "Exchange",
"viewClass": "TextFieldWithNoteView",
"required": true,
"placeholder": "up_to_200_symbols",
"note": "This exchange will be created on start if not exists."
},
"doNotEncrypt": {
"label": "Don't encrypt payload",
"viewClass": "CheckBoxView",
"help": {
"description": "If checked, payload will be not encrypted"
}
},
"contentType": {
"label": "Content-Type",
"viewClass": "TextFieldWithNoteView",
"note": "Content-Type of pushed payload, default is 'application/octet-stream'"
},
"reconnectTimeOut": {
"label": "Reconnect Time Out",
"required": false,
"viewClass": "TextFieldView",
"help": {
"description": "In case of errors how long to wait until retry in seconds. 5 by default"
}
},
"reconnectAttempts": {
"label": "Reconnect Attempts",
"required": false,
"viewClass": "TextFieldView",
"help": {
"description": "How many times try to reconnect before throw error. 12 by default"
}
}
},
"metadata": {
"in": "./lib/schemas/publish.in.json"
}
}
},
"triggers": {
"consume": {
"title": "Consume (Real-time flows only)",
"main": "./lib/triggers/consume.js",
"type": "polling",
"fields": {
"topic": {
"label": "Exchange",
"viewClass": "TextFieldWithNoteView",
"required": true,
"placeholder": "up_to_200_symbols",
"note": "This exchange will be created on start if not exists."
},
"bindingKeys": {
"label": "Binding Keys",
"viewClass": "TextFieldWithNoteView",
"required": false,
"placeholder": "this.key,that.key",
"note": "Optional. You can use <b>#</b> or <b>*</b> to wildcard, more info <a href=\"http://www.rabbitmq.com/tutorials/tutorial-five-javascript.html\" target=\"_top\">here</a>"
},
"doNotDecrypt": {
"label": "Don't decrypt payload",
"viewClass": "CheckBoxView",
"help": {
"description": "If checked, payload will be not decrypted"
}
},
"reconnectTimeOut": {
"label": "Reconnect Timeout",
"required": false,
"viewClass": "TextFieldView",
"help": {
"description": "In case of errors how long to wait until retry is seconds. 5 by default"
}
},
"reconnectAttempts": {
"label": "Reconnect Attempts",
"required": false,
"viewClass": "TextFieldView",
"help": {
"description": "How many times try to reconnect before throw error. 12 by default"
}
}
},
"metadata": { }
}
}
}