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