aboutsummaryrefslogtreecommitdiffstats
path: root/osdf/optimizers/licenseopt/simple_license_allocation.py
diff options
context:
space:
mode:
Diffstat (limited to 'osdf/optimizers/licenseopt/simple_license_allocation.py')
-rw-r--r--osdf/optimizers/licenseopt/simple_license_allocation.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/osdf/optimizers/licenseopt/simple_license_allocation.py b/osdf/optimizers/licenseopt/simple_license_allocation.py
index 74d220f..b2aaba4 100644
--- a/osdf/optimizers/licenseopt/simple_license_allocation.py
+++ b/osdf/optimizers/licenseopt/simple_license_allocation.py
@@ -15,6 +15,7 @@
#
# -------------------------------------------------------------------------
#
+from osdf.utils.mdc_utils import mdc_from_json
def license_optim(request_json):
@@ -24,6 +25,7 @@ def license_optim(request_json):
:param request_json: Request in a JSON format
:return: A tuple of licensekey-group-uuid-list and entitlement-group-uuid-list
"""
+ mdc_from_json(request_json)
req_id = request_json["requestInfo"]["requestId"]
model_name = request_json.get('placementInfo', {}).get('serviceInfo', {}).get('modelInfo', {}).get('modelName')