aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/widgets/JsonPathFilter-transform.json
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-analytics-cdap-plugins/widgets/JsonPathFilter-transform.json')
-rw-r--r--dcae-analytics-cdap-plugins/widgets/JsonPathFilter-transform.json58
1 files changed, 58 insertions, 0 deletions
diff --git a/dcae-analytics-cdap-plugins/widgets/JsonPathFilter-transform.json b/dcae-analytics-cdap-plugins/widgets/JsonPathFilter-transform.json
new file mode 100644
index 0000000..a3b6286
--- /dev/null
+++ b/dcae-analytics-cdap-plugins/widgets/JsonPathFilter-transform.json
@@ -0,0 +1,58 @@
+{
+ "metadata": {
+ "spec-version": "1.0"
+ },
+ "configuration-groups": [
+ {
+ "label": "JSON Path Filter",
+ "properties": [
+ {
+ "widget-type": "textbox",
+ "label": "Reference Name",
+ "name": "referenceName",
+ "widget-attributes": {
+ "default": "JsonPathFilter"
+ }
+ },
+ {
+ "widget-type": "textbox",
+ "label": "Input Field Name",
+ "name": "incomingJsonFieldName"
+ },
+ {
+ "widget-type": "textbox",
+ "label": "Output Schema Field Name",
+ "name": "outputSchemaFieldName"
+ },
+ {
+ "widget-type": "keyvalue",
+ "label": "Json Path Filter Mappings",
+ "name": "jsonFilterMappings",
+ "widget-attributes": {
+ "showDelimiter": "false"
+ }
+ }
+ ]
+ }
+ ],
+ "outputs": [
+ {
+ "name": "schema",
+ "label": "schema",
+ "widget-type": "schema",
+ "widget-attributes": {
+ "schema-types": [
+ "boolean",
+ "int",
+ "long",
+ "float",
+ "double",
+ "bytes",
+ "string"
+ ],
+ "schema-default-type": "string",
+ "property-watch": "format"
+ }
+ }
+ ]
+}