push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / parameters / expectedoutputfiles / MainServiceTemplate.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 metadata:
3   template_name: Main
4 imports:
5   ContrailComputeGlobalTypes:
6     file: ContrailComputeGlobalTypesServiceTemplate.yaml
7   CinderVolumeGlobalTypes:
8     file: CinderVolumeGlobalTypesServiceTemplate.yaml
9   ContrailVirtualNetworkGlobalType:
10     file: ContrailVirtualNetworkGlobalTypeServiceTemplate.yaml
11   AbstractSubstituteGlobalTypes:
12     file: AbstractSubstituteGlobalTypesServiceTemplate.yaml
13   ContrailPortGlobalTypes:
14     file: ContrailPortGlobalTypesServiceTemplate.yaml
15   NeutronPortGlobalTypes:
16     file: NeutronPortGlobalTypesServiceTemplate.yaml
17   NeutronNetGlobalTypes:
18     file: NeutronNetGlobalTypesServiceTemplate.yaml
19   CommonGlobalTypes:
20     file: CommonGlobalTypesServiceTemplate.yaml
21   ContrailAbstractSubstituteGlobalTypes:
22     file: ContrailAbstractSubstituteGlobalTypesServiceTemplate.yaml
23   ContrailNetworkRuleGlobalType:
24     file: ContrailNetworkRuleGlobalTypeServiceTemplate.yaml
25   NeutronSecurityRulesGlobalTypes:
26     file: NeutronSecurityRulesGlobalTypesServiceTemplate.yaml
27   NovaServerGlobalTypes:
28     file: NovaServerGlobalTypesServiceTemplate.yaml
29   ContrailV2VirtualMachineInterfaceGlobalType:
30     file: ContrailV2VirtualMachineInterfaceGlobalTypeServiceTemplate.yaml
31 topology_template:
32   inputs:
33     param_type_comma_delimited_list:
34       hidden: false
35       immutable: false
36       type: list
37       description: param comma_delimited_list - List
38       entry_schema:
39         type: string
40     param_type_string_default_value_with_env:
41       hidden: false
42       immutable: false
43       type: string
44       description: param value should be - HEAT_ENV_default string
45       default: HEAT_ENV default string
46     volume_type:
47       label: FSB Volume
48       hidden: false
49       immutable: false
50       type: string
51       description: FSB Volume type
52     FSB1_volume_name:
53       label: FSB Volume
54       hidden: false
55       immutable: false
56       type: string
57       description: FSB Volume name
58     param_constraint_length_allowed_pattern_range_hidden:
59       label: User Name
60       hidden: true
61       immutable: false
62       type: string
63       description: User name to be configured for the application
64       constraints:
65       - max_length: 8
66       - min_length: 6
67       - pattern: '[A-Z]+[a-zA-Z0-9]*'
68       - in_range:
69         - 0
70         - 10
71     param_type_boolean_default_value_with_env:
72       hidden: false
73       immutable: false
74       type: boolean
75       description: param value should be false
76       default: false
77     param_type_string:
78       hidden: false
79       immutable: false
80       type: string
81       description: param String - string
82     param_type_string_default_value:
83       hidden: false
84       immutable: false
85       type: string
86       description: param value should be - HEAT_default string
87       default: HEAT_default string
88     param_type_number:
89       hidden: false
90       immutable: false
91       type: float
92       description: param number - float
93     param_type_boolean:
94       hidden: false
95       immutable: false
96       type: boolean
97       description: param boolean - boolean
98     param_type_comma_delimited_list_default_value_with_env:
99       hidden: false
100       immutable: false
101       type: list
102       description: param value should be [b1,b2,b3,b4]
103       default:
104       - b1
105       - b2
106       - b3
107       - b4
108       entry_schema:
109         type: string
110     param_type_boolean_default_value:
111       hidden: false
112       immutable: false
113       type: boolean
114       description: param value should be true
115       default: true
116     param_type_number_default_value:
117       hidden: false
118       immutable: false
119       type: float
120       description: param value should be 12345
121       default: 12345
122     FSB_1_image:
123       label: FSB Image
124       hidden: false
125       immutable: false
126       type: string
127       description: FSB Image name
128     param_type_comma_delimited_list_default_value:
129       hidden: false
130       immutable: false
131       type: list
132       description: param value should be [a1,a2,a3,a4]
133       default:
134       - a1
135       - a2
136       - a3
137       - a4
138       entry_schema:
139         type: string
140     param_type_number_default_value_with_env:
141       hidden: false
142       immutable: false
143       type: float
144       description: param value should be 54321
145       default: 54321
146     param_type_json:
147       hidden: false
148       immutable: false
149       type: json
150       description: param json - map<String>
151     param_allowed_values:
152       label: Instance Type
153       hidden: false
154       immutable: false
155       type: string
156       description: Instance type for compute instances
157       constraints:
158       - valid_values:
159         - m1.small
160         - m1.medium
161         - m1.large
162   node_templates:
163     FSB1_volume:
164       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
165       properties:
166         image:
167           get_input: FSB_1_image
168         volume_type:
169           get_input: volume_type
170         size: 3*1024
171         name:
172           get_input: FSB1_volume_name
173   groups:
174     parameters:
175       type: org.openecomp.groups.heat.HeatStack
176       properties:
177         heat_file: ../Artifacts/parameters.yaml
178         description: |
179           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
180       members:
181       - FSB1_volume