Register operations for VIM, WIM, SDNC
provide http ACCEPTED 202 on asynchronous operations

Change-Id: I448dd90e74eca736af5b9e1f3f65bc45992228f0
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_nbi/engine.py b/osm_nbi/engine.py
index 0ba57cb..1f7f0f0 100644
--- a/osm_nbi/engine.py
+++ b/osm_nbi/engine.py
@@ -267,7 +267,7 @@
         :param session: contains the used login username and working project
         :param topic: it can be: users, projects, vnfds, nsds, ...
         :param _id: server id of the item
-        :return: dictionary with deleted item _id. It raises exception if not found.
+        :return: operation id (None if there is not operation), raise exception if error or not found.
         """
         if topic not in self.map_topic:
             raise EngineException("Unknown topic {}!!!".format(topic), HTTPStatus.INTERNAL_SERVER_ERROR)
@@ -282,7 +282,7 @@
         :param _id: identifier to be updated
         :param indata: data to be inserted
         :param kwargs: used to override the indata descriptor
-        :return: dictionary, raise exception if not found.
+        :return: operation id (None if there is not operation), raise exception if error or not found.
         """
         if topic not in self.map_topic:
             raise EngineException("Unknown topic {}!!!".format(topic), HTTPStatus.INTERNAL_SERVER_ERROR)