From: K Sai Kiran Date: Tue, 28 Apr 2020 09:18:31 +0000 (+0530) Subject: Feature 8840 Notification to OSS/BSS for subscribed events. X-Git-Tag: release-v8.0-start~6 X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=commitdiff_plain;h=bb70c819066b7f558babf86dbd08fa2f57c52ae5;hp=bb70c819066b7f558babf86dbd08fa2f57c52ae5 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: K Sai Kiran ---