Update to Python 3.10 and Ubuntu 22.04 Removed stale test file that has linting errors Removed event loops Updated Python dependencies Change-Id: I9462b0d67ea6b5bd4c869b5f2bc8d6c57d78660c Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
Replace yaml.load by yaml.safe_load Change-Id: I4f6c3802e40d763fc2175dbb2bd94dbc79b813c2 Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Enable pylint, black and flake8 in tox.ini Change-Id: I5e252eb4802b79497a3fdfea63488668d8a8c692 Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Feature 10926 - Subscription feature for SOL003 VNF-LCM Added the subscription and notification implementation code for SOL003 Life cycle management interface Change-Id: Id73f83f4bf1bbbd07f0b3844a9a89442f8cdfb95 Signed-off-by: selvi.j <selvi.j@tataelxsi.co.in>
Reformat NBI to standardized format Change-Id: I17c2b029b83af84fbc97559bd2b616dfb6aef0fb Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
fix 1187 create notification task with the proper loop Also call notifications when there are subscribers Change-Id: Icf6b4f88aaf633282c2736de85803f845b17d4c6 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
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 <saikiran.k@tataelxsi.co.in>
fix getting kafka aioread exception Change-Id: I11d243b4b16a0757415aa72ded1e6b2134f7f3f8 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Token Cache Management Change-Id: I09ea3a8c0c537a5eeba0ac5bc1426167133db998 Signed-off-by: delacruzramo <pedro.delacruzramos@altran.com>
fix bug 937. NSs are not deleted from database upon NSI deletion Change-Id: Ib69d8921da777e41749aa8511fd64d1d7cc6204a Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
change imports with osm_nbi prefix Change-Id: I4dcbfc71d900269f28ceec6669fe4127bc6a29fc Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
bug 710: send dummy messages to kafka before subscribe Change-Id: I3dd79775026f39c502198a7afac7a4b64f9cd8f6 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
bug 710. Fix session used to delete ns, nsi when terminated Change-Id: Ic0bc04c161e75e872167fbb69e36a24891def47b Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Complete multiproject. Adding admin query string: FORCE,ADMIN,PUBLIC,SET_PROJECT Change-Id: I96bbb050ea8ade55edb948b925127049882ff191 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
Feature shared network slice subnet Change-Id: I13bd54522560ae507cdaf1ec6652e587b2c7a8db Signed-off-by: Felipe Vicens <felipe.vicens@atos.net>
new thread to read from kafka and terminate ns/nsi when autoremove Change-Id: Ibae5e0adb05716d506b1d571e583235f1e14aa40 Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>