Skip to content
Snippets Groups Projects
Commit 1e806759 authored by Alberto Gonzalez Barneo's avatar Alberto Gonzalez Barneo
Browse files

Added init with QKDAppClient

parent feb2426a
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!264Resolve "(OPT) UI Integration for QKD Management (WebUI)"
......@@ -19,7 +19,7 @@ from flask_healthz import healthz, HealthError
from common.tools.grpc.Tools import grpc_message_to_json
from context.client.ContextClient import ContextClient
from device.client.DeviceClient import DeviceClient
from app.client.AppClient import AppClient
from app.client.QKDAppClient import QKDAppClient
def get_working_context() -> str:
return session['context_uuid'] if 'context_uuid' in session else '---'
......@@ -39,9 +39,9 @@ def readiness():
device_client.connect()
device_client.close()
# DEPENDENCY QKD
app_client = AppClient()
app_client.connect()
app_client.close()
qkd_app_client = QKDAppClient()
qkd_app_client.connect()
qkd_app_client.close()
except Exception as e:
raise HealthError("Can't connect with the service: {:s}".format(str(e))) from e
......
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