summaryrefslogtreecommitdiffstats
path: root/blueprints/reference_templates/test_mr_pubsub_extra.yaml-template
diff options
context:
space:
mode:
authorxufeiliu <xl085b@att.com>2019-05-13 20:38:03 +0000
committerxufeiliu <xl085b@att.com>2019-05-13 20:38:19 +0000
commit2ba46bffcf12fec9d470c6e116557dfb0665fde0 (patch)
treea259fbc4ed320783ed775facfa82d40227ff0e85 /blueprints/reference_templates/test_mr_pubsub_extra.yaml-template
parentc2ef20c1829f2a83ffa0f5e63e0b778624b3b436 (diff)
[20190513]: add input attributes to dmaap plugin blueprints
Add input attribute options to dmaap plugin test blueprints Issue-ID: CCSDK-794 Change-Id: I09df1a9eea21aacb6e17b32b8e93f5c9a7fb4cf0 Signed-off-by: xufeiliu <xl085b@att.com>
Diffstat (limited to 'blueprints/reference_templates/test_mr_pubsub_extra.yaml-template')
-rw-r--r--blueprints/reference_templates/test_mr_pubsub_extra.yaml-template19
1 files changed, 15 insertions, 4 deletions
diff --git a/blueprints/reference_templates/test_mr_pubsub_extra.yaml-template b/blueprints/reference_templates/test_mr_pubsub_extra.yaml-template
index 2fdb2fb..f034e6c 100644
--- a/blueprints/reference_templates/test_mr_pubsub_extra.yaml-template
+++ b/blueprints/reference_templates/test_mr_pubsub_extra.yaml-template
@@ -21,19 +21,30 @@ imports:
- {{ ONAPTEMPLATE_RAWREPOURL_org_onap_dcaegen2_platform_plugins_releases }}/k8splugin/1.4.13/k8splugin_types.yaml
- {{ ONAPTEMPLATE_RAWREPOURL_org_onap_ccsdk_platform_plugins_releases }}/type_files/dmaap/dmaap.yaml
+inputs:
+ topic00_name:
+ type: string
+ default: "topic00"
+ topic01_name:
+ type: string
+ default: "topic01"
+ location:
+ type: string
+ default: "san-francisco"
+
node_templates:
topic00:
type: ccsdk.nodes.Topic
properties:
- topic_name: topic00
+ topic_name: { get_input: topic00_name }
replication_case: REPLICATION_EDGE_TO_CENTRAL_TO_GLOBAL
global_mr_url: message-router
topic01:
type: ccsdk.nodes.Topic
properties:
- topic_name: topic01
+ topic_name: { get_input: topic01_name }
replication_case: REPLICATION_EDGE_TO_CENTRAL
client00:
@@ -48,12 +59,12 @@ node_templates:
endpoint: "/"
streams_publishes:
- name: topic00
- location: san-francisco
+ location: { get_input: location }
client_role: org.onap.dcae.pnfPublisher
type: message_router
streams_subscribes:
- name: topic01
- location: san-francisco
+ location: { get_input: location }
client_role: org.onap.dcae.pnfSubscriber
type: message_router