Skip to content
Snippets Groups Projects
Commit d97e685a authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Pre-merge code cleanup and activation of Telemetry RequestListener

parent 993e9bb4
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!258Resolve "Re-designing of Telemetry"
......@@ -78,7 +78,7 @@ function kafka_deploy() {
echo "Apache Kafka"
echo ">>> Checking if Apache Kafka is deployed ... "
if [ "$KFK_REDEPLOY" = "YES" ]; then
if [ "$KFK_REDEPLOY" == "YES" ]; then
echo ">>> Redeploying kafka namespace"
kafka_deploy
elif kubectl get namespace "${KFK_NAMESPACE}" &> /dev/null; then
......
......@@ -50,9 +50,8 @@ class TelemetryBackendService(GenericGrpcService):
'auto.offset.reset' : 'latest'})
self.running_threads = {}
def RunRequestListener(self)->bool:
def install_servicers(self):
threading.Thread(target=self.RequestListener).start()
return True
def RequestListener(self):
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment