From 9d62524a8e7ccff1b9aacb6fe7a601b05ed6664b Mon Sep 17 00:00:00 2001 From: JoeOLeary Date: Wed, 2 Oct 2019 15:45:27 +0100 Subject: Update blueprint * Make topic name, consumer group and consumer id configurable * Add use existing to DR feed Issue-ID: DCAEGEN2-1793 Signed-off-by: JoeOLeary Change-Id: I454acf3390c112be16c1604d8d62098b7f3c45e6 --- datafile-app-server/dpo/blueprints/k8s-datafile.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/datafile-app-server/dpo/blueprints/k8s-datafile.yaml b/datafile-app-server/dpo/blueprints/k8s-datafile.yaml index 65013d4e..5a0b0bb6 100644 --- a/datafile-app-server/dpo/blueprints/k8s-datafile.yaml +++ b/datafile-app-server/dpo/blueprints/k8s-datafile.yaml @@ -35,6 +35,15 @@ inputs: feed0_name: type: string default: "bulk_pm_feed" + topic_name: + type: string + default: "unauthenticated.VES_NOTIFICATION_OUTPUT" + consumer_group: + type: string + default: "OpenDcae-c12" + consumer_id: + type: string + default: "C12" log_directory: type: string default: "/var/log/ONAP" @@ -77,7 +86,7 @@ node_templates: streams_subscribes: dmaap_subscriber: dmaap_info: - topic_url: https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.VES_NOTIFICATION_OUTPUT/OpenDcae-c12/C12 + topic_url: { concat: ['https://message-router:3905/events/',{ get_input: topic_name }, '/', { get_input: consumer_group }, "/", { get_input: consumer_id }] } docker_config: healthcheck: interval: 15s @@ -124,3 +133,4 @@ node_templates: properties: feed_name: get_input: feed0_name + useExisting: true -- cgit 1.2.3-korg