diff options
author | julien zhang <zhang.jun3g@zte.com.cn> | 2017-09-05 13:28:08 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-09-05 13:28:08 +0000 |
commit | b33570b6ae9b744e489397cc746dbdbc051e5d29 (patch) | |
tree | f2d825c58ef12ee6113c370dfdcd4fd0f95d196a /tosca2heat/tosca-parser/toscaparser/elements | |
parent | a9eee2ea67be0b45cec1cfe84ac760293d9473fa (diff) | |
parent | f416d7ba961edddfd956b556ed6566bf48824bf5 (diff) |
Merge "Support version of tosca_simple_yaml_1_1"0.5.0
Diffstat (limited to 'tosca2heat/tosca-parser/toscaparser/elements')
-rw-r--r-- | tosca2heat/tosca-parser/toscaparser/elements/tosca_type_validation.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tosca2heat/tosca-parser/toscaparser/elements/tosca_type_validation.py b/tosca2heat/tosca-parser/toscaparser/elements/tosca_type_validation.py index 45b924b..89a6a03 100644 --- a/tosca2heat/tosca-parser/toscaparser/elements/tosca_type_validation.py +++ b/tosca2heat/tosca-parser/toscaparser/elements/tosca_type_validation.py @@ -29,7 +29,8 @@ class TypeValidation(object): 'data_types', 'artifact_types', 'group_types', 'relationship_types', 'capability_types', 'interface_types', 'policy_types', 'topology_template', 'metadata') - VALID_TEMPLATE_VERSIONS = ['tosca_simple_yaml_1_0'] + VALID_TEMPLATE_VERSIONS = ['tosca_simple_yaml_1_0', + 'tosca_simple_yaml_1_1'] exttools = ExtTools() VALID_TEMPLATE_VERSIONS.extend(exttools.get_versions()) |