aboutsummaryrefslogtreecommitdiffstats
path: root/onap-client
diff options
context:
space:
mode:
authorstark, steven <steven.stark@att.com>2021-07-09 14:46:40 -0700
committerstark, steven <steven.stark@att.com>2021-07-12 07:39:36 -0700
commit76a0639fc26652c9ed8ba5e573b16c2495313e47 (patch)
treeb9f54354581cd21f7ad04899931d1ab483faaff7 /onap-client
parenta1a5fc7377a9150cc15c2d3006d9d19b73551c50 (diff)
[VVP] Increasing request timeout value
Issue-ID: VVP-555 Signed-off-by: stark, steven <steven.stark@att.com> Change-Id: I6c236f97cd7bc5cea1842339cf0278afa4a4b77c
Diffstat (limited to 'onap-client')
-rw-r--r--onap-client/onap_client/client/request.py2
-rw-r--r--onap-client/setup.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/onap-client/onap_client/client/request.py b/onap-client/onap_client/client/request.py
index fe96b16..d06d748 100644
--- a/onap-client/onap_client/client/request.py
+++ b/onap-client/onap_client/client/request.py
@@ -126,7 +126,7 @@ class Request:
http.mount("https://", adapter)
http.mount("http://", adapter)
- return http.request(**self.kwargs, verify=verify, timeout=(6.05, 60))
+ return http.request(**self.kwargs, verify=verify, timeout=(6.05, int(os.environ.get("ONAP_CLIENT_TIMEOUT", 120))))
class APICatalogRequestObject:
diff --git a/onap-client/setup.py b/onap-client/setup.py
index 4361479..1b34a09 100644
--- a/onap-client/setup.py
+++ b/onap-client/setup.py
@@ -43,7 +43,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="onap-client",
- version="1.5.3",
+ version="1.5.4",
author="Steven Stark",
author_email="steven.stark@att.com",
description="Python API wrapper for ONAP applications",