commit | 1537e926aa1b994b07f9587b699c143a9bb3da20 | [log] [tgz] |
---|---|---|
author | PriyanshuAgarwal <pagarwal@amdocs.com> | Tue Feb 06 11:22:30 2018 +0530 |
committer | priyanshu <pagarwal@amdocs.com> | Tue Feb 06 11:22:30 2018 +0530 |
tree | 8e47ddb7bce9fe87ab6a6425b0ef83add56d7206 | |
parent | e614317c7147947441b31e773604a6cb6ddfe059 [diff] |
Initialize metaProperties in JTosca. To enable SDC Parser to parse individual Yamls. Change-Id: I94035dc0d2bd58fc192df7dc2f572cef5181b2a6 Issue-ID: SDC-999 Signed-off-by: priyanshu <pagarwal@amdocs.com>
diff --git a/src/main/java/org/openecomp/sdc/toscaparser/api/ToscaTemplate.java b/src/main/java/org/openecomp/sdc/toscaparser/api/ToscaTemplate.java index 8d7d130..4c19be6 100644 --- a/src/main/java/org/openecomp/sdc/toscaparser/api/ToscaTemplate.java +++ b/src/main/java/org/openecomp/sdc/toscaparser/api/ToscaTemplate.java
@@ -136,6 +136,7 @@ nestedToscaTplsWithTopology = new ConcurrentHashMap<>(); nestedToscaTemplatesWithTopology = new ArrayList<TopologyTemplate>(); resolveGetInput = _resolveGetInput; + metaProperties = new LinkedHashMap<>(); if(_path != null && !_path.isEmpty()) { // save the original input path