summaryrefslogtreecommitdiffstats
path: root/blueprints/reference_templates/test_mr_pubsub.yaml-template
diff options
context:
space:
mode:
Diffstat (limited to 'blueprints/reference_templates/test_mr_pubsub.yaml-template')
-rw-r--r--blueprints/reference_templates/test_mr_pubsub.yaml-template19
1 files changed, 15 insertions, 4 deletions
diff --git a/blueprints/reference_templates/test_mr_pubsub.yaml-template b/blueprints/reference_templates/test_mr_pubsub.yaml-template
index 78974fb..0d09216 100644
--- a/blueprints/reference_templates/test_mr_pubsub.yaml-template
+++ b/blueprints/reference_templates/test_mr_pubsub.yaml-template
@@ -21,17 +21,28 @@ 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 }
topic01:
type: ccsdk.nodes.Topic
properties:
- topic_name: topic01
+ topic_name: { get_input: topic01_name }
web_server:
type: dcae.nodes.ContainerizedServiceComponentUsingDmaap
@@ -45,12 +56,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