Add capabilities of the DMS query
[pti/o2.git] / o2ims / domain / ocloud.py
index eb4f34b..ee3da89 100644 (file)
@@ -63,6 +63,8 @@ class DeploymentManager(AgRoot, Serializer):
             elif profile == DeploymentManagerProfileSOL018HelmCLI:
                 d['profileSupportList'].append(profile)
 
+        if 'capabilities' in d and d['capabilities'] != '':
+            d['capabilities'] = json.loads(d['capabilities'])
         return d