summaryrefslogtreecommitdiffstats
path: root/jtosca/src/main/java
diff options
context:
space:
mode:
authorPavel Aharoni <pa0916@att.com>2017-05-10 11:16:17 +0300
committerPavel Aharoni <pa0916@att.com>2017-05-10 11:16:17 +0300
commit8182ddf3140f4345ccbcb0bec37ff174756ba2e0 (patch)
treeffa19ba15c8f81a7de839fd301af76b0eee3bfe8 /jtosca/src/main/java
parent87511869a3e3ca3c147f072b49371874e1336d74 (diff)
[SDC-17] Metadata section in templates
Change-Id: I4365fa72d38a70c86d03f90caf8cc28e7b793521 Signed-off-by: Pavel Aharoni <pa0916@att.com>
Diffstat (limited to 'jtosca/src/main/java')
-rw-r--r--jtosca/src/main/java/org/openecomp/sdc/toscaparser/api/elements/TypeValidation.java5
1 files changed, 4 insertions, 1 deletions
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<String> VALID_TEMPLATE_VERSIONS = _getVTV();