This repository has been archived by the owner on Nov 19, 2020. It is now read-only.
/
webfan.json
62 lines (62 loc) · 1.97 KB
/
webfan.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
{
"Doc": "",
"DocShort": "Reads events from standard input",
"ImportPath": "github.com/vjeantet/bitfan/processors/webfan",
"Name": "webfan",
"Options": {
"Doc": "",
"Options": [
{
"Alias": ",squash",
"DefaultValue": null,
"Doc": "",
"ExampleLS": "",
"Name": "processors.CommonOptions",
"PossibleValues": null,
"Required": false,
"Type": "processors.CommonOptions"
},
{
"Alias": "",
"DefaultValue": null,
"Doc": "The codec used for posted data. Input codecs are a convenient method for decoding\nyour data before it enters the pipeline, without needing a separate filter in your bitfan pipeline\n\nDefault decode http request as plain text, response is json encoded.\nSet multiple codec with role to customize",
"ExampleLS": "codec =\u003e plain { role=\u003e\"encoder\"} codec =\u003e json { role=\u003e\"decoder\"}",
"Name": "Codec",
"PossibleValues": null,
"Required": false,
"Type": "codec"
},
{
"Alias": "uri",
"DefaultValue": null,
"Doc": "URI path /_/path",
"ExampleLS": "",
"Name": "Uri",
"PossibleValues": null,
"Required": true,
"Type": "string"
},
{
"Alias": "pipeline",
"DefaultValue": null,
"Doc": "Path to pipeline's configuration to execute on request\nThis configuration should contains only a filter section an a output like ```output{pass{}}```",
"ExampleLS": "",
"Name": "Pipeline",
"PossibleValues": null,
"Required": true,
"Type": "string"
},
{
"Alias": "headers",
"DefaultValue": null,
"Doc": "Headers to send back into outgoing response",
"ExampleLS": "{\"X-Processor\" =\u003e \"bitfan\"}",
"Name": "Headers",
"PossibleValues": null,
"Required": false,
"Type": "hash"
}
]
},
"Ports": []
}