aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/widgets/SimpleTCAPlugin-sparkcompute.json
diff options
context:
space:
mode:
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"
+ }
+ }
+ ]
+}