From db862e32df7f31e6453d7f05a6f011091b96ffab Mon Sep 17 00:00:00 2001 From: suchinton2001 Date: Mon, 9 Oct 2023 16:00:58 +0530 Subject: agl-demo-control-panel: Add grpc support for databroker - Add grpc support for databroker (set default protocol) - Add virtual car for script mode in IC app - Refine UI elements - Use specific grpc/ws jwt tokens - Simplify settings menu Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 Change-Id: I59c4b1de80e280fe22993b2d2f7c92d6b41a89c7 --- extras/config.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'extras/config.py') diff --git a/extras/config.py b/extras/config.py index cc61c57..2ea749c 100644 --- a/extras/config.py +++ b/extras/config.py @@ -19,16 +19,16 @@ import platform python_version = f"python{'.'.join(platform.python_version_tuple()[:2])}" -CA = os.path.abspath(os.path.join(os.path.dirname(__file__), "../assets/CA.pem")) +CA = os.path.abspath(os.path.join(os.path.dirname(__file__), "../assets/cert/CA.pem")) KUKSA_CONFIG = { - "ip": 'localhost', - "port": "8090", - 'protocol': 'ws', + "ip": '10.42.0.95', + "port": "55555", + 'protocol': 'grpc', 'insecure': False, 'cacertificate': CA, 'tls_server_name': "Server", } -TOKEN_PATH = os.path.join(os.path.expanduser("~"), - f".local/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token") +WS_TOKEN = os.path.join(os.path.expanduser("~"), f".local/lib/{python_version}/site-packages/kuksa_certificates/jwt/super-admin.json.token") +GRPC_TOKEN = os.path.abspath(os.path.join(os.path.dirname(__file__), "../assets/token/grpc/actuate-provide-all.token")) \ No newline at end of file -- cgit 1.2.3-korg