69b454f58525bfc4d32f0331f5611c676632b251
[dcaegen2/analytics/tca.git] / dcae-analytics-cdap-plugins / widgets / DMaaPMRSource-streamingsource.json
1 {\r
2   "metadata": {\r
3     "spec-version": "1.0"\r
4   },\r
5   "configuration-groups": [\r
6     {\r
7       "label": "DMaaP MR Source Configuration",\r
8       "properties": [\r
9         {\r
10           "widget-type": "textbox",\r
11           "label": "Reference Name",\r
12           "name": "referenceName",\r
13           "widget-attributes": {\r
14             "default": "DMaaPMRSource"\r
15           }\r
16         },\r
17         {\r
18           "widget-type": "textbox",\r
19           "label": "Host Name",\r
20           "name": "hostName"\r
21         },\r
22         {\r
23           "widget-type": "number",\r
24           "label": "Host Port number",\r
25           "name": "portNumber"\r
26         },\r
27         {\r
28           "widget-type": "textbox",\r
29           "label": "Topic Name",\r
30           "name": "topicName"\r
31         },\r
32         {\r
33           "widget-type": "textbox",\r
34           "label": "Polling Interval (ms)",\r
35           "name": "pollingInterval",\r
36           "widget-attributes": {\r
37             "default": "20000"\r
38           }\r
39         },\r
40         {\r
41           "widget-type": "textbox",\r
42           "label": "Protocol",\r
43           "name": "protocol",\r
44           "widget-attributes": {\r
45             "default": "https"\r
46           }\r
47         },\r
48         {\r
49           "widget-type": "textbox",\r
50           "label":"User Name",\r
51           "name": "userName"\r
52         },\r
53         {\r
54           "widget-type": "textbox",\r
55           "label": "User Password",\r
56           "name": "userPassword"\r
57         },\r
58         {\r
59           "widget-type": "textbox",\r
60           "label": "Content Type'",\r
61           "name": "contentType",\r
62           "widget-attributes": {\r
63             "default": "application/json"\r
64           }\r
65         },\r
66         {\r
67           "widget-type": "textbox",\r
68           "label": "Source Consumer ID",\r
69           "name": "consumerId",\r
70           "widget-attributes": {\r
71             "default": "C1"\r
72           }\r
73         },\r
74         {\r
75           "widget-type": "textbox",\r
76           "label": "Source Consumer Group",\r
77           "name": "consumerGroup",\r
78           "widget-attributes": {\r
79             "default": "OpenDCAE-G1"\r
80           }\r
81         },\r
82         {\r
83           "widget-type": "string",\r
84           "label": "Consumer Timeout (ms)",\r
85           "name": "timeoutMS"\r
86         },\r
87         {\r
88           "widget-type": "string",\r
89           "label": "Subscriber Message Limit",\r
90           "name": "messageLimit"\r
91         }\r
92       ]\r
93     }\r
94   ],\r
95   "outputs": [\r
96     {\r
97       "widget-type": "non-editable-schema-editor",\r
98       "schema": {\r
99         "ts": "long",\r
100         "responseCode": "int",\r
101         "responseMessage": "string",\r
102         "message": "string"\r
103       }\r
104     }\r
105   ]\r
106 }\r