aboutsummaryrefslogtreecommitdiffstats
path: root/openo-portal
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2016-10-25 09:44:02 +0800
committerLuji <lu.ji3@zte.com.cn>2016-10-25 01:50:31 +0000
commitf35be4bfcad40cd5f8298bf759d1335f78de4e7b (patch)
tree96f89019b7008c356ccf9840b863d8f9d0697a81 /openo-portal
parent30908ad02cf5255b70fea074b5830feffd4f8cd4 (diff)
Issue#GSO-44 Modify to get servceId from response for creating service.
Change-Id: I97a513b67e0c553e84eb88ceecabf7d9573e4339 Signed-off-by: Luji7 <lu.ji3@zte.com.cn> (cherry picked from commit cade354c0d377bbb03eaea62edccb0a7d34488c3)
Diffstat (limited to 'openo-portal')
-rw-r--r--openo-portal/portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js2
1 files changed, 1 insertions, 1 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 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 = {