Feature 7919: Added method to check duplicate subscription 46/9146/4
authorK Sai Kiran <saikiran.k@tataelxsi.co.in>
Mon, 22 Jun 2020 10:03:53 +0000 (15:33 +0530)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 26 Jun 2020 11:18:03 +0000 (13:18 +0200)
commitf5cfef2584dcc6152fa76b6594793a671ea25b79
tree8625c5b7f254963debac1318f9b83328ddc22049
parent59338b1ea606d65e02e80d107459497d4823fba0
Feature 7919: Added method to check duplicate subscription

New common method for NS, NSD and VNFD subscriptions check_conflict_on_new()
compares new subscription against existing subscriptions. It will reject
new subscription if and only if there exisits a subscription
which has same auth callbackuri, username(if present) and filters.

Change-Id: I0196ee4dfc1207c635cfa4c2ac5798be3579a095
Signed-off-by: K Sai Kiran <saikiran.k@tataelxsi.co.in>
osm_nbi/subscription_topics.py