- ValueProvider
- OperationProvider ✔️
- SubscriptionProvider ✔️ (via polling)
Name |
Allowed Value |
Description |
baseUrl |
String |
Base URL of the HTTP server, e.g. http://example.com |
username |
String |
optional username for connecting to the HTTP server |
password |
String |
optional password for connecting to the HTTP server |
headers |
Map<String,String> |
optional headers to send with each request |
Name |
Allowed Value |
Description |
format |
JSON|XML |
content format of payload |
path |
String |
Path for the HTTP request, relative to the baseUrl of the connection |
headers |
Map<String,String> |
optional headers to send with each request (overrides connection-level headers) |
query |
String |
optional additional information how to extract actual value from received messages, depends on format , e.g. for JSON this is a JSON Path expression |
template |
String |
optional template used to format payload when sending via HTTP |
writeMethod |
GET|PUT|POST |
optional HTTP method to use when writing a value to HTTP, default: PUT |
{
"format": "JSON",
"path": "/foo",
"headers": {
"foo": "bar"
},
"query": "$.foo",
"template": "{\"foo\" : \"${value}\"}",
"writeMethod": "POST"
}
Name |
Allowed Value |
Description |
format |
JSON|XML |
content format of payload |
path |
String |
Path for the HTTP request, relative to the baseUrl of the connection |
headers |
Map<String,String> |
optional headers to send with each request (overrides connection-level headers) |
method |
PUT|POST |
optional HTTP method to use, default: POST |
template |
String |
optional template used to format payload when sending via HTTP |
queries |
Map<String, String> |
optional Map of result variable idShorts and corresponding query expressions to fetch them from returned value, query expressions depend on format , e.g for JSON these are JSON Path expressions |
Operation with input parameters in1
and in2
and output parameters out1
and out2
{
"format": "JSON",
"path": "/foo/execute",
"headers": {
"foo": "bar"
},
"method": "POST",
"template": "{\"input1\" : \"${in1}\", \"input2\" : \"${in2}\"}",
"queries": {
"out1": "$.output1",
"out2": "$.output2"
}
}
Name |
Allowed Value |
Description |
format |
JSON|XML |
content format of payload |
path |
String |
Path for the HTTP request, relative to the baseUrl of the connection |
headers |
Map<String,String> |
optional headers to send with each request (overrides connection-level headers) |
interval |
long |
optional Interval to poll the server for changes (in ms), default: 100 |
method |
GET|PUT|POST |
optional HTTP method to use, default: GET |
payload |
String |
optional Static content to send which each request |
query |
String |
optional additional information how to extract actual value from received messages, depends on format , e.g. for JSON this is a JSON Path expression |
{
"path": "/foo",
"headers": {
"foo": "bar"
},
"interval": "500",
"method": "GET",
"template": "{\"foo\" : \"bar\"}"
}