summaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json
diff options
context:
space:
mode:
authoran4828 <nekrassov@att.com>2017-08-21 11:05:08 -0400
committerLusheng Ji <lji@research.att.com>2017-08-24 00:56:45 +0000
commite86be39dc5ff812b73398e0720aa3fbf0c48213c (patch)
treefe3198f180128163490c14c66a1d6074760b220b /dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json
parentff6a13c7ce03ec95fba9d0b4f04b74d0bfeb6a47 (diff)
Initial TCA commit into DCAEGEN2
Change-Id: I5f7f8af2a00419854cafc34b79277df60d1af095 Issue-ID: DCAEGEN2-53 Signed-off-by: an4828 <nekrassov@att.com>
Diffstat (limited to 'dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json')
-rw-r--r--dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json b/dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json
new file mode 100644
index 0000000..ea42d94
--- /dev/null
+++ b/dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json
@@ -0,0 +1,54 @@
+{
+ "metadata": {
+ "spec-version": "1.0"
+ },
+ "configuration-groups": [
+ {
+ "label": "Simple TCA Transform Properties",
+ "properties": [
+ {
+ "widget-type": "textbox",
+ "label": "InputSchema field name that contains CEF Message",
+ "name": "vesMessageFieldName"
+ },
+ {
+ "widget-type": "textbox",
+ "label": "TCA Policy JSON string",
+ "name": "policyJson"
+ },
+ {
+ "widget-type": "textbox",
+ "label": "OutputSchema field name that will contain alert message",
+ "name": "alertFieldName"
+ },
+ {
+ "widget-type": "textbox",
+ "label": "OutputSchema field name that will contain the TCA message type",
+ "name": "messageTypeFieldName"
+ },
+ {
+ "widget-type": "textbox",
+ "label": "Enable Alert Output Format in CEF format",
+ "name": "enableAlertCEFFormat",
+ "widget-attributes": {
+ "default": "false"
+ }
+ }
+ ]
+ }
+ ],
+ "outputs": [
+ {
+ "name": "schema",
+ "label": "schema",
+ "widget-type": "schema",
+ "widget-attributes": {
+ "schema-types": [
+ "string"
+ ],
+ "schema-default-type": "string",
+ "property-watch": "format"
+ }
+ }
+ ]
+}