-
Notifications
You must be signed in to change notification settings - Fork 0
/
component.json
165 lines (165 loc) · 5.47 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"title": "SOAP V2",
"service": "request-reply",
"version": "1.2.10",
"description": "Generic SOAP / WebServices integration Component",
"docsUrl": "https://docs.elastic.io/components/soap/",
"credentials": {
"fields": {
"auth": {
"required": false,
"viewClass": "WebhookAuthView"
}
}
},
"triggers": {
"receive": {
"title": "Receive SOAP Request",
"help": {
"description": "Receive SOAP Request",
"link": "/components/soap/triggers#receive-soap-request"
},
"main": "io.elastic.soap.triggers.ReceiveRequest",
"type": "webhook",
"fields": {
"wsdlURI": {
"order": 99,
"label": "WSDL URI",
"required": true,
"viewClass": "TextFieldWithNoteView",
"placeholder": "http://www.example.com?wsdl",
"note": "Please specify a full URI of your WSDL, it should be accessible from the internet."
},
"binding": {
"order": 98,
"viewClass": "SelectView",
"label": "Binding",
"required": true,
"require": ["wsdlURI"],
"model": "io.elastic.soap.providers.BindingModelProvider",
"prompt": "Choose a Binding [Service/Port]"
},
"operation": {
"order": 97,
"viewClass": "SelectView",
"label": "Operation",
"required": true,
"require": ["binding"],
"model": "io.elastic.soap.providers.OperationModelProvider",
"prompt": "Choose an Operation [Service/Port]"
},
"validation" : {
"order": 96,
"label" : "Validation",
"prompt" : "Enabled",
"required" : false,
"viewClass" : "SelectView",
"model" : {
"enabled" : "Enabled",
"disabled" : "Disabled"
},
"note" : "Validation is enabled by default"
}
}
}
},
"actions": {
"callAction": {
"title": "Call",
"help": {
"description": "Makes a call to SOAP service over HTTP using public WSDL URL",
"link": "/components/soap/actions#call"
},
"main": "io.elastic.soap.actions.CallAction",
"fields": {
"wsdlURI": {
"order": 99,
"label": "WSDL URI",
"required": true,
"viewClass": "TextFieldWithNoteView",
"placeholder": "http://www.example.com?wsdl",
"note": "Please specify a full URI of your WSDL, it should be accessible from the internet."
},
"binding": {
"order": 98,
"viewClass": "SelectView",
"label": "Binding",
"required": true,
"require": ["wsdlURI"],
"model": "io.elastic.soap.providers.BindingModelProvider",
"prompt": "Choose a Binding [Service/Port]"
},
"operation": {
"order": 97,
"viewClass": "SelectView",
"label": "Operation",
"required": true,
"require": ["binding"],
"model": "io.elastic.soap.providers.OperationModelProvider",
"prompt": "Choose an Operation [Service/Port]"
},
"emitSoapFault": {
"label": "Emit SOAP Faults Instead of Throwing an Error",
"viewClass": "CheckBoxView",
"order": 96,
"note": "When this checkbox is checked and the component receives a SOAP fault, the component does not emit/throw an error but instead emits a JSON representation of the SOAP fault received"
},
"requestTimeoutPeriod": {
"label": "Request timeout",
"viewClass": "TextFieldView",
"note": "Timeout period in milliseconds while component waiting for server response, should be positive integer (1-1140000), defaults to 100000 (100 sec)"
}
},
"dynamicMetadata": "io.elastic.soap.providers.BodyMetaProvider"
},
"soapReplyAction": {
"title": "SOAP Reply",
"help" : {
"description": "Returns SOAP response to client",
"link": "/components/soap/actions#soap-reply"
},
"main": "io.elastic.soap.actions.SoapReplyAction",
"fields": {
"wsdlURI": {
"order": 99,
"label": "WSDL URI",
"required": true,
"viewClass": "TextFieldWithNoteView",
"placeholder": "http://www.example.com?wsdl",
"note": "Please specify a full URI of your WSDL, it should be accessible from the internet."
},
"binding": {
"order": 98,
"viewClass": "SelectView",
"label": "Binding",
"required": true,
"require": ["wsdlURI"],
"model": "io.elastic.soap.providers.BindingModelProvider",
"prompt": "Choose a Binding [Service/Port]"
},
"operation": {
"order": 97,
"viewClass": "SelectView",
"label": "Operation",
"required": true,
"require": ["binding"],
"model": "io.elastic.soap.providers.OperationModelProvider",
"prompt": "Choose an Operation [Service/Port]"
},
"validation" : {
"order": 96,
"label" : "Validation",
"required" : false,
"viewClass" : "SelectView",
"prompt": "Enabled",
"model" : {
"enabled" : "Enabled",
"disabled" : "Disabled"
},
"note" : "Validation is enabled by default"
}
},
"dynamicMetadata": "io.elastic.soap.providers.ReplyBodyMetaProvider"
}
}
}