summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhariharan97 <rh20085046@wipro.com>2021-01-04 12:57:38 +0530
committerhariharan97 <rh20085046@wipro.com>2021-01-04 12:57:38 +0530
commit8323a205518f013598d9177c14ce26bcee9e09a3 (patch)
treea4e507c17e1880541fc2db1ebdc87e1517d2dec7
parentd2401bc3d6b3366951faacfd9984d37ee73d126b (diff)
Fix AAI request url for NxI Termination
Issue-ID: OPTFRA-890 Signed-off-by: hariharan97 <rh20085046@wipro.com> Change-Id: I4e11419f260d04f02b8b77eb0924bc92ad881991
-rw-r--r--osdf/adapters/aai/fetch_aai_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdf/adapters/aai/fetch_aai_data.py b/osdf/adapters/aai/fetch_aai_data.py
index 634aa04..d869882 100644
--- a/osdf/adapters/aai/fetch_aai_data.py
+++ b/osdf/adapters/aai/fetch_aai_data.py
@@ -45,7 +45,7 @@ def get_aai_data(request_json, osdf_config):
aai_req_url = aai_url + config["aaiServiceInstanceUrl"] + nxi_id + "?depth=2"
try:
- response = requests.get(aai_req_url, aai_headers, auth=HTTPBasicAuth("AAI", "AAI"), verify=False)
+ response = requests.get(aai_req_url, headers=aai_headers, auth=HTTPBasicAuth("AAI", "AAI"), verify=False)
except RequestException as e:
raise AAIException("Request exception was encountered {}".format(e))