From: sinhan Date: Mon, 22 May 2017 17:12:32 +0000 (+0000) Subject: RIFT 16525 Make file-types consistent in get-pacakge-schema and package-file-add... X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=4b671a7b0a26b975f59932d42cf7bfcf0e1d4088;p=osm%2FSO.git RIFT 16525 Make file-types consistent in get-pacakge-schema and package-file-add RPCs. Signed-off-by: sinhan --- diff --git a/rwlaunchpad/plugins/rwpkgmgr/rift/tasklets/rwpkgmgr/proxy/filesystem.py b/rwlaunchpad/plugins/rwpkgmgr/rift/tasklets/rwpkgmgr/proxy/filesystem.py index 6b4aba1a..cc89889a 100644 --- a/rwlaunchpad/plugins/rwpkgmgr/rift/tasklets/rwpkgmgr/proxy/filesystem.py +++ b/rwlaunchpad/plugins/rwpkgmgr/rift/tasklets/rwpkgmgr/proxy/filesystem.py @@ -40,7 +40,7 @@ class FileSystemProxy(AbstractPackageManagerProxy): # Refer: https://confluence.riftio.com/display/ATG/Launchpad+package+formats SCHEMA = { "nsd": ["icons", "ns_config", "scripts", "vnf_config"], - "vnfd": ["charms", "cloud_init", "icons", "images", "scripts"] + "vnfd": ["charms", "cloud_init", "icons", "images", "scripts", "readme"] } SCHEMA_TO_PERMS = {'scripts': 0o777}