Fix usageState of descriptors. 54/7254/4
authortierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 23 May 2019 08:42:12 +0000 (08:42 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Thu, 23 May 2019 11:42:00 +0000 (11:42 +0000)
commitb4844abca6fd9f8a7cf45fdc168d3606d2c34c39
tree64cfa811dfd2c8eb72ca9613a389494101f98801
parent203bad808476ab11c80dbda1bc64a8c1e79d7ec5
Fix usageState of descriptors.
Do not delete when there is other projects using it. Project reference is deleted. Real deletion is done when last project deletes it.

Change-Id: I49363349950ef90837f3e1a7e702e598541cad20
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_nbi/admin_topics.py
osm_nbi/base_topic.py
osm_nbi/descriptor_topics.py
osm_nbi/instance_topics.py
osm_nbi/tests/test.py