diff options
author | Luji7 <lu.ji3@zte.com.cn> | 2016-09-28 11:27:46 +0800 |
---|---|---|
committer | Luji7 <lu.ji3@zte.com.cn> | 2016-09-28 11:27:46 +0800 |
commit | 4f059e8395868c4b9a65fbbf6fb9320bcd5d2f59 (patch) | |
tree | ba93b5c001fbddaf3c47cf803d8f1c6e86b0fedf /openo-portal | |
parent | 9e6002938260d6c77b3731071b260e3cdd1f76b1 (diff) |
Fix bug, not pass serviceTemplate parameter for create instance
Change-Id: Ic3dd9856bb4e91ae3977e707737edd9ecb9208d2
Signed-off-by: Luji7 <lu.ji3@zte.com.cn>
Diffstat (limited to 'openo-portal')
-rw-r--r-- | openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js | 4 |
1 files changed, 2 insertions, 2 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 78923796..a47ee74e 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 @@ -46,7 +46,7 @@ lcmHandler.prototype = { return; } if (serviceTemplate.csarType === 'GSAR') { - serviceInstance.serviceInstanceId = createGsoServiceInstance(gatewayService, serviceInstance); + serviceInstance.serviceInstanceId = createGsoServiceInstance(gatewayService, serviceInstance, serviceTemplate); } else if (serviceTemplate.csarType === 'NSAR' || serviceTemplate.csarType === 'NFAR') { serviceInstance.serviceInstanceId = createNfvoServiceInstance(gatewayService, serviceInstance); } else if (serviceTemplate.csarType === 'SSAR') { @@ -216,7 +216,7 @@ function transformToOptions(vims) { return options; } -function createGsoServiceInstance(gatewayService, serviceInstance) { +function createGsoServiceInstance(gatewayService, serviceInstance, serviceTemplate) { serviceInstance.serviceParameters.location = serviceInstance.vimLocation; var gsoLcmUri = '/openoapi/lifecyclemgr/v1/services'; var parameter = { |