-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdescriptor.json
63 lines (63 loc) · 2.02 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
{
"name": "fabric-putall",
"version": "1.0.0",
"type": "flogo:activity",
"title": "Put All",
"author": "TIBCO Software Inc.",
"display": {
"category": "fabric-chaincode",
"visible": true,
"smallIcon": "ic-putall.png",
"description": "This activity stores multiple records in fabric ledger"
},
"ref": "github.com/dovetail-lab/fabric-chaincode/activity/putall",
"homepage": "http://github.com/dovetail-lab/fabric-chaincode/activity/putall",
"inputs": [{
"name": "data",
"type": "object",
"display": {
"name": "Key-value pairs",
"description": "Schema definition of array of key-value pairs, e.g.,\r\n[{\r\n \"key\": \"string\",\r\n \"value\": {\"field1\": \"\", \"field2\": 0}\r\n}]",
"type": "texteditor",
"syntax": "json",
"mappable": true,
"visible": true
}
},
{
"name": "privateCollection",
"type": "string",
"required": false
},
{
"name": "compositeKeys",
"type": "string",
"display": {
"name": "Composite keys",
"description": "Define name of composite key and attributes using format index1=attr1,attr2;index2=attr1,attr2 (Note: if state key does not match the value of the last attribute of an index, the state-key will be appended to the end of the index), e.g. \"index-color=color,name;index-owner=owner,name\"",
"appPropertySupport": true
}
}
],
"outputs": [{
"name": "code",
"type": "integer"
},
{
"name": "message",
"type": "string"
},
{
"name": "count",
"type": "integer"
},
{
"name": "errors",
"type": "integer"
},
{
"name": "result",
"type": "object"
}
]
}