summaryrefslogtreecommitdiffstats
path: root/robot/resources/appc_interface.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-07-31 17:28:14 -0400
committerDR695H <dr695h@att.com>2019-07-31 17:44:08 -0400
commitd0453b281ae4121d24d9f8dba96e50b3f8666744 (patch)
tree3fdc7512d12c23d7258a9cf8f8fc5e0a7c56fd0b /robot/resources/appc_interface.robot
parent1496bf5bd69f534b8f58c61c3f6babff6171e76d (diff)
removing extra variables
Issue-ID: TEST-184 Change-Id: I700f0b4f2a9b94bcdcc263b903b4658238f5388b Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/appc_interface.robot')
-rw-r--r--robot/resources/appc_interface.robot6
1 files changed, 2 insertions, 4 deletions
diff --git a/robot/resources/appc_interface.robot b/robot/resources/appc_interface.robot
index 7ae27c72..b031aab4 100644
--- a/robot/resources/appc_interface.robot
+++ b/robot/resources/appc_interface.robot
@@ -30,9 +30,8 @@ Run APPC Health Check
Run APPC Post Request
[Documentation] Runs an APPC post request
[Arguments] ${data_path} ${data} ${content}=json
- ${auth}= Create List ${GLOBAL_APPC_USERNAME} ${GLOBAL_APPC_PASSWORD}
Log Creating session ${APPC_ENDPOINT}
- ${session}= Create Session appc ${APPC_ENDPOINT} auth=${auth}
+ ${session}= Create Session appc ${APPC_ENDPOINT} auth=${GLOBAL_APPC_AUTHENTICATION}
${uuid}= Generate UUID4
${headers}= Create Dictionary Accept=application/${content} Content-Type=application/${content} X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID}
${resp}= Post Request appc ${data_path} data=${data} headers=${headers}
@@ -42,9 +41,8 @@ Run APPC Post Request
Run APPC Put Request
[Documentation] Runs an APPC post request
[Arguments] ${data_path} ${data} ${content}=xml
- ${auth}= Create List ${GLOBAL_APPC_USERNAME} ${GLOBAL_APPC_PASSWORD}
Log Creating session ${APPC_ENDPOINT}
- ${session}= Create Session appc ${APPC_ENDPOINT} auth=${auth}
+ ${session}= Create Session appc ${APPC_ENDPOINT} auth=${GLOBAL_APPC_AUTHENTICATION}
${uuid}= Generate UUID4
${headers}= Create Dictionary Accept=application/${content} Content-Type=application/${content} X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID}
${resp}= Put Request appc ${data_path} data=${data} headers=${headers}