From 3db5715fbfa519dfabb2dab95630b294e7fd2857 Mon Sep 17 00:00:00 2001 From: DR695H Date: Wed, 31 Jul 2019 17:42:10 -0400 Subject: pull global vars from robot trial Issue-ID: TEST-184 Change-Id: I008c9cfbc1ae65c7735fcab2b474a0cbf7ec2ca9 Signed-off-by: DR695H --- robotframework-onap/vcpeutils/SoUtils.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'robotframework-onap/vcpeutils') diff --git a/robotframework-onap/vcpeutils/SoUtils.py b/robotframework-onap/vcpeutils/SoUtils.py index 99376ae..229d5b1 100755 --- a/robotframework-onap/vcpeutils/SoUtils.py +++ b/robotframework-onap/vcpeutils/SoUtils.py @@ -25,11 +25,6 @@ class SoUtils: self.so_userpass = 'InfraPortalClient', 'password1$' self.so_headers = {'Content-Type': 'application/json', 'Accept': 'application/json'} - # aai urls - self.aai_userpass = 'AAI', 'AAI' - self.aai_query_port = '8443' - self.aai_host = 'aai.onap' - # mr utls self.mr_ip_addr = 'mr.onap' self.mr_ip_port = '3904' @@ -248,8 +243,7 @@ class SoUtils: return None # wait for AAI to complete traversal - endpoint = "https://{0}:{1}".format(self.aai_host, self.aai_query_port) - self.aai.wait_for_node_to_exist(endpoint, 'service-instance', 'service-instance-id', svc_instance_id) + self.aai.wait_for_node_to_exist('service-instance', 'service-instance-id', svc_instance_id) # create networks for model in parser.net_models: @@ -311,8 +305,7 @@ class SoUtils: if not vnf_instance_id: logger.error('No VNF instance ID returned!') sys.exit() - endpoint = "https://{0}:{1}".format(self.aai_host, self.aai_query_port) - self.aai.wait_for_node_to_exist(endpoint, 'generic-vnf', 'vnf-id', vnf_instance_id) + self.aai.wait_for_node_to_exist('generic-vnf', 'vnf-id', vnf_instance_id) # SDNC Preload preloader = PreloadSDNCKeywords() -- cgit 1.2.3-korg