aboutsummaryrefslogtreecommitdiffstats
path: root/dcae-analytics-cdap-plugins/widgets/DMaaPMRSource-streamingsource.json
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-analytics-cdap-plugins/widgets/DMaaPMRSource-streamingsource.json')
-rw-r--r--dcae-analytics-cdap-plugins/widgets/DMaaPMRSource-streamingsource.json106
1 files changed, 106 insertions, 0 deletions
diff --git a/dcae-analytics-cdap-plugins/widgets/DMaaPMRSource-streamingsource.json b/dcae-analytics-cdap-plugins/widgets/DMaaPMRSource-streamingsource.json
new file mode 100644
index 0000000..86f058c
--- /dev/null
+++ b/dcae-analytics-cdap-plugins/widgets/DMaaPMRSource-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"
+ }
+ }
+ ]
+}