Bug 2068 - show_content_artifacts error for zip uploaded packages (sol004 and sol007) 90/12490/2 v12.0.3
authorselvi.j <selvi.j@tataelxsi.co.in>
Thu, 25 Aug 2022 06:24:49 +0000 (06:24 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 21 Sep 2022 08:04:31 +0000 (10:04 +0200)
commitba5bbda74eacb668f61976845aeed80197ce400f
tree3ee783af17c09bf893cda995e8b195d304bbec87
parent4f73bd0628866f19f15f2361b667b9adc7443501
Bug 2068 - show_content_artifacts error for zip uploaded packages (sol004 and sol007)

NG-UI throws an error while clicking content button inside action dropdown
For zip based onboarded packages (sol004 and sol007), facing issues while retrieving the file contents from NG-UI.

API used: /osm/vnfpkgm/v1/vnf_packages/<id>/artifacts

Error detail: Packages does not contains artifacts

Changes made: Zip based packages will check for the folder name, if it doesn't have folder name,
then it will raise the exception else it will pass and print the required output.

Change-Id: I0e6ea93a37162a646ddf2a08103d2a99791a8777
Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
osm_nbi/descriptor_topics.py