summaryrefslogtreecommitdiffstats
path: root/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2020-04-21 13:39:35 +0100
committerefiacor <fiachra.corcoran@est.tech>2020-04-22 14:41:17 +0100
commitae21e35b8eb8008cf1a3119bab2ad987db9f9e7f (patch)
tree22769a4a52169095f37f0ed4377355771d7910ad /components/pm-subscription-handler/pmsh_service/mod/aai_client.py
parent8c68d73eb231da211abe962478c1c77d49665874 (diff)
[PMSH] Adding cbs module support
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie711995a3c7a2111f6cb872952507f511c0de6dd Issue-ID: DCAEGEN2-2156
Diffstat (limited to 'components/pm-subscription-handler/pmsh_service/mod/aai_client.py')
-rwxr-xr-xcomponents/pm-subscription-handler/pmsh_service/mod/aai_client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/pm-subscription-handler/pmsh_service/mod/aai_client.py b/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
index 86cecb50..5e71da4d 100755
--- a/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
+++ b/components/pm-subscription-handler/pmsh_service/mod/aai_client.py
@@ -55,7 +55,7 @@ def _get_all_aai_nf_data():
Return queried nf data from the AAI service.
Returns:
- json: the json response from AAI query, else None.
+ dict: the json response from AAI query, else None.
"""
nf_data = None
try:
@@ -94,7 +94,7 @@ def _get_aai_service_url():
"""
try:
aai_service = environ['AAI_SERVICE_HOST']
- aai_ssl_port = environ['AAI_SERVICE_PORT_AAI_SSL']
+ aai_ssl_port = environ['AAI_SERVICE_PORT']
return f'https://{aai_service}:{aai_ssl_port}'
except KeyError as e:
logger.debug(f'Failed to get AAI env vars: {e}')