aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr
diff options
context:
space:
mode:
Diffstat (limited to 'openo-portal/portal-lifecyclemgr')
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js4
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 = {