diff options
author | jin xin <j00101220@huawei.com> | 2016-10-26 10:15:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@open-o.org> | 2016-10-26 10:15:07 +0000 |
commit | 68a6b65075e299803857426da378976fe9c9e8d0 (patch) | |
tree | ba8315a9e0838b1f8673ce739af1553ace572d9b /openo-portal/portal-lifecyclemgr | |
parent | 53fcd68e33a7d3237789fbd42d9e669bde35e166 (diff) | |
parent | 39981874814ccd4cfd1f5394e135398c31bdb986 (diff) |
Merge "Issue#GSO-51 fix request body error" into sun
Diffstat (limited to 'openo-portal/portal-lifecyclemgr')
-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 b0692625..76b4b2a7 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/gso/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", |