2 Documentation The main interface for interacting with Bus Controller.
3 Library RequestsLibrary
5 Resource global_properties.robot
8 ${BC_HEALTH_CHECK_PATH} /webapi/dmaap
9 ${BC_HTTPS_ENDPOINT} https://${GLOBAL_INJECTED_BC_IP_ADDR}:${GLOBAL_BC_HTTPS_SERVER_PORT}
13 Run BC Health Check With Basic Auth
14 [Documentation] Runs dmmap details check
15 ${resp}= Return dmaap details with basic auth ${BC_HEALTH_CHECK_PATH}
16 Should Be Equal As Strings ${resp.status_code} 200
19 Return dmaap details with basic auth
20 [Documentation] Runs Bus Controler get details request with basic authentication
21 [Arguments] ${data_path}
22 ${auth}= Create List ${GLOBAL_BC_USERNAME} ${GLOBAL_BC_PASSWORD}
23 ${session}= Create Session bs ${BC_HTTPS_ENDPOINT} auth=${auth}
24 ${resp}= Get Request bs ${data_path}
25 Log Received response from bus controller ${resp.text}