Initial TCA commit into DCAEGEN2
[dcaegen2/analytics/tca.git] / dcae-analytics-cdap-plugins / widgets / SimpleTCAPlugin-sparkcompute.json
1 {
2   "metadata": {
3     "spec-version": "1.0"
4   },
5   "configuration-groups": [
6     {
7       "label": "Simple TCA Transform Properties",
8       "properties": [
9         {
10           "widget-type": "textbox",
11           "label": "InputSchema field name that contains CEF Message",
12           "name": "vesMessageFieldName"
13         },
14         {
15           "widget-type": "textbox",
16           "label": "TCA Policy JSON string",
17           "name": "policyJson"
18         },
19         {
20           "widget-type": "textbox",
21           "label": "OutputSchema field name that will contain alert message",
22           "name": "alertFieldName"
23         },
24         {
25           "widget-type": "textbox",
26           "label": "OutputSchema field name that will contain the TCA message type",
27           "name": "messageTypeFieldName"
28         },
29         {
30           "widget-type": "textbox",
31           "label": "Enable Alert Output Format in CEF format",
32           "name": "enableAlertCEFFormat",
33           "widget-attributes": {
34             "default": "false"
35           }
36         }
37       ]
38     }
39   ],
40   "outputs": [
41     {
42       "name": "schema",
43       "label": "schema",
44       "widget-type": "schema",
45       "widget-attributes": {
46         "schema-types": [
47           "string"
48         ],
49         "schema-default-type": "string",
50         "property-watch": "format"
51       }
52     }
53   ]
54 }