summaryrefslogtreecommitdiffstats
path: root/datafile-app-server/dpo
diff options
context:
space:
mode:
authorJoeOLeary <joseph.o.leary@est.tech>2019-10-02 15:45:27 +0100
committerJoeOLeary <joseph.o.leary@est.tech>2019-10-02 16:00:30 +0100
commit9d62524a8e7ccff1b9aacb6fe7a601b05ed6664b (patch)
tree60fec8a435331f884d4711c2c5c3f8b4aba6a48b /datafile-app-server/dpo
parentf15306304a747922990eeabbedea63ae6e277149 (diff)
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 <joseph.o.leary@est.tech> Change-Id: I454acf3390c112be16c1604d8d62098b7f3c45e6
Diffstat (limited to 'datafile-app-server/dpo')
-rw-r--r--datafile-app-server/dpo/blueprints/k8s-datafile.yaml12
1 files changed, 11 insertions, 1 deletions
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