From 8182ddf3140f4345ccbcb0bec37ff174756ba2e0 Mon Sep 17 00:00:00 2001 From: Pavel Aharoni Date: Wed, 10 May 2017 11:16:17 +0300 Subject: [SDC-17] Metadata section in templates Change-Id: I4365fa72d38a70c86d03f90caf8cc28e7b793521 Signed-off-by: Pavel Aharoni --- .../org/openecomp/sdc/toscaparser/api/elements/TypeValidation.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jtosca/src/main/java/org/openecomp/sdc/toscaparser/api/elements/TypeValidation.java b/jtosca/src/main/java/org/openecomp/sdc/toscaparser/api/elements/TypeValidation.java index c2d1a7c..c951540 100644 --- a/jtosca/src/main/java/org/openecomp/sdc/toscaparser/api/elements/TypeValidation.java +++ b/jtosca/src/main/java/org/openecomp/sdc/toscaparser/api/elements/TypeValidation.java @@ -22,13 +22,16 @@ public class TypeValidation { private static final String INTERFACE_TYPES = "interface_types"; private static final String POLICY_TYPES = "policy_types"; private static final String TOPOLOGY_TEMPLATE = "topology_template"; + //Pavel + private static final String METADATA = "metadata"; + private String ALLOWED_TYPE_SECTIONS[] = { DEFINITION_VERSION, DESCRIPTION, IMPORTS, DSL_DEFINITIONS, NODE_TYPES, REPOSITORIES, DATA_TYPES, ARTIFACT_TYPES, GROUP_TYPES, RELATIONSHIP_TYPES, CAPABILITY_TYPES, INTERFACE_TYPES, POLICY_TYPES, - TOPOLOGY_TEMPLATE + TOPOLOGY_TEMPLATE, METADATA }; private static ArrayList VALID_TEMPLATE_VERSIONS = _getVTV(); -- cgit 1.2.3-korg