Add persistent storage grpc API 96/29996/4 17.92.0 ricefish/17.92.0 ricefish_17.92.0
authorLudwig Schwiedrzik <ludwig.schwiedrzik@d-fine.com>
Tue, 18 Jun 2024 07:58:07 +0000 (09:58 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 25 Jun 2024 11:06:09 +0000 (11:06 +0000)
commit7618c4a08229834883c8ade90e52c8c41eb81901
tree37e054bdcf3408bb9dfc1c96e821bb887c9d5614
parent5ed44ad0a16a7e20c226eb10bca059f8f4e0559d
Add persistent storage grpc API

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
recipes-demo/agl-persistent-storage-api/agl-persistent-storage-api-crates.inc [new file with mode: 0644]
recipes-demo/agl-persistent-storage-api/agl-persistent-storage-api_git.bb [new file with mode: 0644]
recipes-demo/agl-persistent-storage-api/files/agl-persistent-storage-api.service [new file with mode: 0644]