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-Tag: v2.0.1~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=284fe66c44edf541c2b791a7dd2db12174a7c4c9;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}