aboutsummaryrefslogtreecommitdiffstats
path: root/robot/resources/dcae/hvves.robot
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2019-06-13 17:24:01 -0400
committerDR695H <dr695h@att.com>2019-06-13 17:24:37 -0400
commit02293ade51dff84f16f9d2ad57112e3a47338cc5 (patch)
tree867162a353e4970f87bda8c2512ab81c0865407a /robot/resources/dcae/hvves.robot
parent18872bc32103112ea6e1582dbb1c2764f99442f1 (diff)
forgot to add hvess changes to the socket change
Change-Id: Id83727ba0a06f28ae0b7bf41c074542b3801e3f8 Issue-ID: TEST-158 Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'robot/resources/dcae/hvves.robot')
-rw-r--r--robot/resources/dcae/hvves.robot8
1 files changed, 6 insertions, 2 deletions
diff --git a/robot/resources/dcae/hvves.robot b/robot/resources/dcae/hvves.robot
index 123bacb3..b7bfb232 100644
--- a/robot/resources/dcae/hvves.robot
+++ b/robot/resources/dcae/hvves.robot
@@ -4,8 +4,9 @@ Library OperatingSystem
Library RequestsLibrary
Library BuiltIn
Library Collections
-Library SocketUtils
+Library ONAPLibrary.Utilities
Library String
+Library ONAPLibrary.Kafka
Resource ../mr_interface.robot
*** Variables ***
@@ -40,7 +41,10 @@ Start HV-VES TCP Client And Send Message
Decode Last Message From Topic
[Documentation] Decode last message from Kafka topic.
[Arguments] ${kafka_server} ${kafka_port} ${kafka_topic} ${sec_protocol} ${mechanisms} ${username} ${password}
- #Catenate http://message-router.onap:3904/events/${kafka_topic}/group1/C1?timeout=5000?limit=1
+ Connect kakfa ${kafka_server}:${kafka_port}
+ Consume kakfa ${kafka_topic}
+ # TODO need to support sasl
+ #${msg}= Run kafkacat -X security.protocol=${sec_protocol} -X sasl.mechanisms=${mechanisms} -X sasl.username=${username} -X sasl.password=${password} -D "" -o -1 -c 1
${msg}= Run kafkacat -C -b ${kafka_server}:${kafka_port} -t ${kafka_topic} -X security.protocol=${sec_protocol} -X sasl.mechanisms=${mechanisms} -X sasl.username=${username} -X sasl.password=${password} -D "" -o -1 -c 1
[Return] ${msg}