remove the unused import and remove the dnsutils 33/89833/1
authorDR695H <dr695h@att.com>
Thu, 13 Jun 2019 19:21:13 +0000 (15:21 -0400)
committerDR695H <dr695h@att.com>
Thu, 13 Jun 2019 19:21:56 +0000 (15:21 -0400)
Change-Id: I41fc25ab47baac9f82011a68161b0963c074e590
Issue-ID: TEST-164
Signed-off-by: DR695H <dr695h@att.com>
red.xml
robot/resources/browser_setup.robot
robot/resources/json_templater.robot
robot/resources/portal-sdk/portalDef.robot
robot/resources/stack_validation/validate_vlb.robot
robot/resources/stack_validation/validate_vvg.robot

diff --git a/red.xml b/red.xml
index 56b7159..7c682bf 100644 (file)
--- a/red.xml
+++ b/red.xml
     <referencedLibrary type="PYTHON" name="SoUtils" path="testsuite/robot/library/vcpeutils"/>
     <referencedLibrary type="PYTHON" name="HEATUtils" path="testsuite/robot/library/eteutils"/>
     <referencedLibrary type="PYTHON" name="OSUtils" path="testsuite/robot/library/eteutils"/>
-    <referencedLibrary type="PYTHON" name="DNSUtils" path="testsuite/robot/library/eteutils"/>
     <referencedLibrary type="PYTHON" name="ArchiveLibrary" path="testsuite/robot/library"/>
     <referencedLibrary type="PYTHON" name="HeatBridge" path="testsuite/robot/library/heatbridge"/>
-    <referencedLibrary type="PYTHON" name="KafkaLibrary" path="testsuite/robot/library"/>
     <referencedLibrary type="PYTHON" name="DateTime" path="testsuite/robot/library"/>
     <referencedLibrary type="PYTHON" name="SocketUtils" path="testsuite/robot/library/eteutils"/>
     <referencedLibrary type="PYTHON" name="ONAPLibrary.Templating" path="testsuite/robot/library"/>
     <referencedLibrary type="PYTHON" name="ONAPLibrary.ServiceMapping" path="testsuite/robot/library"/>
     <referencedLibrary type="PYTHON" name="ONAPLibrary.JSON" path="testsuite/robot/library"/>
+    <referencedLibrary type="PYTHON" name="ONAPLibrary.Kafka" path="testsuite/robot/library"/>
     <referencedLibrary type="PYTHON" name="ONAPLibrary.Protobuf" path="testsuite/robot/library"/>
     <pythonpath>
         <path location="robot/library"/>
index f9203f3..3af1342 100644 (file)
@@ -1,7 +1,6 @@
 *** Settings ***
 Documentation     The main interface for interacting with VID. It handles low level stuff like managing the selenium request library and VID required steps
 Library           Collections
-Library           OSUtils
 Library           OperatingSystem
 Library           SeleniumLibrary
 Resource          global_properties.robot
@@ -16,7 +15,6 @@ Setup Browser
     Run Keyword If    '${GLOBAL_SELENIUM_BROWSER}' == 'chrome'    Setup Browser Chrome
     Log    Running with ${GLOBAL_SELENIUM_BROWSER}
 
-
 Setup Browser Firefox
     ${caps}=   Evaluate   sys.modules['selenium.webdriver'].common.desired_capabilities.DesiredCapabilities.FIREFOX   sys
     Set To Dictionary   ${caps}   marionette=
@@ -25,8 +23,6 @@ Setup Browser Firefox
     Set Global Variable    ${GLOBAL_SELENIUM_BROWSER_CAPABILITIES}    ${caps}
 
  Setup Browser Chrome
-    ${os}=   Get Normalized Os
-    Log    Normalized OS=${os}
     ${chrome options}=    Evaluate    sys.modules['selenium.webdriver'].ChromeOptions()    sys
     Call Method    ${chrome options}    add_argument    no-sandbox
     Run Keyword If  ${HEADLESS}==True  Call Method    ${chrome options}    add_argument    headless
index 6a5ca17..b057251 100644 (file)
@@ -3,7 +3,6 @@ Documentation     This resource is filling out json string templates and returni
 Library              RequestsLibrary
 Library           StringTemplater
 Library           OperatingSystem
-Resource          global_properties.robot
 
 *** Keywords ***
 Fill JSON Template
index 41fbeea..df85bfa 100644 (file)
@@ -6,7 +6,6 @@ Library         RequestsLibrary
 Library                UUID
 Library                DateTime
 Library                Collections
-Library                OSUtils
 Library                StringTemplater
 Library                String
 
index bab1564..6e5c58b 100644 (file)
@@ -1,7 +1,6 @@
 *** Settings ***
 Documentation    Testing openstack.
 Library    String
-Library    DNSUtils
 Library    Collections
 Library    SSHLibrary
 Resource          validate_common.robot
@@ -20,21 +19,7 @@ Validate vLB Stack
     Log     Returned from Get Openstack Servers
     ${vlb_public_ip}=    Get Server Ip    ${server_list}    ${stack_info}   vlb_name_0    network_name=public
     Log     Waiting for ${vlb_public_ip} to reconfigure
-    Sleep   180s
     # Server validations diabled due to issues with load balancer network reconfiguration
-    # at startup hanging the robot scripts
-       Wait For vLB    ${vlb_public_ip}
-    Log    All server processes up
-
-Wait For vLB
-    [Documentation]     Wait for the VLB to be functioning as a DNS
-    [Arguments]    ${ip}
-    Wait Until Keyword Succeeds    300s    10s    DNSTest    ${ip}
-    Log  Succeeded
-
-DNSTest
-    [Documentation]     Wait for the defined VLoadBalancer to process nslookup
-    [Arguments]    ${ip}
-    Log   Looking up ${ip}
-    #${returned_ip}=     Dns Request    host1.dnsdemo.openecomp.org    ${ip}
-    #Should Contain    '${returned_ip}'    .
+    # at startup hanging the robot scripts so just sleep
+    Sleep   180s
+    Log    All server processes up
\ No newline at end of file
index 05b1e8a..cd9a855 100644 (file)
@@ -1,7 +1,6 @@
 *** Settings ***
 Documentation    Testing openstack.
 Library    String
-Library    DNSUtils
 Library    Collections
 Resource          validate_common.robot