Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1b0cfdd
)
fix bug for failure in creating subscriptions for vnfm
08/93308/1
author
hongyuzhao
<zhao.hongyu@zte.com.cn>
Mon, 12 Aug 2019 09:04:37 +0000
(17:04 +0800)
committer
hongyuzhao
<zhao.hongyu@zte.com.cn>
Mon, 12 Aug 2019 09:06:05 +0000
(17:06 +0800)
Change-Id: Ie49b7f84627e582516ad2bcb2e7bb6e523fcabbb
Issue-ID: VFC-1482
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
lcm/lcm/pub/utils/notificationsutil.py
patch
|
blob
|
history
diff --git
a/lcm/lcm/pub/utils/notificationsutil.py
b/lcm/lcm/pub/utils/notificationsutil.py
index
8a38fd6
..
6b7c791
100644
(file)
--- a/
lcm/lcm/pub/utils/notificationsutil.py
+++ b/
lcm/lcm/pub/utils/notificationsutil.py
@@
-61,7
+61,7
@@
class NotificationsUtil(object):
}
callbackUri = subscription.callback_uri
auth_info = json.loads(subscription.auth_info)
- if
auth_info["authType"] != const.OAUTH2_CLIENT_CREDENTIALS
:
+ if
const.BASIC in auth_info["authType"]
:
try:
self.post_notification(callbackUri, auth_info, notification)
except Exception as e: