Files
foxhunt/services/data_acquisition_service/Cargo.toml
jgrusewski d04b6c7023 fix(fxt,services): remove mock fallbacks and add gRPC health checks
- trade_ml.rs: Replace 3 mock data fallbacks (submit, predictions,
  performance) with proper error propagation. Commands now fail
  honestly when the API Gateway is unreachable instead of silently
  returning fake data. Mark 3 integration tests as #[ignore].

- monitoring_service: Add tonic-health with set_serving for
  MonitoringServiceServer. Enables grpc_health_probe readiness checks.

- ml_training_service: Add tonic-health with set_serving for
  MlTrainingServiceServer. Wired into both TLS and non-TLS paths.

- data_acquisition_service: Add tonic-health with set_serving for
  DataAcquisitionServiceServer.

- ml/cuda_streams: Fix pre-existing unused variable clippy warning.

All 8 services now have standard gRPC health checking enabled.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 14:14:51 +01:00

79 lines
2.1 KiB
TOML

[package]
name = "data_acquisition_service"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
license.workspace = true
description = "Data Acquisition Service - Automated Databento data downloading and storage for HFT trading"
[dependencies]
# Core async and utilities - USE WORKSPACE
tokio.workspace = true
uuid.workspace = true
serde.workspace = true
serde_json.workspace = true
chrono.workspace = true
thiserror.workspace = true
anyhow.workspace = true
clap.workspace = true
# gRPC and protocol buffers - USE WORKSPACE
tonic.workspace = true
tonic-prost.workspace = true
tonic-health.workspace = true
tonic-reflection.workspace = true
prost.workspace = true
prost-types.workspace = true
# Database - USE WORKSPACE
sqlx.workspace = true
# Async streams and utilities - USE WORKSPACE
tokio-stream.workspace = true
tokio-util.workspace = true
futures.workspace = true
async-trait.workspace = true
tokio-retry.workspace = true
# Logging, tracing and metrics - USE WORKSPACE
tracing.workspace = true
tracing-subscriber.workspace = true
metrics.workspace = true
prometheus.workspace = true
once_cell.workspace = true
# Utilities - USE WORKSPACE
axum.workspace = true # Health endpoint HTTP server
reqwest.workspace = true # HTTP client for Databento API
bytes.workspace = true
# TLS (using explicit version since not in workspace)
rustls = { version = "0.23", features = ["ring"] }
# Internal workspace crates
config = { workspace = true, features = ["postgres"] }
common = { workspace = true, features = ["database"] }
storage.workspace = true
# Object store dependencies for MinIO/S3 integration
object_store = { workspace = true, features = ["aws"] }
# DBN (Databento Binary) for data format handling
dbn = "0.42.0"
[build-dependencies]
tonic-prost-build.workspace = true
prost-build.workspace = true
[[bin]]
name = "data_acquisition_service"
path = "src/main.rs"
[dev-dependencies]
tempfile.workspace = true
tower.workspace = true
tower-test = "0.4.0"
mockito = "1.2" # HTTP mocking for tests
sha2 = "0.10" # Checksum calculation for tests