summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/pmsh_service/mod/subscription.py
diff options
context:
space:
mode:
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/subscription.py')
-rwxr-xr-xcomponents/pm-subscription-handler/pmsh_service/mod/subscription.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/subscription.py b/components/pm-subscription-handler/pmsh_service/mod/subscription.py
index 8443c9de..fdc1394c 100755
--- a/components/pm-subscription-handler/pmsh_service/mod/subscription.py
+++ b/components/pm-subscription-handler/pmsh_service/mod/subscription.py
@@ -71,6 +71,12 @@ class Subscription:
self.measurementGroups = kwargs.get('measurementGroups')
self.create()
+ def update_sub_params(self, admin_state, file_based_gp, file_location, meas_groups):
+ self.administrativeState = admin_state
+ self.fileBasedGP = file_based_gp
+ self.fileLocation = file_location
+ self.measurementGroups = meas_groups
+
def create(self):
""" Creates a subscription database entry