summaryrefslogtreecommitdiffstats
path: root/openo-portal/portal-lifecyclemgr/src/main
diff options
context:
space:
mode:
authorLuji7 <lu.ji3@zte.com.cn>2016-10-25 09:44:02 +0800
committerLuji7 <lu.ji3@zte.com.cn>2016-10-25 09:44:02 +0800
commitcade354c0d377bbb03eaea62edccb0a7d34488c3 (patch)
tree463f8082ec2cc3a91ae4c7b3462c65c60582510e /openo-portal/portal-lifecyclemgr/src/main
parenta48605e7984d9488f1bfa4b333bc4fd011914902 (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>
Diffstat (limited to 'openo-portal/portal-lifecyclemgr/src/main')
-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 a9eba6f2..4b135f70 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 = {