aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/bc_interface.robot
diff options
context:
space:
mode:
Diffstat (limited to 'robot/resources/bc_interface.robot')
-rw-r--r--robot/resources/bc_interface.robot8
1 files changed, 8 insertions, 0 deletions
diff --git a/robot/resources/bc_interface.robot b/robot/resources/bc_interface.robot
index 3d0ebc02..7d4c1fb1 100644
--- a/robot/resources/bc_interface.robot
+++ b/robot/resources/bc_interface.robot
@@ -25,3 +25,11 @@ Return dmaap details with basic auth
Log Received response from bus controller ${resp.text}
[Return] ${resp}
+Delete MR topic
+ [Documentation] Runs Bus Controller to remove topic
+ [Arguments] ${data_path}
+ ${auth}= Create List ${GLOBAL_BC_USERNAME} ${GLOBAL_BC_PASSWORD}
+ ${session}= Create Session bs ${BC_HTTPS_ENDPOINT} auth=${auth}
+ ${resp}= Delete Request bs ${data_path}
+ Log Received response from bus controller ${resp.status_code}
+ [Return] ${resp} \ No newline at end of file