aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-01-09 14:33:05 -0500
committerLeigh, Phillip (pl876u) <phillip.leigh@amdocs.com>2019-01-09 15:40:10 -0500
commit57520e733e6aa87087d16b1ec385d048fb1b3f4f (patch)
treef8a509805d48b9d8a4b8f6527fb3c4a6904379ce
parent9b24e98bb37f90c85f27e515945c8ab86807a0fb (diff)
Increase AAI read time out in AaiCtxBuilder
The AAI read time out from previously 5 seconds to 30 seconds. Issue-ID: LOG-764 Change-Id: I587ba035d3287c1eecce553d27645faadec9776a Signed-off-by: Leigh, Phillip (pl876u) <phillip.leigh@amdocs.com>
-rw-r--r--config/application.properties3
-rw-r--r--src/main/java/org/onap/pomba/contextbuilder/aai/util/RestUtil.java1
2 files changed, 2 insertions, 2 deletions
diff --git a/config/application.properties b/config/application.properties
index dea9aa7..2a2222b 100644
--- a/config/application.properties
+++ b/config/application.properties
@@ -37,7 +37,8 @@ aai.username=AAI
aai.password=OBF:1gfr1ev31gg7
aai.httpProtocol=https
aai.connectionTimeout=5000
-aai.readTimeout=5000
+# aai readTimeout unit: msec
+aai.readTimeout=30000
# HTTP Basic Authorization credentials for Rest Service API
http.userId=admin
diff --git a/src/main/java/org/onap/pomba/contextbuilder/aai/util/RestUtil.java b/src/main/java/org/onap/pomba/contextbuilder/aai/util/RestUtil.java
index 88f3db4..b85c75e 100644
--- a/src/main/java/org/onap/pomba/contextbuilder/aai/util/RestUtil.java
+++ b/src/main/java/org/onap/pomba/contextbuilder/aai/util/RestUtil.java
@@ -37,7 +37,6 @@ import org.onap.pomba.common.datatypes.Attribute;
import org.onap.pomba.common.datatypes.DataQuality;
import org.onap.pomba.common.datatypes.ModelContext;
import org.onap.pomba.common.datatypes.Service;
-//import org.onap.pomba.common.datatypes.VF;
import org.onap.pomba.common.datatypes.VNF;
import org.onap.pomba.common.datatypes.VFModule;
import org.onap.pomba.common.datatypes.VM;