diff options
-rw-r--r-- | openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js index 5b2a47df..ea2f274a 100644 --- a/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js +++ b/openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js @@ -339,13 +339,15 @@ function createGsoServiceInstance(gatewayService, serviceInstance, serviceTempla serviceInstance.inputParameters.location = serviceInstance.vimLocation; var gsoLcmUri = '/openoapi/lifecyclemgr/v1/services'; var parameter = { - 'name': serviceInstance.serviceName, - 'description': serviceInstance.description, - 'serviceDefId': serviceTemplate.gsarId, - 'templateId': serviceInstance.serviceTemplateId, - 'templateName': serviceTemplate.templateName, - 'gatewayUri': gsoLcmUri, - 'parameters': serviceInstance.inputParameters + 'service': { + 'name': serviceInstance.serviceName, + 'description': serviceInstance.description, + 'serviceDefId': serviceTemplate.gsarId, + 'templateId': serviceInstance.serviceTemplateId, + 'templateName': serviceTemplate.templateName, + 'gatewayUri': gsoLcmUri, + 'parameters': serviceInstance.inputParameters + } }; $.when($.ajax({ type: "POST", |