From b6bea19c02f5de882bb81d2b7b44ac39e6bc0b0d Mon Sep 17 00:00:00 2001
From: j00302280 <j00101220@huawei.com>
Date: Fri, 4 Nov 2016 00:57:31 +0800
Subject: Issue ID: GSO-60 modify the timeout

Change-Id: Ib50b089bcb088a88118e7906eee20dad8ca55f0c
Signed-off-by: j00302280 <j00101220@huawei.com>
---
 .../portal-lifecyclemgr/src/main/webapp/lifecyclemgr/js/gsolcm.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'openo-portal')

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 265ecd12..498a86c0 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
@@ -533,7 +533,7 @@ function createGsoServiceInstance(gatewayService, serviceInstance, serviceTempla
             serviceInstance.serviceId = response.serviceId;
             var gsoServiceUri = '/openoapi/gso/v1/services/' + response.serviceId;
             var timerDefer = $.Deferred();
-            var timeout = 600000;
+            var timeout = 3600000;
             var fun = function() {
                 if(timeout === 0) {
                     timerDefer.resolve({
@@ -633,7 +633,7 @@ function createServiceInstance(gatewayService, lcmUri, serviceInstance) {
             var jobId = response.serviceId;
             var jobStatusUri = lcmUri + '/jobs/' + jobId;
             var timerDefer = $.Deferred();
-            var timeout = 600000;
+            var timeout = 3600000;
             var fun = function() {
                 if(timeout === 0) {
                     timerDefer.resolve({
@@ -745,7 +745,7 @@ function deleteGsoServiceInstance(gatewayService, instanceId, remove, failFun) {
         function(response) {
             var gsoServiceUri = '/openoapi/gso/v1/services/toposequence/' + instanceId;
             var timerDefer = $.Deferred();
-            var timeout = 600000;
+            var timeout = 3600000;
             var fun = function() {
                 if(timeout === 0) {
                     timerDefer.resolve({
@@ -792,7 +792,7 @@ function deleteNonGsoServiceInstance(gatewayService, lcmUri, instanceId, remove,
             var jobId = response.jobId;
             var jobStatusUri = lcmUri + '/jobs/' + jobId;
             var timerDefer = $.Deferred();
-            var timeout = 600000;
+            var timeout = 3600000;
             var fun = function() {
                 if(timeout === 0) {
                     timerDefer.resolve({
-- 
cgit 1.2.3-korg