aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/widgets/MockDMaaPMRSource-streamingsource.json
blob: 2592aa763c2eec3cd71a025d53bd3b550873e492 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
  "metadata": {
    "spec-version": "1.0"
  },
  "configuration-groups": [
    {
      "label": "DMaaP MR Source Configuration",
      "properties": [
        {
          "widget-type": "textbox",
          "label": "Reference Name",
          "name": "referenceName",
          "widget-attributes": {
            "default": "DMaaPMRSource"
          }
        },
        {
          "widget-type": "textbox",
          "label": "Host Name",
          "name": "hostName"
        },
        {
          "widget-type": "number",
          "label": "Host Port number",
          "name": "portNumber"
        },
        {
          "widget-type": "textbox",
          "label": "Topic Name",
          "name": "topicName"
        },
        {
          "widget-type": "textbox",
          "label": "Polling Interval (ms)",
          "name": "pollingInterval",
          "widget-attributes": {
            "default": "20000"
          }
        },
        {
          "widget-type": "textbox",
          "label": "Protocol",
          "name": "protocol",
          "widget-attributes": {
            "default": "https"
          }
        },
        {
          "widget-type": "textbox",
          "label": "User Name",
          "name": "userName"
        },
        {
          "widget-type": "textbox",
          "label": "User Password",
          "name": "userPassword"
        },
        {
          "widget-type": "textbox",
          "label": "Content Type'",
          "name": "contentType",
          "widget-attributes": {
            "default": "application/json"
          }
        },
        {
          "widget-type": "textbox",
          "label": "Source Consumer ID",
          "name": "consumerId",
          "widget-attributes": {
            "default": "C1"
          }
        },
        {
          "widget-type": "textbox",
          "label": "Source Consumer Group",
          "name": "consumerGroup",
          "widget-attributes": {
            "default": "OpenDCAE-G1"
          }
        },
        {
          "widget-type": "string",
          "label": "Consumer Timeout (ms)",
          "name": "timeoutMS"
        },
        {
          "widget-type": "string",
          "label": "Subscriber Message Limit",
          "name": "messageLimit"
        }
      ]
    }
  ],
  "outputs": [
    {
      "widget-type": "non-editable-schema-editor",
      "schema": {
        "ts": "long",
        "responseCode": "int",
        "responseMessage": "string",
        "message": "string"
      }
    }
  ]
}