enable dfc blueprint to get dynamic configurtions 74/91074/3
authorYongchaoWu <yongchao.wu@est.tech>
Thu, 11 Jul 2019 08:57:04 +0000 (08:57 +0000)
committerYongchaoWu <yongchao.wu@est.tech>
Thu, 11 Jul 2019 08:57:04 +0000 (08:57 +0000)
Issue-ID: DCAEGEN2-1655
Change-Id: Ia02e1d3b544c9deee3a609f68001ae945a92b1cd
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
blueprints/reference_templates/k8s-datafile-collector.yaml-template

index 1a85548..2de0a24 100644 (file)
@@ -56,10 +56,6 @@ inputs:
   feedDescription:
     type: string
     default: "Feed for Bulk PM files"
-  changeIdentifier:
-    type: string
-    description: type of different files
-    default: "PM_MEAS_FILES"
 
 node_templates:
   bulk_pm_feed:
@@ -95,14 +91,15 @@ node_templates:
         dmaap.security.keyStorePath: "/opt/app/datafile/etc/cert/key.p12"
         dmaap.security.keyStorePasswordPath: "/opt/app/datafile/etc/cert/key.pass"
         dmaap.security.enableDmaapCertAuth: { get_input: secureEnableCert }
-        dmaap.dmaapProducerConfiguration:
-          changeIdentifier: {get_input: changeIdentifier}
-          feedName: {get_input: feedName}
+        streams_publishes:
+          PM_MEAS_FILES:
+            dmaap_info: <<bulk_pm_feed>>
+            type: data_router
         streams_subscribes:
           dmaap_subscriber:
             type:
               "message_router"
-            dmmap_info:
+            dmaap_info:
               topic_url:
                 { concat: [{ get_input: dmaap_mr_protocol },"://",{ get_input: dmaap_mr_host },
                            ":",{ get_input: dmaap_mr_port },"/events/unauthenticated.VES_NOTIFICATION_OUTPUT/OpenDcae-c12/C12"]}
@@ -124,3 +121,4 @@ node_templates:
       tls_info:
         cert_directory: '/opt/app/datafile/etc/cert/'
         use_tls: true
+