aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYongchaoWu <yongchao.wu@est.tech>2019-07-11 08:57:04 +0000
committerYongchaoWu <yongchao.wu@est.tech>2019-07-11 08:57:04 +0000
commitb22e1d62f5478f03e3e68f91866a368ffa88afae (patch)
treee69106bede7e06e4e0e689a66dbcefae0ac69ed7
parentf60a0fef5da91d130543c33bf1624ac668032b8b (diff)
enable dfc blueprint to get dynamic configurtions
Issue-ID: DCAEGEN2-1655 Change-Id: Ia02e1d3b544c9deee3a609f68001ae945a92b1cd Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
-rw-r--r--blueprints/reference_templates/k8s-datafile-collector.yaml-template14
1 files 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: <<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
+