Update Kuksa databroker configuration scheme 15/29415/1
authorScott Murray <scott.murray@konsulko.com>
Wed, 15 Nov 2023 22:24:08 +0000 (07:24 +0900)
committerScott Murray <scott.murray@konsulko.com>
Wed, 15 Nov 2023 22:33:36 +0000 (07:33 +0900)
commit94b78fd369c318baf1a98d4f510d791ea9f17017
treec1f520aa7bb6510bb41124af91d69f55b0afe6b3
parentca2ba809446f2184e50e4b8ebfe607a059c02de6
Update Kuksa databroker configuration scheme

Rework Kuksa databroker configuration to also read a configuration
yaml file from /etc/xdg/AGL/ics-homescreen.yaml at runtime to allow
overriding the built-in default configuration.  The latter is left
as is with the addition of an explicit disabling of TLS, to still
match the internal test setup at ICS.  The AGL build will supply
a runtime configuration that enables TLS and an authorization token.

Additionally:
- the ValClientHelper constructor has been changed to take the
  stub and authorization token as arguments to allow authorization
  with the VAL API requests.  The channel argument has been
  removed since it is not used, only the stub is.
- the apparently unused vss_provider.dart source file has been
  removed to avoid potential confusion.

Bug-AGL: SPEC-4969

Change-Id: Ic7b867eaf565ef22f2e70df0afe7b5272b604d04
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
app-config/config.yaml
lib/core/constants/val_client_helper.dart
lib/data/data_providers/vehicle_notifier.dart
lib/data/data_providers/vss_provider.dart [deleted file]
lib/export.dart