[SDC-29] Amdocs OnBoard 1707 initial commit.
[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 - openecomp_heat_index:
6     file: openecomp-heat/_index.yml
7 topology_template:
8   inputs:
9     param_type_comma_delimited_list:
10       hidden: false
11       immutable: false
12       type: list
13       description: param comma_delimited_list - List
14       entry_schema:
15         type: string
16     param_type_string_default_value_with_env:
17       hidden: false
18       immutable: false
19       type: string
20       description: param value should be - HEAT_ENV_default string
21       default: HEAT_ENV default string
22     volume_type:
23       label: FSB Volume
24       hidden: false
25       immutable: false
26       type: string
27       description: FSB Volume type
28     FSB1_volume_name:
29       label: FSB Volume
30       hidden: false
31       immutable: false
32       type: string
33       description: FSB Volume name
34     param_constraint_length_allowed_pattern_range_hidden:
35       label: User Name
36       hidden: true
37       immutable: false
38       type: string
39       description: User name to be configured for the application
40       constraints:
41       - max_length: 8
42       - min_length: 6
43       - pattern: '[A-Z]+[a-zA-Z0-9]*'
44       - in_range:
45         - 0
46         - 10
47     param_type_boolean_default_value_with_env:
48       hidden: false
49       immutable: false
50       type: boolean
51       description: param value should be false
52       default: false
53     param_type_string:
54       hidden: false
55       immutable: false
56       type: string
57       description: param String - string
58     param_type_string_default_value:
59       hidden: false
60       immutable: false
61       type: string
62       description: param value should be - HEAT_default string
63       default: HEAT_default string
64     param_type_number:
65       hidden: false
66       immutable: false
67       type: float
68       description: param number - float
69     param_type_boolean:
70       hidden: false
71       immutable: false
72       type: boolean
73       description: param boolean - boolean
74     param_type_comma_delimited_list_default_value_with_env:
75       hidden: false
76       immutable: false
77       type: list
78       description: param value should be [b1,b2,b3,b4]
79       default:
80       - b1
81       - b2
82       - b3
83       - b4
84       entry_schema:
85         type: string
86     param_type_boolean_default_value:
87       hidden: false
88       immutable: false
89       type: boolean
90       description: param value should be true
91       default: true
92     param_type_number_default_value:
93       hidden: false
94       immutable: false
95       type: float
96       description: param value should be 12345
97       default: 12345
98     FSB_1_image:
99       label: FSB Image
100       hidden: false
101       immutable: false
102       type: string
103       description: FSB Image name
104     param_type_comma_delimited_list_default_value:
105       hidden: false
106       immutable: false
107       type: list
108       description: param value should be [a1,a2,a3,a4]
109       default:
110       - a1
111       - a2
112       - a3
113       - a4
114       entry_schema:
115         type: string
116     param_type_number_default_value_with_env:
117       hidden: false
118       immutable: false
119       type: float
120       description: param value should be 54321
121       default: 54321
122     param_type_json:
123       hidden: false
124       immutable: false
125       type: json
126       description: param json - map<String>
127     param_allowed_values:
128       label: Instance Type
129       hidden: false
130       immutable: false
131       type: string
132       description: Instance type for compute instances
133       constraints:
134       - valid_values:
135         - m1.small
136         - m1.medium
137         - m1.large
138   node_templates:
139     FSB1_volume:
140       type: org.openecomp.resource.vfc.nodes.heat.cinder.Volume
141       properties:
142         image:
143           get_input: FSB_1_image
144         volume_type:
145           get_input: volume_type
146         size: 3*1024
147         name:
148           get_input: FSB1_volume_name
149   groups:
150     parameters_group:
151       type: org.openecomp.groups.heat.HeatStack
152       properties:
153         heat_file: ../Artifacts/parameters.yaml
154         description: |
155           Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
156       members:
157       - FSB1_volume