From f35be4bfcad40cd5f8298bf759d1335f78de4e7b Mon Sep 17 00:00:00 2001 From: Luji7 Date: Tue, 25 Oct 2016 09:44:02 +0800 Subject: [PATCH] Issue#GSO-44 Modify to get servceId from response for creating service. Change-Id: I97a513b67e0c553e84eb88ceecabf7d9573e4339 Signed-off-by: Luji7 (cherry picked from commit cade354c0d377bbb03eaea62edccb0a7d34488c3) --- .../portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 37cb05f3..985bb63f 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 @@ -308,7 +308,7 @@ function createServiceInstance(gatewayService, nsUri, serviceInstance) { dataType: "json", data: JSON.stringify(sParameter) })).then(function(response) { - var nsInstanceId = response.nsInstanceId; + var nsInstanceId = response.serviceId; serviceInstance.serviceId = nsInstanceId; var initNsUrl = nsUri + '/' + nsInstanceId + '/Instantiate'; var parameter = { -- 2.16.6