Skip to content
Commit bb70c819 authored by ksaikiranr's avatar ksaikiranr
Browse files

Feature 8840 Notification to OSS/BSS for subscribed events.



osm_nbi/subscriptions.py: Existing thread which analyze kafka messages for ns topic, if the message
can be used for nslcm notification, then it will invoke NsLcmNotification.send_notification().

osm_nbi/notifications.py: (new file)Holds classes for NS, NSD, VNFD notifications. Used asyncio and aiohttp to send notifications.
Wait time for failed notification will increase in powers of 2. Reusing session of aiohttp client for performance.
Notifications are SOL005 compliant. But some data is missing in kafka message, for such keys N/A value is assigned in notification body.

Change-Id: I142ffc12f3b4e3720d41562f7ffca3b2280f4fd4
Signed-off-by: default avatarK Sai Kiran <saikiran.k@tataelxsi.co.in>
parent 329b8189
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment