-
Notifications
You must be signed in to change notification settings - Fork 2
/
activity.json
executable file
·70 lines (70 loc) · 2.49 KB
/
activity.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
{
"name": "flogo-jsonparser",
"type": "flogo:activity",
"ref": "github.com/TIBCOSoftware/GraphBuilder_Tools/activity/jsonparser",
"version": "0.0.1",
"title": "JSON Parser",
"display": {
"category": "GraphBuilder_Tools",
"visible": true,
"smallIcon": "jsonparser.png",
"description": "JSON Parser Activity"
},
"settings": [
{
"name": "DateFormat",
"type": "string",
"required": false,
"display":{
"name": "Date Format Sample",
"description": "Sample formate for parsing/formatting Date"
}
},
{
"name": "ServeGraphData",
"type": "boolean",
"display": {
"name": "Serve Graph Data",
"description": "Serve Graph Data"
},
"value": false
},
{
"name": "GraphModel",
"type": "object",
"display": {
"name": "Graph Model",
"description": "User Graph Model",
"type": "connection"
},
"allowed": []
},
{
"name": "OutputFieldnames",
"type": "array",
"required": false,
"display": {
"name": "Output Field Names",
"description": "Map Attribute to JSON path",
"type": "table",
"schema": "{\r\n \"$schema\": \"http:\/\/json-schema.org\/draft-04\/schema#\",\r\n \"definitions\": {},\r\n \"id\": \"http:\/\/example.com\/example.json\",\r\n \"items\": {\r\n \"id\": \"\/items\",\r\n \"properties\": {\r\n \"AttributeName\": {\r\n \"id\": \"\/items\/properties\/AttributeName\",\r\n \"type\": \"string\"\r\n },\r\n \"JSONPath\": {\r\n \"id\": \"\/items\/properties\/JSONPath\",\r\n \"type\": \"string\"\r\n },\r\n \"Default\": {\r\n \"id\": \"\/items\/properties\/Default\",\r\n \"type\": \"string\"\r\n },\r\n \"Type\": {\r\n \"id\": \"\/items\/properties\/Type\",\r\n \"type\": {\"enum\":[\"String\", \"Integer\", \"Long\", \"Double\", \"Boolean\", \"Date\"]}\r\n }\r\n,\r\n \"Optional\": {\r\n \"id\": \"\/items\/properties\/Optional\",\r\n \"type\": {\"enum\":[\"yes\", \"no\"]}\r\n }\r\n },\r\n \"type\": \"object\"\r\n },\r\n \"type\": \"array\"\r\n}"
}
},
{
"name": "PreviousConnector",
"type": "string"
}
],
"input":[
{
"name": "JSONString",
"type": "string"
}
],
"output": [
{
"name": "Data",
"type": "complex_object"
}
]
}