diff options
author | suchinton2001 <suchinton.2001@gmail.com> | 2023-10-09 16:00:58 +0530 |
---|---|---|
committer | suchinton2001 <suchinton.2001@gmail.com> | 2023-10-09 16:00:58 +0530 |
commit | db862e32df7f31e6453d7f05a6f011091b96ffab (patch) | |
tree | 6abcc3a2eceb79a43b7836d1d23a8594da375826 /extras/config.py | |
parent | 260bbf89836ff9ce98054e5166699a163a0d7c11 (diff) |
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 <suchinton.2001@gmail.com>
Change-Id: I59c4b1de80e280fe22993b2d2f7c92d6b41a89c7
Diffstat (limited to 'extras/config.py')
-rw-r--r-- | extras/config.py | 12 |
1 files changed, 6 insertions, 6 deletions
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 |