File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change 30
30
"consume" : {
31
31
"title" : " Consume" ,
32
32
"main" : " ./lib/actions/consume.js" ,
33
+ "fields" : {
34
+ "topic" : {
35
+ "label" : " Exchange" ,
36
+ "viewClass" : " TextFieldView" ,
37
+ "required" : true ,
38
+ "placeholder" : " up_to_200_symbols"
39
+ },
40
+ "bindingKey" : {
41
+ "label" : " Binding Key" ,
42
+ "viewClass" : " TextFieldWithNoteView" ,
43
+ "required" : false ,
44
+ "placeholder" : " dot.delimited.words" ,
45
+ "note" : " Please use <b>bold</b> and <a href=\"\" >links</a> here."
46
+ }
47
+ },
33
48
"metadata" : {
34
49
"in" : {},
35
50
"out" : " ./lib/schemas/consume.out.json"
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ module.exports.process = processAction;
17
17
function processAction ( msg , cfg ) {
18
18
console . log ( 'Trigger started, cfg=%j' , cfg ) ;
19
19
const amqpURI = cfg . amqpURI ;
20
- const amqpExchange = cfg . topc ;
20
+ const amqpExchange = cfg . topic ;
21
21
22
22
co ( function * ( ) {
23
23
if ( ! conn ) {
You can’t perform that action at this time.
0 commit comments