Multi-tenant e2e
Path:
example/barq_multitenant_e2eThis example launches the real sync server, creates tenants, mints signed JWTs, and drives native clients.
What it Proves
Section titled “What it Proves”- Tenant A device 2 downloads what Tenant A device 1 wrote.
- Tenant B on the same partition name sees no Tenant A data.
- Tenant data is stored in separate server subtrees.
- Server files can be encrypted at rest per tenant.
cmake -S core -B core/cmake-build-debug -DBARQ_BUILD_SERVER=ONcmake --build core/cmake-build-debug --target BarqSyncServer
cmake -S example/barq_multitenant_e2e -B example/barq_multitenant_e2e/build \ -DBARQ_NATIVE_SOURCE_DIR=$(pwd)/native \ -DBARQ_CORE_SOURCE_DIR=$(pwd)/core
cmake --build example/barq_multitenant_e2e/build --target barq_mt_e2e./example/barq_multitenant_e2e/run_e2e.sh