summaryrefslogtreecommitdiffstats
path: root/extras/config.ini
diff options
context:
space:
mode:
authorsuchinton2001 <suchinton.2001@gmail.com>2023-10-15 23:30:36 +0530
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-10-19 16:19:32 +0000
commit20fe2d131df0041e121eccaf4fc58d4ac88dfbbc (patch)
treed555cd863e644014e9eb7a3fb9b759de246b6c2e /extras/config.ini
parente875973f63fc9a9582e957eb7264a4a589b78a97 (diff)
agl-demo-control-panel: Refactor Settings, Config and UI scaling
V1: - Add template to specify new configs in config.ini - Add drop-down to load all configurations specified in config.ini - Add new assets and refine UI elements (Scaling issue fixed) - Add size grip to main window - Add options in settings to configure port and AGL's CA.pem file - Removed unused or redundant files V2: - Check for user configs agl-demo-control-panel.ini & config.ini before resorting to default config.ini - Check for CA.pem and jwt tokens in default paths - Add new fields in settings for CA.pem file, jwt token path, TLS Server name - Fix crash in dashboard.py module due to icon.availableSizes() V3: Add Start/Stop states for the client V4: Block subscription event updates to the UI when values are changed on the control panel Bug-AGL: SPEC-4905 Signed-off-by: suchinton2001 <suchinton.2001@gmail.com> Change-Id: Id7883ba3bc88248dabb58d54e6e931f6d365fd54
Diffstat (limited to 'extras/config.ini')
-rw-r--r--extras/config.ini48
1 files changed, 48 insertions, 0 deletions
diff --git a/extras/config.ini b/extras/config.ini
new file mode 100644
index 0000000..0f64a4f
--- /dev/null
+++ b/extras/config.ini
@@ -0,0 +1,48 @@
+[default]
+preferred-config=AGL-kuksa-val-server
+
+# [cutom-config-template]
+# ip=<ip address>
+# port=<port number>
+# protocol=<ws|grpc> # ws/grpc -> kuksa-val-server, grpc -> databroker
+# insecure=<true|false> # Note: Use insecure mode only if server is also running in insecure mode
+# cacert=<default|/path/to/CA.pem>
+# token=<default|/path/to/token>
+# tls_server_name=<name>
+
+[kuksa-val-server]
+ip=localhost
+port=8090
+protocol=ws
+insecure=false
+token=default
+tls_server_name=
+
+
+[databroker]
+ip=localhost
+port=55555
+protocol=grpc
+insecure=false
+token=default
+tls_server_name=Server
+
+
+[AGL-kuksa-val-server]
+ip=localhost
+port=8090
+protocol=ws
+insecure=false
+cacert=default
+token=default
+tls_server_name=
+
+
+[AGL-databroker]
+ip=10.42.0.95
+port=55555
+protocol=grpc
+insecure=false
+cacert=default
+token=default
+tls_server_name=Server