aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-demo/agl-persistent-storage-api
AgeCommit message (Collapse)AuthorFilesLines
2024-10-21agl-persistent-storage-api: set BINDGEN_EXTRA_CLANG_ARGSScott Murray1-0/+4
The agl-persistent-storage-api build was failing on hosts where the native headers happened to not work with the clang invocation being done during binding generation for the rocksdb wrapper crate. To avoid this, set BINDGEN_EXTRA_CLANG_ARGS to pass in the required cross-compile environment arguments. Bug-AGL: SPEC-5264 Change-Id: I54af5846045285b4ccd7af5cc0087193eae79be0 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30416 Tested-by: Jenkins Job builder account Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2024-09-30agl-persistent-storage-api: run as agl-driverScott Murray1-1/+1
Tweak the agl-persistent-storage-api systemd unit to run the daemon as the agl-driver user instead of root. Another non-root user would also be an option, but since there's no authentication scheme for the API, running it as the same user as the applications seems reasonable for now. Bug-AGL: SPEC-5250 Change-Id: I57c9f8c108dd78b1fd6e5b011ed39e81946ab0bc Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30317 ci-image-build: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-boot-test: Jenkins Job builder account Reviewed-by: Naoto YAMAGUCHI <naoto.yamaguchi@aisin.co.jp> Tested-by: Jenkins Job builder account
2024-08-17Updated AGL Persistent Storage API: use port 50054Ludwig Schwiedrzik1-1/+1
Bug-AGL: [SPEC-5222] Change-Id: Ib85bb279f8aab140f724eef71563fca98643589c Signed-off-by: Ludwig Schwiedrzik <ludwig.schwiedrzik@d-fine.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/30159 ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2024-06-25Add persistent storage grpc APIricefish_17.92.0ricefish/17.92.017.92.0Ludwig Schwiedrzik3-0/+417
In the current demo, user settings such as radio stations and HVAC preferences are lost upon poweroff. The agl-persistent-storage-api adds a simple grpc API that enables persistent storage of key-value pairs using RocksDB. The API supports Write, Read, Delete, and Search calls, as well as calls to recursively list or delete nodes (intended for use with VSS-like keys) and to destroy the database. Separate namespaces are also supported. The API is written in Rust, the repo can be viewed under this URL: https://github.com/LSchwiedrzik/agl-persistent-storage-api Test builds were successfully carried out by Jan-Simon Möller. Bug-AGL: [SPEC-5187] Change-Id: Ic11d31c75268f922c84785da8cd29fa6b022612f Signed-off-by: Ludwig Schwiedrzik <ludwig.schwiedrzik@d-fine.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29996 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account