From: tierno Date: Wed, 29 May 2019 21:39:37 +0000 (+0000) Subject: bug 710. Fix session used to delete ns, nsi when terminated X-Git-Tag: v6.0.0~26 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F76%2F7576%2F3;p=osm%2FNBI.git bug 710. Fix session used to delete ns, nsi when terminated Change-Id: Ic0bc04c161e75e872167fbb69e36a24891def47b Signed-off-by: tierno --- diff --git a/osm_nbi/subscriptions.py b/osm_nbi/subscriptions.py index 7df78d2..557bf80 100644 --- a/osm_nbi/subscriptions.py +++ b/osm_nbi/subscriptions.py @@ -57,10 +57,12 @@ class SubscriptionThread(threading.Thread): self.logger = logging.getLogger("nbi.subscriptions") self.aiomain_task = None # asyncio task for receiving kafka bus self.internal_session = { # used for a session to the engine methods - "_id": "subscription", - "id": "subscription", - "project_id": "admin", - "admin": True + "project_id": (), + "set_project": (), + "admin": True, + "force": False, + "public": None, + "method": "delete", } def run(self):