Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Private Datasets: use SQLite storage by default for multi-tenant (#787)
* kamu-cli: a SQLite database is used for a multi-tenant workspace * kamu-cli, prepare_run_dir(): move error variables into format string * kamu-cli, run(): use database_config * InitCommand::before_run(): absorb checks * kamu-cli, run(): apply embedded migrations * SqlitePlugin::open_sqlite_pool(): add the "create if missing" flag * kamu-cli, apply_migrations(): use warn!() not panic!() * kamu-cli, build.rs: rebuild if ./migrations/ changed * CHANGELOG.md: update * CHANGELOG.md: fix typo * kamu-cli, run(): remove an outdated TODO * CHANGELOG.md: update after rebase * kamu-cli, command_needs_transaction(): apply for "add" * kamu-cli, initialize_components(): FlowServiceImpl pre-initialization * TODO DROP: OutboxTransactionalProcessor::run_with_mode(): introduce * PropertyName::dataset_allows_anonymous_read(): parity with dataset_allows_public_read() * CHANGELOG.md: update * kamu-cli, build.rs: rebuilt if migration have changed * kamu-cli, build.rs: activate "fail on error" for vergen * kamu-cli, build.rs: add a comment about vergen * DatabaseConfig::sqlite_database() -> sqlite_database_in_workspace_dir() * SqlitePlugin::catalog_with_connected_pool(): absorb the migrator stuff * async-utils: introduce * Creating a database in a temporary directory with subsequent moving * kamu-cli: remove extra dep * WebUIServer: typo fixes * kamu-cli, initialize_components(): rename to initialize_server_components() * Fixes after rebasing * kamu-cli, configure_base_catalog(): remove unused "is_e2e_testing" argument * kamu-cli: introduce server_catalog * kamu-cli, configure_server_catalog(): move login-related deps to the base catalog * kamu-cli, get_command(): rename cli_catalog -> work_catalog * test_di_server_graph_validates(): add * test_di_cli_graph_validates(): remove extra components * test_di_graph: split st & mt test variants * test_di_graph: fix lint warnings * Fixes after rebasing * kamu-cli, List command: fix a typo * OutboxExecutor::run_while_has_tasks(): introduce * kamu-cli: restore app.rs changes * kamu-cli: get_app_database_config(): move to database.rs * Extract fix of the WebUIFeatureFlags' typo into a dedicated issue * AppDatabaseConfig: logic simplification * kamu-cli, app: initialize_base_components(): extract * kamu-cli, app: initialize_server_components(): debug logging instrumentation * kamu-cli, app: move_initial_database_to_workspace_if_needed(): extract * kamu-cli, app: initialize_server_components(): absorb APIServerRunCommand::pre_run() * Updates after rebasing * Release (minor): 0.204.0
- Loading branch information