From: Jerry Flood Date: Tue, 23 May 2017 17:12:43 +0000 (-0400) Subject: Update headers for the DCAE helth check X-Git-Tag: 1.0.0-Amsterdam~60 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=171c8656f968e695becc888eeefb55157277daa9;p=testsuite.git Update headers for the DCAE helth check Issue: TEST-31 Change-Id: I28591200e9771d468a6981a55d0a35ec897019f4 Signed-off-by: Jerry Flood --- diff --git a/robot/resources/dcae_interface.robot b/robot/resources/dcae_interface.robot index 1c1ba44a..ea57611e 100644 --- a/robot/resources/dcae_interface.robot +++ b/robot/resources/dcae_interface.robot @@ -18,7 +18,7 @@ Run DCAE Health Check ${session}= Create Session dcae ${GLOBAL_DCAE_SERVER} auth=${auth} ${uuid}= Generate UUID ${data}= OperatingSystem.Get File ${DCAE_HEALTH_CHECK_BODY} - ${headers}= Create Dictionary action=getTable Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} + ${headers}= Create Dictionary X-ECOMP-Client-Version=ONAP-R2 action=getTable Accept=application/json Content-Type=application/json X-TransactionId=${GLOBAL_APPLICATION_ID}-${uuid} X-FromAppId=${GLOBAL_APPLICATION_ID} ${resp}= Put Request dcae ${DCAE_HEALTH_CHECK_PATH} data=${data} headers=${headers} Log Received response from dcae ${resp.json()} Should Be Equal As Strings ${resp.status_code} 200