diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-03-02 10:01:27 +0100 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-03-02 10:01:27 +0100 |
commit | 3d6a7d967721c86ed76e94c112661b8c4fc413c7 (patch) | |
tree | 372464aa74460bf1afda7699c55f299288df6e14 /robot/resources/holmes_interface.robot | |
parent | 25f8770b4c70f374ae4a79192d41116932897992 (diff) |
[HEALTHCHECK] Disable MSB call in Holmes test and fix VFC
Use component interfaces instead of MSB and correct problems
in VFC setup
Issue-ID: TEST-392
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I4ae47c81e6f811a4904549f0118b405f780d158a
Diffstat (limited to 'robot/resources/holmes_interface.robot')
-rw-r--r-- | robot/resources/holmes_interface.robot | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/robot/resources/holmes_interface.robot b/robot/resources/holmes_interface.robot index 6d30aa04..73dec481 100644 --- a/robot/resources/holmes_interface.robot +++ b/robot/resources/holmes_interface.robot @@ -3,25 +3,27 @@ Library RequestsLibrary Resource global_properties.robot *** Variables *** -${MSB_ENDPOINT} ${GLOBAL_MSB_SERVER_PROTOCOL}://${GLOBAL_INJECTED_MSB_IP_ADDR}:${GLOBAL_MSB_SERVER_PORT} ${HOLMES_RULE_HEALTH_CHECK} /api/holmes-rule-mgmt/v1/healthcheck ${HOLMES_ENGINE_HEALTH_CHECK} /api/holmes-engine-mgmt/v1/healthcheck +${HOLMES_RULE_ENDPOINT} ${GLOBAL_HOLMES_RULE_SERVER_PROTOCOL}://${GLOBAL_INJECTED_HOLMES_RULE_IP_ADDR}:${GLOBAL_HOLMES_RULE_SERVER_PORT} +${HOLMES_ENGINE_ENDPOINT} ${GLOBAL_HOLMES_ENGINE_SERVER_PROTOCOL}://${GLOBAL_INJECTED_HOLMES_ENGINE_IP_ADDR}:${GLOBAL_HOLMES_ENGINE_SERVER_PORT} + *** Keywords *** Run Holmes Rule Mgmt Healthcheck [Documentation] Run Holmes Rule Management Health Check - ${resp}= Run Holmes Get Request ${HOLMES_RULE_HEALTH_CHECK} + ${resp}= Run Holmes Get Request ${HOLMES_RULE_ENDPOINT} ${HOLMES_RULE_HEALTH_CHECK} Should Be Equal As Integers ${resp.status_code} 200 Run Holmes Engine Mgmt Healthcheck [Documentation] Run Holmes Engine Management Health Check - ${resp}= Run Holmes Get Request ${HOLMES_ENGINE_HEALTH_CHECK} + ${resp}= Run Holmes Get Request ${HOLMES_ENGINE_ENDPOINT} ${HOLMES_ENGINE_HEALTH_CHECK} Should Be Equal As Integers ${resp.status_code} 200 Run Holmes Get Request - [Arguments] ${data_path} + [Arguments] ${endpoint} ${data_path} [Documentation] Runs Holmes Get request - ${session}= Create Session holmes ${MSB_ENDPOINT} + ${session}= Create Session holmes ${endpoint} ${resp}= Get Request holmes ${data_path} Should Be Equal As Integers ${resp.status_code} 200 Log Received response from server ${resp.text} |