Update datafile component spec 16/113416/1
authorRemigiusz Janeczek <remigiusz.janeczek@nokia.com>
Thu, 1 Oct 2020 10:12:01 +0000 (12:12 +0200)
committerRemigiusz Janeczek <remigiusz.janeczek@nokia.com>
Thu, 1 Oct 2020 10:12:01 +0000 (12:12 +0200)
Issue-ID: DCAEGEN2-2461
Signed-off-by: Remigiusz Janeczek <remigiusz.janeczek@nokia.com>
Change-Id: I03a75203ab6870d8799fb498c67abbc226a54fb0

datafile-app-server/dpo/spec/datafile-component-spec.json

index e784328..de601ae 100644 (file)
@@ -7,6 +7,12 @@
   },
   "streams": {
     "subscribes": [
+      {
+        "type": "message_router",
+        "config_key": "VES_NOTIFICATION_OUTPUT",
+        "format": "VES_specification",
+        "version": "7.30.1"
+      }
     ],
     "publishes": [
       {
     }
   ],
   "parameters": [
-    {
-      "name": "streams_subscribes",
-      "value": {"dmaap_subscriber": {"dmaap_info": {"topic_url":
-      "https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT/OpenDcae-c12/C12"}}},
-      "description": "datafile collector consume VES event to message router topic ",
-      "designer_editable": true,
-      "sourced_at_deployment": false,
-      "policy_editable": false,
-      "type": "string",
-      "required": true
-    },
     {
       "name": "dmaap.ftpesConfig.keyCert",
       "value": "/opt/app/datafile/config/dfc.jks",
       "designer_editable": true,
       "sourced_at_deployment": false,
       "policy_editable": false,
-      "type": "string",
+      "type": "boolean",
       "required": true
     },
     {
       "designer_editable": true,
       "sourced_at_deployment": false,
       "policy_editable": false,
-      "type": "string",
+      "type": "boolean",
       "required": true
     }