Add terminal service implementation and integration tests

- Introduced terminal.h header file defining the terminal service API.
- Implemented integration tests for terminal service registration and health checks.
- Added unit tests for FFI layer, health checks, and terminal service functionality.
- Created a mock center for testing terminal registration and deregistration.
- Ensured proper error handling and response validation in tests.
This commit is contained in:
2026-09-20 10:55:38 +08:00
parent 3bef0e4ef2
commit 7f331565c7
90 changed files with 7807 additions and 14 deletions
+26 -5
View File
@@ -1,12 +1,33 @@
[workspace]
members = [
"dispatcher",
"registry",
"terminal"
]
members = ["dispatcher", "registry", "terminal", "proto", "aggregate-router"]
resolver = "3"
[workspace.package]
version = "0.1.0"
edition = "2024"
authors = ["lain <[email protected]>"]
[workspace.dependencies]
proto = { path = "proto" }
connectrpc = { version = "^0.9", features = ["client", "server", "axum"] }
buffa = "^0.9"
buffa-types = { version = "^0.9", features = ["json"] }
serde = "^1"
connectrpc-build = "^0.9"
cbindgen = "^0.29"
axum = { version = "^0.8", features = ["http2"] }
futures-util = "^0.3"
dotenvy = "^0.15"
uuid = { version = "^1", features = ["v5"] }
tempfile = "^3"
tokio = { version = "^1", features = [
"rt-multi-thread",
"macros",
"net",
"sync",
"time",
"fs",
"signal",
] }
log = "^0.4"
env_logger = "^0.11"