Moved calls to "RequestLibrary.<action> Request" in csit/suites/ (3) 48/34648/4
authorJunaid Zulfiqar <junaid.rao21@gmail.com>
Mon, 15 Feb 2016 00:19:56 +0000 (16:19 -0800)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 22 Feb 2016 12:06:30 +0000 (12:06 +0000)
+ RequestsLibrary.Get Request
+ RequestsLibrary.Delete Request
+ RequestsLibrary.Put Request
+ RequestsLibrary.Post Request

Updated RequestLibrary calls in following directories

  csit/suites/sdninterfaceapp/
  csit/suites/sxp/
  csit/suites/topoprocessing/
  csit/suites/ttp/
  csit/suites/unimgr/
  csit/suites/usc/ (Removed due to failure)
  csit/suites/usecplugin/

Change-Id: I81a8f366835d31a3d70ea52bd99d8afd345aba1b
Signed-off-by: Junaid Zulfiqar <junaid.rao21@gmail.com>
csit/suites/sdninterfaceapp/basic/010_Restconf_OK.robot
csit/suites/sxp/basic/010_Restconf_OK.robot
csit/suites/topoprocessing/basic/010_Restconf_OK.robot
csit/suites/topoprocessing/topology-operations/010_Unifications_Tests.robot
csit/suites/ttp/basic/010_Restconf_OK.robot
csit/suites/unimgr/basic/010_Restconf_OK.robot
csit/suites/usecplugin/basic/010_Restconf_OK.robot

index 4d19667e2db10a7ed7bd90beee3d8f2eb73e28f2..6b8fdef24254b861a3359d031eb10d65b83ba1c1 100644 (file)
@@ -12,7 +12,7 @@ ${REST_CONTEXT}    /restconf/modules
 *** Test Cases ***
 Get Controller Modules
     [Documentation]    Get the controller modules via Restconf
-    ${resp}    RequestsLibrary.Get    session    ${REST_CONTEXT}
+    ${resp}    RequestsLibrary.Get Request    session    ${REST_CONTEXT}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    ietf-restconf
index c3bdaa136f0b61ed7ae8f2fb780ed7599f9e123a..7316faa9db946609a50679433ebdfd3c09227e12 100644 (file)
@@ -11,7 +11,7 @@ ${REST_CONTEXT}    /restconf/modules
 *** Test Cases ***
 Get Controller Modules
     [Documentation]    Get the controller modules via Restconf
-    ${resp}    RequestsLibrary.Get    session    ${REST_CONTEXT}
+    ${resp}    RequestsLibrary.Get Request    session    ${REST_CONTEXT}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    ietf-restconf
index 0e3425d521daa70d8ef0ac6250437dde34a79819..aa17f2c11a7438b2e6a8840d6023679c8a57a35e 100644 (file)
@@ -12,7 +12,7 @@ ${REST_CONTEXT}    /restconf/modules
 *** Test Cases ***
 Get Controller Modules
     [Documentation]    Get the controller modules via Restconf
-    ${resp}    RequestsLibrary.Get    session    ${REST_CONTEXT}
+    ${resp}    RequestsLibrary.Get Request    session    ${REST_CONTEXT}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    ietf-restconf
index 5a3e14a129f9abe4bc4ada02fc88fec77cce157f..fea8bbc9fe571c3eb622bc87ae12ba0e29745acb 100644 (file)
@@ -26,19 +26,19 @@ Unification on Network Topology
     Prepare New Feature Installation
     Install a Feature    odl-topoprocessing-network-topology odl-bgpcep-pcep-all    timeout=30
     Wait For Karaf Log    Registering Topology Request Listener    300
-    ${resp}    RequestsLibrary.Put    session    ${CONFIGURATION}/${TOPOLOGY_URL}/unif:1    data=${UNIFICATION_NT}
+    ${resp}    RequestsLibrary.Put Request    session    ${CONFIGURATION}/${TOPOLOGY_URL}/unif:1    data=${UNIFICATION_NT}
     Log    ${CONFIGURATION}/${TOPOLOGY_URL}/unif:1
     Should Be Equal As Strings    ${resp.status_code}    200
     Wait For Karaf Log    Correlation configuration successfully read
-    ${resp}    RequestsLibrary.Put    session    ${CONFIGURATION}/${TOPOLOGY_URL}/und-topo:1    data=${UNDERLAY_TOPOLOGY_1}
+    ${resp}    RequestsLibrary.Put Request    session    ${CONFIGURATION}/${TOPOLOGY_URL}/und-topo:1    data=${UNDERLAY_TOPOLOGY_1}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Issue Command On Karaf Console    log:clear
-    ${resp}    RequestsLibrary.Put    session    ${CONFIGURATION}/${TOPOLOGY_URL}/und-topo:2    data=${UNDERLAY_TOPOLOGY_2}
+    ${resp}    RequestsLibrary.Put Request    session    ${CONFIGURATION}/${TOPOLOGY_URL}/und-topo:2    data=${UNDERLAY_TOPOLOGY_2}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Wait For Karaf Log    Transaction successfully written
-    ${resp}    RequestsLibrary.Get    session    ${OPERATIONAL}/network-topology:network-topology
+    ${resp}    RequestsLibrary.Get Request    session    ${OPERATIONAL}/network-topology:network-topology
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    <topology-id>unif:1</topology-id>
@@ -75,5 +75,5 @@ Wait For Karaf Log
 
 Prepare New Feature Installation
     [Documentation]    Clears karaf logs and CONFIGURATION datastore
-    ${resp}    RequestsLibrary.Delete    session    ${CONFIGURATION}/network-topology:network-topology
+    ${resp}    RequestsLibrary.Delete Request    session    ${CONFIGURATION}/network-topology:network-topology
     Issue Command On Karaf Console    log:clear
index 0e3425d521daa70d8ef0ac6250437dde34a79819..aa17f2c11a7438b2e6a8840d6023679c8a57a35e 100644 (file)
@@ -12,7 +12,7 @@ ${REST_CONTEXT}    /restconf/modules
 *** Test Cases ***
 Get Controller Modules
     [Documentation]    Get the controller modules via Restconf
-    ${resp}    RequestsLibrary.Get    session    ${REST_CONTEXT}
+    ${resp}    RequestsLibrary.Get Request    session    ${REST_CONTEXT}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    ietf-restconf
index 7f9cede55758befd5474503e6c0bddfeb6840903..32f407de3c8d88991daed4f776d5c09bd7f504d8 100644 (file)
@@ -10,7 +10,7 @@ Resource          ../../../libraries/Utils.robot
 *** Test Cases ***
 Get Controller Modules
     [Documentation]    Get the controller modules via Restconf
-    ${resp}    RequestsLibrary.Get    session    ${MODULES_API}
+    ${resp}    RequestsLibrary.Get Request    session    ${MODULES_API}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    ietf-restconf
index 4d19667e2db10a7ed7bd90beee3d8f2eb73e28f2..6b8fdef24254b861a3359d031eb10d65b83ba1c1 100644 (file)
@@ -12,7 +12,7 @@ ${REST_CONTEXT}    /restconf/modules
 *** Test Cases ***
 Get Controller Modules
     [Documentation]    Get the controller modules via Restconf
-    ${resp}    RequestsLibrary.Get    session    ${REST_CONTEXT}
+    ${resp}    RequestsLibrary.Get Request    session    ${REST_CONTEXT}
     Log    ${resp.content}
     Should Be Equal As Strings    ${resp.status_code}    200
     Should Contain    ${resp.content}    ietf-restconf