[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / novatovolumeconnection / nestedconnection / expectedoutputfiles / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 - GlobalSubstitutionTypes:
8     file: GlobalSubstitutionTypesServiceTemplate.yaml
9 topology_template:
10   inputs:
11     cmaui_cinder_volume_size:
12       label: CMAUI Cinder volume size
13       hidden: false
14       immutable: false
15       type: float
16       description: the size of the CMAUI Cinder volume
17     CMAUI_volume_type:
18       label: CMAUI vm volume type
19       hidden: false
20       immutable: false
21       type: string
22       description: the name of the target volume backend
23   node_templates:
24     test_vol:
25       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
26       properties:
27         volume_type:
28           get_input: CMAUI_volume_type
29         size: '(get_input : cmaui_cinder_volume_size) * 1024'
30     test_nested:
31       type: org.openecomp.resource.abstract.nodes.heat.nested
32       directives:
33       - substitutable
34       properties:
35         service_template_filter:
36           substitute_service_template: nestedServiceTemplate.yaml
37         cmaui_volume_param: test_vol
38       requirements:
39       - local_storage_server_cmaui:
40           capability: tosca.capabilities.Attachment
41           node: test_vol
42           relationship: tosca.relationships.AttachesTo
43   groups:
44     main_group:
45       type: org.openecomp.groups.heat.HeatStack
46       properties:
47         heat_file: ../Artifacts/main.yml
48         description: |
49           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
50       members:
51       - test_vol
52       - test_nested