summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eteutils/EteGatherDataListener.py5
-rw-r--r--eteutils/HTTPUtils.py9
2 files changed, 12 insertions, 2 deletions
diff --git a/eteutils/EteGatherDataListener.py b/eteutils/EteGatherDataListener.py
index c3a91ad..79c02b4 100644
--- a/eteutils/EteGatherDataListener.py
+++ b/eteutils/EteGatherDataListener.py
@@ -44,6 +44,11 @@ class EteGatherDataListener(object):
"vid" : "10.0.8.1",
"portal" : "10.0.9.1",
"message_router" : "10.0.11.1",
+ "dcae_pstg00" : "10.0.4.101",
+ "dcae_coll00" : "10.0.4.102",
+ "dcae_cdap00" : "10.0.4.103",
+ "dcae_cdap01" : "10.0.4.104",
+ "dcae_cdap02" : "10.0.4.105"
}
keyfile = ""
diff --git a/eteutils/HTTPUtils.py b/eteutils/HTTPUtils.py
index 9df3611..bca6b61 100644
--- a/eteutils/HTTPUtils.py
+++ b/eteutils/HTTPUtils.py
@@ -1,8 +1,13 @@
import urllib
+from requests.packages import urllib3
class HTTPUtils:
"""HTTPUtils is common resource for simple http helper keywords."""
-
+
def url_encode_string(self, barestring):
"""URL Encode String takes in a string and converts into 'percent-encoded' string"""
- return urllib.quote_plus(barestring) \ No newline at end of file
+ return urllib.quote_plus(barestring)
+
+ def disable_warnings(self):
+ """ Disable the cert warnings when creating sessions for A&AI API Calls """
+ urllib3.disable_warnings() \ No newline at end of file