-
Bug
-
Resolution: Done
-
Low
-
Dublin Release
-
None
This is related to requirement r87234.
When running the following command on a pnf package that does not have a TOSCA-Metadata directory
oclip --product onap-vtp csar-validate --pnf –csar <csar_location>
it results in the check correctly showing a failure. However it is not very clear from the error that the root cause is that the TOSCA-Metadata directory is missing. See output below
{ "contact": "ONAP VTP Team onap-discuss@lists.onap.org", "criteria": "FAILED", "date": "Wed May 22 17:58:08 IST 2019", "platform": "VNFSDK - VNF Test Platform (VTP) 1.0", "results": [ { "description": "V2.4.1 (2018-02)", "errors": [ { "code": "0x0010",// code placeholder "file": "CSAR Archive", "lineNumber": -1, "message": "Missing. Entry [Definition YAML]", "vnfreqNo": null }, { "code": "0x1005", "file": "CSAR Archive", "lineNumber": -1, "message": "Ignored. Entry [pnf_main_descriptor.mf]", "vnfreqNo": null }, { "code": "0x1005", "file": "CSAR Archive", "lineNumber": -1, "message": "Ignored. Entry [Definitions]", "vnfreqNo": null }, { "code": "0x1005", "file": "CSAR Archive", "lineNumber": -1, "message": "Ignored. Entry [Files]", "vnfreqNo": null } ], "passed": false, "vnfreqName": "SOL004" } ], "vnf": { "mode": "WITHOUT_TOSCA_META_DIR", "name": null, "type": "TOSCA", "vendor": null, "version": null } }