1 # DSL version, should appear in the main blueprint.yaml
2 # and may appear in other imports. In such case, the versions must match
3 tosca_definitions_version: cloudify_dsl_1_3
6 # importing cloudify related types, plugins, workflow, etc...
7 # to speed things up, it is possible downloading this file,
8 # including it in the blueprint directory and importing it
10 - http://www.getcloudify.org/spec/cloudify/4.1.1/types.yaml
11 # relative import of plugin.yaml that resides in the blueprint directory
12 - plugin/test_plugin.yaml
15 # example input that could be injected by test
17 description: an input for the test
18 default: default_test_input
51 default: 'http://0.0.0.0/stable'
55 # defining a single node template that will serve as our test node
57 # using base cloudify type
58 type: onap.nodes.component
60 tiller_ip: { get_input: tiller-server-ip }
61 tiller_port: { get_input: tiller-server-port }
62 component_name: test_node
63 chart_repo_url: { get_input: chart-repo-url }
64 chart_version: { get_input: chart-version }
65 namespace: { get_input: namespace }
66 config: { get_input: jsonConfig}
67 config_set: { get_input: config-set}
68 config_url: { get_input: config-url}
69 repo_user: { get_input: repo-user}
70 repo_user_password: { get_input: repo-user-password}
71 config_format: { get_input: config-format}
72 tls_enable: { get_input: tls-enable}
73 ca: "result of get_secret ca_value"
74 cert: "result of get_secret cert_value"
75 key: "result of get_secret key_value"
76 config_dir: { get_input: config-dir}
77 stable_repo_url: { get_input: stable-repo-url}
80 # example output the could be used to simplify assertions by test
82 description: an output for the test
84 helm-value: { get_attribute: [test_node, current-helm-value] }
85 helm-history: { get_attribute: [test_node, helm-history] }