Closed vasilvas99 closed 1 year ago
VUM and CUA are now available as open source components.
This PR integrates and configures both VUM and CUA (as part of kanto).
The VUM domain is set as "vehicle", therefore the desiredstate topic would be vehicleupdate/desiredstate
vehicleupdate/desiredstate
Save as sua_example.json:
{ "activityId": "random-uuid-as-string", "timestamp": 123456789, "payload": { "domains": [ { "id": "self-update", "components": [ { "id": "os-image", "version": "v1beta3", "config": [ { "key": "image", "value": "http://127.0.0.1:5555/bundle" } ] } ] } ] } }
Run:
mosquitto_pub -t "vehicleupdate/desiredstate" -f sua_example.json
Save as cua_example.json:
{ "activityId": "testActivityId", "payload": { "domains": [ { "id": "containers", "config": [], "components": [ { "id": "hello-world", "version": "latest", "config": [ { "key": "image", "value": "docker.io/library/hello-world:latest" } ] } ] } ] } }
mosquitto_pub -t "vehicleupdate/desiredstate" -f cua_example.json
VUM and CUA are now available as open source components.
This PR integrates and configures both VUM and CUA (as part of kanto).
The VUM domain is set as "vehicle", therefore the desiredstate topic would be
vehicleupdate/desiredstate
Triggering a SUA update
Save as sua_example.json:
Run:
Triggering a CUA update
Save as cua_example.json:
Run: