Files
cloudlysis/gateway/build.rs
Vlad Durnea 90c307016d
Some checks failed
ci / rust (push) Failing after 2m21s
ci / ui (push) Failing after 28s
images / build-and-push (push) Failing after 18s
transport: complete M0–M7
shared: add stream+consumer policy helpers; NATS context header builder

aggregate/runner/projection: centralize stream validation and header usage; set bounded consumer params

projection: add QueryService gRPC and wire into main; settings include PROJECTION_GRPC_ADDR

gateway: gRPC routing to Projection/Runner with deadlines; bounded read-only retries; pooled gRPC channels (bounded LRU+TTL); admin proxy forwards to gRPC; probes use concurrency limiter + TTL cache

runner: add RunnerAdmin gRPC server (drain, status, reload) and wire into main; settings include RUNNER_GRPC_ADDR

tests: add gateway authz for runner admin, projection tenant isolation, runner admin drain semantics

docs: update TRANSPORT_DEVELOPMENT_PLAN to reflect completed milestones and details
2026-03-30 14:24:14 +03:00

26 lines
829 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
let protoc = protoc_bin_vendored::protoc_bin_path()?;
std::env::set_var("PROTOC", protoc);
tonic_build::configure()
.build_server(true)
.build_client(true)
.compile_protos(
&[
"../aggregate/proto/aggregate.proto",
"../projection/proto/query.proto",
"../runner/proto/admin.proto",
],
&[
"../aggregate/proto",
"../projection/proto",
"../runner/proto",
],
)?;
println!("cargo:rerun-if-changed=../aggregate/proto/aggregate.proto");
println!("cargo:rerun-if-changed=../projection/proto/query.proto");
println!("cargo:rerun-if-changed=../runner/proto/admin.proto");
Ok(())
}