apk --no-cache update
apk --no-cache add bash curl gcc wget mysql-client openssl-dev
- apk --no-cache add libffi-dev musl-dev py3-virtualenv
+ apk --no-cache add python3-dev libffi-dev musl-dev py3-virtualenv
# get binary zip from nexus - vfc-nfvo-catalog
wget -q -O vfc-gvnfm-vnflcm-lcm.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.gvnfm.vnflcm.lcm&a=vfc-gvnfm-vnflcm-lcm&v=${pkg_version}-SNAPSHOT&e=zip" && \
try:
self.post_notification(callbackUri, auth_info, notification)
except Exception as e:
- logger.error("Failed to post notification: %s", e.message)
+ logger.error("Failed to post notification: %s", e.args[0])
def post_notification(self, callbackUri, auth_info, notification):
params = auth_info.get("paramsBasic", {})
res_del_fun(res["vim_id"], res["tenant_id"], res["res_id"])
except VimException as e:
logger.error("Failed to delete %s(%s)", res_type, res["res_id"])
- logger.error("%s:%s", e.http_code, e.message)
+ logger.error("%s:%s", e.http_code, e.args[0])
do_notify(res_type, res["res_id"])