Add api_versions support; update model of ocloud, resourcepool, and resource
[pti/o2.git] / o2ims / views / ocloud_view.py
index eb6c79f..a70ebf4 100644 (file)
@@ -144,11 +144,11 @@ def deployment_manager_one(deploymentManagerId: str,
     if ocloud.DeploymentManagerProfileDefault == profile:
         pass
     elif ocloud.DeploymentManagerProfileSOL018 == profile:
-        result['deploymentManagementServiceEndpoint'] = \
+        result['serviceUri'] = \
             profile_data['cluster_api_endpoint']
         result['profileData'] = profile_data
     elif ocloud.DeploymentManagerProfileSOL018HelmCLI == profile:
-        result['deploymentManagementServiceEndpoint'] = \
+        result['serviceUri'] = \
             profile_data['cluster_api_endpoint']
 
         helmcli_profile = dict()