From b22e1d62f5478f03e3e68f91866a368ffa88afae Mon Sep 17 00:00:00 2001 From: YongchaoWu Date: Thu, 11 Jul 2019 08:57:04 +0000 Subject: enable dfc blueprint to get dynamic configurtions Issue-ID: DCAEGEN2-1655 Change-Id: Ia02e1d3b544c9deee3a609f68001ae945a92b1cd Signed-off-by: YongchaoWu --- .../k8s-datafile-collector.yaml-template | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/blueprints/reference_templates/k8s-datafile-collector.yaml-template b/blueprints/reference_templates/k8s-datafile-collector.yaml-template index 1a85548..2de0a24 100644 --- a/blueprints/reference_templates/k8s-datafile-collector.yaml-template +++ b/blueprints/reference_templates/k8s-datafile-collector.yaml-template @@ -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: <> + 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 + -- cgit 1.2.3-korg