Add database subsystem definition in the use case of
[parser.git] / tosca2heat / tosca-parser / toscaparser / tests / data / test_tosca_custom_rel_with_script.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2
3 description: Test template of a custom relationship with a configure script
4
5 topology_template:
6
7   node_templates:
8     apache:
9       type: tosca.nodes.WebServer
10       requirements:
11         - host:
12             node: web_server
13             relationship: my_custom_rel
14
15     web_server:
16       type: tosca.nodes.Compute
17
18   relationship_templates:
19     my_custom_rel:
20       type: HostedOn
21       interfaces:
22         Configure:
23           pre_configure_source: scripts/wp_db_configure.sh