| !245 fix(KDC): path validation and key_pwd null handling From: @buaa18231157-YLH Reviewed-by: @lixiaomingg See merge request: openeuler/virtCCA_sdk!245 | 1 个月前 |
| fix: 统一UT风格,合并重复测试模块,修正cfg属性顺序 1. config_manager.rs: 将独立的init_test_config_from_path函数合并到mod tests中, 消除重复的#[cfg(test)]块 2. db_manager.rs: 将#[cfg_attr(coverage_nightly, coverage(off))]移到#[cfg(test)]前面 3. plugin_manager.rs: 同上,交换两行属性顺序 4. types.rs: 添加缺失的#[cfg_attr(coverage_nightly, coverage(off))] | 1 个月前 |
| fix(KDC): add error logging to all exception branches in kdc_agent | 1 个月前 |
| test(KDC): enhance UT coverage to ≥80% for lines and functions Add comprehensive unit tests across 8 source files using mockrs for mocking. Coverage achieved: Lines 90.47%, Functions 80.00%, Branches 91.34%. Changes: - Add mockrs 1.2.6 dev-dependency to kdc_agent and kdc_proxy - Optimize coverage.sh: run tests once, use report subcommand for JSON/HTML - Add custom CSS for intuitive coverage colors in HTML reports - New tests for psk_manager, crypto, http_server, process_manager, token_verifier, logger, http_client, and lib modules Synced from kdc_lite commit 3da3fd2. | 1 个月前 |
| feat(KDC): implement kdc_agent core initialization modules | 1 个月前 |
| test(KDC): enhance UT coverage to ≥80% for lines and functions Add comprehensive unit tests across 8 source files using mockrs for mocking. Coverage achieved: Lines 90.47%, Functions 80.00%, Branches 91.34%. Changes: - Add mockrs 1.2.6 dev-dependency to kdc_agent and kdc_proxy - Optimize coverage.sh: run tests once, use report subcommand for JSON/HTML - Add custom CSS for intuitive coverage colors in HTML reports - New tests for psk_manager, crypto, http_server, process_manager, token_verifier, logger, http_client, and lib modules Synced from kdc_lite commit 3da3fd2. | 1 个月前 |
| feat(KDC): add project scaffold with Cargo.toml, configs, scripts and empty stubs Workspace structure: - Root Cargo.toml with all dependencies (tokio, axum, reqwest, rusqlite, etc.) - .cargo/config.toml for rdynamic linking on x86_64/aarch64 Build configuration: - conf/common.json (version 0.0.1, release 1) - conf/specs/kdcagent.spec and kdcproxy.spec for RPM packaging - scripts/build_rpm.sh (one-click RPM build) Agent config: - kdc_agent/conf/agent_conf.json (IP, port, TLS paths, plugin list) - kdc_agent/conf/kdcagent_launcher.service (systemd unit with resource limits) Empty module stubs for both kdc_agent and kdc_proxy that compile successfully with 'cargo build --release --workspace'. Updated .gitignore to exclude KDC build artifacts and .sisyphus. | 2 个月前 |
| fix: 统一UT风格,合并重复测试模块,修正cfg属性顺序 1. config_manager.rs: 将独立的init_test_config_from_path函数合并到mod tests中, 消除重复的#[cfg(test)]块 2. db_manager.rs: 将#[cfg_attr(coverage_nightly, coverage(off))]移到#[cfg(test)]前面 3. plugin_manager.rs: 同上,交换两行属性顺序 4. types.rs: 添加缺失的#[cfg_attr(coverage_nightly, coverage(off))] | 1 个月前 |
| test(KDC): enhance UT coverage to ≥80% for lines and functions Add comprehensive unit tests across 8 source files using mockrs for mocking. Coverage achieved: Lines 90.47%, Functions 80.00%, Branches 91.34%. Changes: - Add mockrs 1.2.6 dev-dependency to kdc_agent and kdc_proxy - Optimize coverage.sh: run tests once, use report subcommand for JSON/HTML - Add custom CSS for intuitive coverage colors in HTML reports - New tests for psk_manager, crypto, http_server, process_manager, token_verifier, logger, http_client, and lib modules Synced from kdc_lite commit 3da3fd2. | 1 个月前 |
| test(KDC): enhance UT coverage to ≥80% for lines and functions Add comprehensive unit tests across 8 source files using mockrs for mocking. Coverage achieved: Lines 90.47%, Functions 80.00%, Branches 91.34%. Changes: - Add mockrs 1.2.6 dev-dependency to kdc_agent and kdc_proxy - Optimize coverage.sh: run tests once, use report subcommand for JSON/HTML - Add custom CSS for intuitive coverage colors in HTML reports - New tests for psk_manager, crypto, http_server, process_manager, token_verifier, logger, http_client, and lib modules Synced from kdc_lite commit 3da3fd2. | 1 个月前 |
| test(KDC): enhance UT coverage to ≥80% for lines and functions Add comprehensive unit tests across 8 source files using mockrs for mocking. Coverage achieved: Lines 90.47%, Functions 80.00%, Branches 91.34%. Changes: - Add mockrs 1.2.6 dev-dependency to kdc_agent and kdc_proxy - Optimize coverage.sh: run tests once, use report subcommand for JSON/HTML - Add custom CSS for intuitive coverage colors in HTML reports - New tests for psk_manager, crypto, http_server, process_manager, token_verifier, logger, http_client, and lib modules Synced from kdc_lite commit 3da3fd2. | 1 个月前 |
| test(KDC): exclude agent module test modules from coverage | 1 个月前 |