push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / heat / parameters / inputs / parameters.yaml
1 heat_template_version: 2013-05-23
2
3 description: >
4   Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
5
6 parameters:
7   param_type_string:
8       type: string
9       description: param String - string
10   param_type_number:
11       type: number
12       description: param number - float
13   param_type_json:
14       type: json
15       description: param json - map<String>
16   param_type_boolean:
17       type: boolean
18       description: param boolean - boolean
19   param_type_comma_delimited_list:
20       type: comma_delimited_list
21       description: param comma_delimited_list - List
22
23   volume_type:
24       type: string
25       label: FSB Volume
26       description: FSB Volume type
27
28   FSB1_volume_name:
29     type: string
30     label: FSB Volume
31     description: FSB Volume name
32
33   FSB_1_image:
34     type: string
35     label: FSB Image
36     description: FSB Image name
37
38   param_constraint_length_allowed_pattern_range_hidden:
39     type: string
40     label: User Name
41     description: User name to be configured for the application
42     hidden: true
43     constraints:
44       - length: { min: 6, max: 8 }
45         description: User name must be between 6 and 8 characters
46       - allowed_pattern: "[A-Z]+[a-zA-Z0-9]*"
47         description: User name must start with an uppercase character
48       - range: { min: 0, max: 10 }
49   param_allowed_values:
50     type: string
51     label: Instance Type
52     description: Instance type for compute instances
53     constraints:
54       - allowed_values:
55         - m1.small
56         - m1.medium
57         - m1.large
58
59   param_type_string_default_value:
60       type: string
61       default: HEAT_default string
62       description: param value should be - HEAT_default string
63   param_type_string_default_value_with_env:
64       type: string
65       description: param value should be - HEAT_ENV_default string
66       default: HEAT_default string
67
68   param_type_number_default_value:
69       type: number
70       description: param value should be 12345
71       default: 12345
72   param_type_number_default_value_with_env:
73         type: number
74         description: param value should be 54321
75         default: 12345
76   param_type_boolean_default_value:
77       type: boolean
78       description: param value should be true
79       default: true
80   param_type_boolean_default_value_with_env:
81       type: boolean
82       description: param value should be false
83       default: true
84   param_type_comma_delimited_list_default_value:
85       type: comma_delimited_list
86       description: param value should be [a1,a2,a3,a4]
87       default: a1,a2,a3,a4
88   param_type_comma_delimited_list_default_value_with_env:
89         type: comma_delimited_list
90         description: param value should be [b1,b2,b3,b4]
91         default: a1,a2,a3,a4
92 resources:
93   FSB1_volume:
94     type: OS::Cinder::Volume
95     properties:
96       size: 3
97       volume_type: {get_param: volume_type}
98       name: {get_param: FSB1_volume_name}
99       image: {get_param: FSB_1_image}
100
101