aboutsummaryrefslogtreecommitdiffstats
path: root/osdf/adapters
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2021-09-09 16:23:17 +0530
committerkrishnaa96 <krishna.moorthy6@wipro.com>2021-10-04 21:13:51 +0530
commite35d4a1b94bbcd844300282d1c3c8722ef58062d (patch)
tree1e3db2313ba02a09feb48842852c8118547072f9 /osdf/adapters
parent92373ddd2e28cc2000a2634d273836fea5d87a6e (diff)
Support second level NSSI in terminate app
Issue-ID: OPTFRA-990 Signed-off-by: krishnaa96 <krishna.moorthy6@wipro.com> Change-Id: If47b19d18e5eb1cbef24418c7697e0770818959f
Diffstat (limited to 'osdf/adapters')
-rw-r--r--osdf/adapters/aai/fetch_aai_data.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/osdf/adapters/aai/fetch_aai_data.py b/osdf/adapters/aai/fetch_aai_data.py
index fad2512..170d5e5 100644
--- a/osdf/adapters/aai/fetch_aai_data.py
+++ b/osdf/adapters/aai/fetch_aai_data.py
@@ -52,7 +52,9 @@ def get_aai_data(request_json, osdf_config):
aai_req_url = aai_url + config["aaiServiceInstanceUrl"] + nxi_id + "?depth=2"
try:
+ debug_log.debug("aai request: {}".format(aai_req_url))
response = requests.get(aai_req_url, headers=AAI_HEADERS, auth=AUTH, verify=False)
+ debug_log.debug("aai response: {}".format(response.json()))
except RequestException as e:
raise AAIException("Request exception was encountered {}".format(e))
@@ -77,6 +79,7 @@ def execute_dsl_query(query, format, osdf_config):
debug_log.debug("aai dsl request: {}".format(data))
try:
response = requests.put(dsl_url, data=data, headers=AAI_HEADERS, auth=AUTH, verify=False)
+ debug_log.debug("aai dsl response: {}".format(response))
except RequestException as ex:
raise AAIException("Request exception was encountered {}".format(ex))