diff options
author | 2017-10-26 18:05:19 +0530 | |
---|---|---|
committer | 2017-10-26 18:05:19 +0530 | |
commit | ada0d9333251c26daf4869a3b33407658430ab18 (patch) | |
tree | ce608b506f42ac51302132005f5054aabc15b44c /csarvalidation/src/main | |
parent | d6f2d611538a5379e340aab26a51a0782555ceec (diff) |
Validate against as per defined attribute name
TOSCA.meta: Should be TOSCA-Meta-File-Version instead of
TOSCA-Meta-Version
Change-Id: I6d8d84bcc8a48436fbb044091ea1db1b7f8a2240
Issue-Id: VNFSDK-118
Signed-off-by: AvinashS <avinash.s@huawei.com>
Diffstat (limited to 'csarvalidation/src/main')
-rw-r--r-- | csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java | 2 | ||||
-rw-r--r-- | csarvalidation/src/main/resources/schema/TOSCA.meta | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java b/csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java index 9df9e82..0d7306f 100644 --- a/csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java +++ b/csarvalidation/src/main/java/org/onap/validation/csar/CsarValidator.java @@ -40,7 +40,7 @@ public class CsarValidator { // Map of packageId and CSAR files private static HashMap<String, HashMap<String, String>> csar = new HashMap<String, HashMap<String, String>>(); - private static String MAINSERV_TEMPLATE; + private static String MAINSERV_TEMPLATE = CommonConstants.MAINSERV_TEMPLATE; private static String MAINSERV_MANIFEST; /** diff --git a/csarvalidation/src/main/resources/schema/TOSCA.meta b/csarvalidation/src/main/resources/schema/TOSCA.meta index 4b8de65..f5514a2 100644 --- a/csarvalidation/src/main/resources/schema/TOSCA.meta +++ b/csarvalidation/src/main/resources/schema/TOSCA.meta @@ -1,3 +1,3 @@ -TOSCA-Meta-Version: Double +TOSCA-Meta-File-Version: Double CSAR-Version: Double Entry-Definitions: { get_input: myinput }
\ No newline at end of file |