summaryrefslogtreecommitdiffstats
path: root/blueprints/reference_templates/test_dr_pubsub.yaml-template
diff options
context:
space:
mode:
Diffstat (limited to 'blueprints/reference_templates/test_dr_pubsub.yaml-template')
-rw-r--r--blueprints/reference_templates/test_dr_pubsub.yaml-template40
1 files changed, 30 insertions, 10 deletions
diff --git a/blueprints/reference_templates/test_dr_pubsub.yaml-template b/blueprints/reference_templates/test_dr_pubsub.yaml-template
index 2c6f05b..dfde13a 100644
--- a/blueprints/reference_templates/test_dr_pubsub.yaml-template
+++ b/blueprints/reference_templates/test_dr_pubsub.yaml-template
@@ -21,13 +21,33 @@ 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:
+ feed00_name:
+ type: string
+ default: "feed00"
+ feed00_desc:
+ type: string
+ default: "Test feed from orchestrator"
+ location:
+ type: string
+ default: "san-francisco"
+ username:
+ type: string
+ default: "drdeliver"
+ password:
+ type: string
+ default: "1loveDataR0uter"
+ delivery_url:
+ type: string
+ default: "https://example.com/whatever"
+
node_templates:
feed00:
type: ccsdk.nodes.Feed
properties:
- feed_name: "fed00"
- feed_description: "Test feed from orchestrator"
+ feed_name: { get_input: feed00_name }
+ feed_description: { get_input: feed00_desc }
feed_version: 1.0.9
aspr_classification: "unclassified"
@@ -43,12 +63,12 @@ node_templates:
endpoint: "/"
streams_publishes:
- name: feed00
- location: san-francisco
+ location: { get_input: location }
client_role: org.onap.dcae.pnfPublisher
type: data_router
- username: drdeliver
- password: 1loveDataR0uter
- delivery_url: "https://example.com/whatever"
+ username: { get_input: username }
+ password: { get_input: password }
+ delivery_url: { get_input: delivery_url }
relationships:
- type: ccsdk.relationships.publish_files
@@ -80,13 +100,13 @@ node_templates:
type: data_router
streams_subscribes:
- name: feed00
- location: san-francisco
+ location: { get_input: location }
client_role: org.onap.dcae.pnfSubscriber
type: data_router
route: ONAP-TEST-SUB-DR
- username: drdeliver
- password: 1loveDataR0uter
- delivery_url: "https://example.com/whatever"
+ username: { get_input: username }
+ password: { get_input: password }
+ delivery_url: { get_input: delivery_url }
relationships:
- type: ccsdk.relationships.subscribe_to_files