aboutsummaryrefslogtreecommitdiffstats
path: root/ice_validator/tests/fixtures/test_base_template_names/fail/invalid_chars/invalid chars - in name.yaml
diff options
context:
space:
mode:
authorLovett, Trevor <trevor.lovett@att.com>2020-04-30 14:50:02 -0500
committerLovett, Trevor <trevor.lovett@att.com>2020-04-30 14:50:02 -0500
commit4b53cbbf12894610774b5e024cecb0d4e395aad3 (patch)
tree7522eaf8d208c1fcdd4dbbaec8ea993bd988139d /ice_validator/tests/fixtures/test_base_template_names/fail/invalid_chars/invalid chars - in name.yaml
parentba669ca219cf8bb9dc64deff9f22941be2fb4388 (diff)
Enforce filename rules
Disallow characters other than alphanumerics and underscores in Heat template file names Change-Id: I097ad1830fdc10fb431daef6ec713d825ee8b42a Issue-ID: VVP-415 Signed-off-by: Lovett, Trevor <trevor.lovett@att.com>
Diffstat (limited to 'ice_validator/tests/fixtures/test_base_template_names/fail/invalid_chars/invalid chars - in name.yaml')
-rw-r--r--ice_validator/tests/fixtures/test_base_template_names/fail/invalid_chars/invalid chars - in name.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/ice_validator/tests/fixtures/test_base_template_names/fail/invalid_chars/invalid chars - in name.yaml b/ice_validator/tests/fixtures/test_base_template_names/fail/invalid_chars/invalid chars - in name.yaml
new file mode 100644
index 0000000..db25f71
--- /dev/null
+++ b/ice_validator/tests/fixtures/test_base_template_names/fail/invalid_chars/invalid chars - in name.yaml
@@ -0,0 +1,56 @@
+# -*- coding: utf8 -*-
+# ============LICENSE_START=======================================================
+# org.onap.vvp/validation-scripts
+# ===================================================================
+# Copyright © 2020 AT&T Intellectual Property. All rights reserved.
+# ===================================================================
+#
+# Unless otherwise specified, all software contained herein is licensed
+# under the Apache License, Version 2.0 (the "License");
+# you may not use this software except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+#
+# Unless otherwise specified, all documentation contained herein is licensed
+# under the Creative Commons License, Attribution 4.0 Intl. (the "License");
+# you may not use this documentation except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://creativecommons.org/licenses/by/4.0/
+#
+# Unless required by applicable law or agreed to in writing, documentation
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# ============LICENSE_END============================================
+#
+#
+---
+description:
+ base
+parameters:
+ vm_type_volume_name_0:
+ type: string
+ vm_type_volume_size_0:
+ type: number
+
+resources:
+ server_0:
+ type: OS::Nova::Server
+ properties:
+ name: {get_param: server_name_0}
+
+outputs:
+ vm_type_volume_id_0:
+ value: {get_resource: vm_type_volume_0}