@@ -105,14 +105,14 @@ USAGE:
105
105
databroker [OPTIONS]
106
106
107
107
OPTIONS:
108
- --address < ADDR> Bind address [default: 127.0.0.1]
109
- --port < PORT> Bind port [default: 55555]
110
- --metadata < FILE(S) > Populate data broker with metadata from a
111
- (comma-separated) list of files.
112
- [env:KUKSA_DATA_BROKER_METADATA_FILE = ]
113
- --dummy-metadata Populate data broker with dummy metadata
114
- -h, --help Print help information
115
- -V, --version Print version information
108
+ --address < ADDR> Bind address [env: KUKSA_DATA_BROKER_ADDR = ] [default: 127.0.0.1]
109
+ --port < PORT> Bind port [env: KUKSA_DATA_BROKER_PORT = ] [default: 55555]
110
+ --metadata < FILE> ... Populate data broker with metadata from (comma-separated) list of
111
+ files [env: KUKSA_DATA_BROKER_METADATA_FILE = ]
112
+ --jwt-public-key < FILE > Public key used to verify JWT access tokens
113
+ --dummy-metadata Populate data broker with dummy metadata
114
+ -h, --help Print help information
115
+ -V, --version Print version information
116
116
117
117
```
118
118
@@ -157,14 +157,15 @@ This will enable `TAB`-completion for the available properties in the client. Ru
157
157
158
158
Get data points by running "get"
159
159
``` shell
160
- client> get Vehicle.ADAS.CruiseControl.Error
161
- -> Vehicle.ADAS.CruiseControl.Error: NotAvailable
160
+ sdv.databroker.v1 > get Vehicle.ADAS.CruiseControl.IsEnabled
161
+ [get] OK
162
+ Vehicle.ADAS.CruiseControl.IsEnabled: ( NotAvailable )
162
163
```
163
164
164
165
Set data points by running "set"
165
166
``` shell
166
- client > set Vehicle.ADAS.CruiseControl.Error Nooooooo !
167
- - > Ok
167
+ sdv.databroker.v1 > set Vehicle.ADAS.CruiseControl.IsEnabled false
168
+ [set] OK
168
169
```
169
170
170
171
### Data Broker Query Syntax
@@ -175,13 +176,14 @@ Detailed information about the databroker rule engine can be found in [QUERY.md]
175
176
You can try it out in the client using the subscribe command in the client:
176
177
177
178
``` shell
178
- client > subscribe
179
+ sdv.databroker.v1 > subscribe
179
180
SELECT
180
- Vehicle.ADAS.ABS.Error
181
+ Vehicle.ADAS.ABS.IsError
181
182
WHERE
182
- Vehicle.ADAS.ABS.IsActive
183
+ Vehicle.ADAS.ABS.IsEngaged
183
184
184
- -> status: OK
185
+ [subscribe] OK
186
+ Subscription is now running in the background. Received data is identified by [1].
185
187
```
186
188
187
189
### Configuration
@@ -192,6 +194,7 @@ WHERE
192
194
| dummy-metadata | <no active > | --dummy-metadata | <no active > | Populate data broker with dummy metadata |
193
195
| listen_address | "127.0.0.1" | --address | KUKSA_DATA_BROKER_ADDR | Listen for rpc calls |
194
196
| listen_port | 55555 | --port | KUKSA_DATA_BROKER_PORT | Listen for rpc calls |
197
+ | jwt-public-key | <no active > | --jwt-public-key | <no active > | Public key used to verify JWT access tokens
195
198
196
199
To change the default configuration use the arguments during startup see [ run section] ( #running ) or environment variables.
197
200
0 commit comments