forked from project-flogo/contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
descriptor.json
116 lines (116 loc) · 2.83 KB
/
descriptor.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
{
"name": "flogo-rest",
"type": "flogo:activity",
"version": "0.10.0",
"title": "REST Invoke",
"description": "Invokes a REST Service",
"homepage": "https://github.com/project-flogo/contrib/tree/master/activity/rest",
"settings": [
{
"name": "method",
"type": "string",
"required": true,
"allowed": [ "GET", "POST", "PUT", "PATCH", "DELETE" ],
"description" : "The HTTP method to invoke"
},
{
"name": "uri",
"type": "string",
"required": true,
"description" : "The URI of the service to invoke"
},
{
"name": "headers",
"type": "params",
"description" : "The HTTP header parameters"
},
{
"name": "proxy",
"type": "string",
"description" : "The address of the proxy server to be use"
},
{
"name": "timeout",
"type": "int",
"description" : "The request timeout in seconds"
},
{
"name": "sslConfig",
"type": "object",
"description" : "Optional SSL Settings",
"properties": [
{
"name": "skipVerify",
"type": "boolean",
"value": "true",
"description" : "Skip SSL validation"
},
{
"name": "useSystemCert",
"type": "boolean",
"value": "true",
"description" : "Use the systems root certificate file"
},
{
"name": "certFile",
"type":"string",
"description" : "Path to PEM encoded client certificate"
},
{
"name": "keyFile",
"type":"string",
"description" : "Path to PEM encoded client key"
},
{
"name": "caFile",
"type":"string",
"description" : "Path to PEM encoded root certificates file"
}
]
}
],
"input": [
{
"name": "pathParams",
"type": "params",
"description" : "The path parameters (e.g., 'id' in http://.../pet/:id/name )"
},
{
"name": "queryParams",
"type": "params",
"description" : "The query parameters (e.g., 'id' in http://.../pet?id=someValue )"
},
{
"name": "headers",
"type": "params",
"description" : "The HTTP header parameters"
},
{
"name": "content",
"type": "any",
"description" : "The message content to send. This is only used in POST, PUT, and PATCH"
}
],
"output": [
{
"name": "status",
"type": "int",
"description" : "The HTTP status code"
},
{
"name": "data",
"type": "any",
"description" : "The HTTP response data"
},
{
"name": "headers",
"type": "params",
"description" : "The HTTP response headers"
},
{
"name": "cookies",
"type": "array",
"description" : "The response cookies (from 'Set-Cookie')"
}
]
}