aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/widgets/JsonPathFilter-transform.json
blob: a3b6286089aa5545fcf5cdcbdd9ffddfadce05d4 (plain)
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
{
  "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"
      }
    }
  ]
}