summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/pub/utils/notificationsutil.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/lcm/pub/utils/notificationsutil.py')
-rw-r--r--lcm/lcm/pub/utils/notificationsutil.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lcm/lcm/pub/utils/notificationsutil.py b/lcm/lcm/pub/utils/notificationsutil.py
index 3af8f22a..5327dc16 100644
--- a/lcm/lcm/pub/utils/notificationsutil.py
+++ b/lcm/lcm/pub/utils/notificationsutil.py
@@ -46,6 +46,7 @@ class NotificationsUtil(object):
for subscription in subscriptions:
# set subscription id
notification["subscriptionId"] = subscription.subscription_id
+ notification['_links']['subscription'] = {'href': '/api/vnflcm/v1/subscriptions/%s' % subscription.subscription_id}
callbackUri = subscription.callback_uri
auth_info = json.loads(subscription.auth_info)
if auth_info["authType"] == const.OAUTH2_CLIENT_CREDENTIALS: