From 86e916adddf8831299ca21a0b420dddaa632ddb6 Mon Sep 17 00:00:00 2001 From: tierno Date: Wed, 29 May 2019 21:39:37 +0000 Subject: [PATCH] bug 710. Fix session used to delete ns, nsi when terminated Change-Id: Ic0bc04c161e75e872167fbb69e36a24891def47b Signed-off-by: tierno --- osm_nbi/subscriptions.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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): -- 2.17.1