aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/widgets/MockDMaaPMRSource-streamingsource.json
diff options
context:
space:
mode:
authoran4828 <nekrassov@att.com>2017-08-21 11:05:08 -0400
committerLusheng Ji <lji@research.att.com>2017-08-24 00:56:45 +0000
commite86be39dc5ff812b73398e0720aa3fbf0c48213c (patch)
treefe3198f180128163490c14c66a1d6074760b220b /dcae-analytics-cdap-plugins/widgets/MockDMaaPMRSource-streamingsource.json
parentff6a13c7ce03ec95fba9d0b4f04b74d0bfeb6a47 (diff)
Initial TCA commit into DCAEGEN2
Change-Id: I5f7f8af2a00419854cafc34b79277df60d1af095 Issue-ID: DCAEGEN2-53 Signed-off-by: an4828 <nekrassov@att.com>
Diffstat (limited to 'dcae-analytics-cdap-plugins/widgets/MockDMaaPMRSource-streamingsource.json')
-rw-r--r--dcae-analytics-cdap-plugins/widgets/MockDMaaPMRSource-streamingsource.json106
1 files changed, 106 insertions, 0 deletions
diff --git a/dcae-analytics-cdap-plugins/widgets/MockDMaaPMRSource-streamingsource.json b/dcae-analytics-cdap-plugins/widgets/MockDMaaPMRSource-streamingsource.json
new file mode 100644
index 0000000..0441b5f
--- /dev/null
+++ b/dcae-analytics-cdap-plugins/widgets/MockDMaaPMRSource-streamingsource.json
@@ -0,0 +1,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"
+ }
+ }
+ ]
+}