Add Variables.robot to get visibility to ${AUTH} 38/68438/1
authorJamo Luhrsen <jluhrsen@redhat.com>
Tue, 20 Feb 2018 18:59:04 +0000 (10:59 -0800)
committerJamo Luhrsen <jluhrsen@redhat.com>
Tue, 20 Feb 2018 18:59:04 +0000 (10:59 -0800)
in the case when a suite uses this cluster management (CM)
library, but has not imported the global Variables.robot
file, certain variables are not available (e.g. ${AUTH})
which is used in this CM lib. This can cause problems
like unauthorized access when sending REST calls to the
controller.

Change-Id: Ib0bbd1577ea32a5978904e6ef483146a502398b0
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
csit/libraries/ClusterManagement.robot

index 0d8a67bf35c126d2b0075169c7cbd4a81933796f..aa923c017637bdcd78e89e7a19a354c7164ee0e7 100644 (file)
@@ -36,6 +36,7 @@ Resource          ${CURDIR}/KarafKeywords.robot
 Resource          ${CURDIR}/SSHKeywords.robot
 Resource          ${CURDIR}/TemplatedRequests.robot    # for Get_As_Json_From_Uri
 Resource          ${CURDIR}/Utils.robot    # for Run_Command_On_Controller
+Resource          ${CURDIR}/Variables.robot
 
 *** Variables ***
 ${ENTITY_OWNER_URI}    restconf/operational/entity-owners:entity-owners