docs: fix issues
[parser.git] / tosca2heat / tosca-parser / toscaparser / tests / data / custom_types / nested_test_wordpress.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0
2 imports:
3   - test_prefix_defs:
4       file: custom_types/nested_rsyslog.yaml
5       namespace_prefix: test_namespace_prefix
6   - test_second_time_with_another_prefix:
7       file: custom_types/nested_rsyslog.yaml
8       namespace_prefix: test_2nd_namespace_prefix
9
10 node_types:
11   tosca.nodes.SoftwareComponent.Rsyslog.TestRsyslogType:
12     derived_from: test_namespace_prefix.Rsyslog
13
14   Test2ndRsyslogType:
15     derived_from: test_2nd_namespace_prefix.Rsyslog
16
17   tosca.nodes.WebApplication.WordPress:
18     derived_from: tosca.nodes.WebApplication
19     requirements:
20       - database_endpoint:
21           capability: tosca.capabilities.Endpoint.Database
22           node: tosca.nodes.Database
23           relationship: tosca.relationships.ConnectsTo
24     interfaces:
25       Standard:
26         inputs:
27           wp_db_name:
28             type: string
29           wp_db_user:
30             type: string
31           wp_db_password:
32             type: string