Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .env-example
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ NATS_URL='nats://localhost:4222'
AQUILA_URL='http://localhost:8080'
WITH_HEALTH_SERVICE=false
GRPC_HOST='127.0.0.1'
GRPC_PORT=50051
GRPC_PORT=50051
DEFINITIONS='./definitions'
88 changes: 48 additions & 40 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ version = "0.1.0"
edition = "2024"

[workspace.dependencies]
code0-flow = { version = "0.0.18" }
tucana = { version = "0.0.40" }
tokio = { version = "1.44.1", features = ["rt-multi-thread"] }
code0-flow = { version = "0.0.19" }
tucana = { version = "0.0.42" }
tokio = { version = "1.44.1", features = ["rt-multi-thread", "signal"] }
log = "0.4.27"
futures-lite = "2.6.0"
rand = "0.9.1"
base64 = "0.22.1"
env_logger = "0.11.8"
async-nats = "0.44.2"
async-nats = "0.45.0"
prost = "0.14.1"
tonic-health = "0.14.1"
tonic = "0.14.1"
2 changes: 1 addition & 1 deletion taurus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2024"

[dependencies]
code0-flow = { workspace = true }
code0-flow = { workspace = true, features = ["flow_service"] }
tucana = { workspace = true }
tokio = { workspace = true }
log = { workspace = true }
Expand Down
5 changes: 4 additions & 1 deletion taurus/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ pub struct Config {
pub grpc_host: String,

pub grpc_port: u16,

pub definitions: String,
}

/// Implementation for all relevant `Aquila` startup configurations
Expand All @@ -36,12 +38,13 @@ impl Config {
pub fn new() -> Self {
Config {
environment: env_with_default("ENVIRONMENT", Environment::Development),
mode: env_with_default("MODE", Mode::STATIC),
mode: env_with_default("MODE", Mode::DYNAMIC),
nats_url: env_with_default("NATS_URL", String::from("nats://localhost:4222")),
aquila_url: env_with_default("AQUILA_URL", String::from("http://localhost:50051")),
with_health_service: env_with_default("WITH_HEALTH_SERVICE", false),
grpc_host: env_with_default("GRPC_HOST", "127.0.0.1".to_string()),
grpc_port: env_with_default("GRPC_PORT", 50051),
definitions: env_with_default("DEFINITIONS", String::from("./definitions")),
}
}
}
Loading