X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fsubscription_topics.py;h=0389483a832394f76c59a07a77fa93cfe1f9a9be;hp=92c7417a434f4cc555a04945e91ab7eaa3f34f4d;hb=f2af4a100d308e07f355d61b94fb27d1ccc97aa2;hpb=838e4fb65f485469934a4dd895ca910470fa8beb diff --git a/osm_nbi/subscription_topics.py b/osm_nbi/subscription_topics.py index 92c7417..0389483 100644 --- a/osm_nbi/subscription_topics.py +++ b/osm_nbi/subscription_topics.py @@ -25,6 +25,14 @@ class CommonSubscriptions(BaseTopic): topic = "subscriptions" topic_msg = None + def _subscription_mapper(self, _id, data, table): + """ + Performs data transformation on subscription request + :param data: data to be trasformed + :param table: table in which transformed data are inserted + """ + pass + def format_subscription(self, subs_data): """ Brings lexicographical order for list items at any nested level. For subscriptions max level of nesting is 4.