Changed datatype_definitions tag to data_types to match spec
- Also fixed a mis-spelling and a swapped mapping in the
type list
Closes-Bug: 1541517
Change-Id: Ia2c27996d65142a255932352760e6a5c0108071c
This commit is contained in:
@@ -22,13 +22,12 @@ class TypeValidation(object):
|
||||
DSL_DEFINITIONS, NODE_TYPES, REPOSITORIES,
|
||||
DATA_TYPES, ARTIFACT_TYPES, GROUP_TYPES,
|
||||
RELATIONSHIP_TYPES, CAPABILITY_TYPES,
|
||||
INTERFCAE_TYPES, POLICY_TYPES, DATATYPE_DEFINITIONS) = \
|
||||
('tosca_definitions_version', 'description',
|
||||
'imports', 'dsl_definitions', 'node_types',
|
||||
'repositories', 'data_types', 'group_types',
|
||||
'artifact_types', 'relationship_types',
|
||||
'capability_types', 'interface_types',
|
||||
'policy_types', 'datatype_definitions')
|
||||
INTERFACE_TYPES, POLICY_TYPES) = \
|
||||
('tosca_definitions_version', 'description', 'imports',
|
||||
'dsl_definitions', 'node_types', 'repositories',
|
||||
'data_types', 'artifact_types', 'group_types',
|
||||
'relationship_types', 'capability_types',
|
||||
'interface_types', 'policy_types')
|
||||
VALID_TEMPLATE_VERSIONS = ['tosca_simple_yaml_1_0']
|
||||
exttools = ExtTools()
|
||||
VALID_TEMPLATE_VERSIONS.extend(exttools.get_versions())
|
||||
|
||||
Reference in New Issue
Block a user