Fundamental_Analysis/services/api-gateway/Cargo.toml
Lv, Qi 0cb31e363e Refactor E2E tests and improve error handling in Orchestrator
- Fix `simple_test_analysis` template in E2E test setup to align with Orchestrator's data fetch logic.
- Implement and verify additional E2E scenarios:
    - Scenario C: Partial Provider Failure (verified error propagation fix in Orchestrator).
    - Scenario D: Invalid Symbol input.
    - Scenario E: Analysis Module failure.
- Update `WorkflowStateMachine::handle_report_failed` to correctly scope error broadcasting to the specific task instead of failing effectively silently or broadly.
- Update testing strategy documentation to reflect completed Phase 4 testing.
- Skip Scenario B (Orchestrator Restart) as persistence is not yet implemented (decision made to defer persistence).
2025-11-21 20:44:32 +08:00

41 lines
871 B
TOML

[package]
name = "api-gateway"
version = "0.1.0"
edition = "2024"
[dependencies]
# Web Service
axum = "0.8.7"
tokio = { version = "1", features = ["full"] }
tower-http = { version = "0.6.6", features = ["cors", "trace"] }
# Shared Contracts
common-contracts = { path = "../common-contracts" }
# Message Queue (NATS)
async-nats = "0.45.0"
futures-util = "0.3"
async-stream = "0.3"
# HTTP Client
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }
# Concurrency & Async
uuid = { version = "1.8", features = ["v4"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Logging & Telemetry
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Configuration
config = "0.15.19"
# Error Handling
thiserror = "2.0.17"
anyhow = "1.0"
chrono = "0.4.42"