Skip to content

Commit 881b1fc

Browse files
Merge pull request #145 from code0-tech/deps/update-code0-flow
Update code0 flow
2 parents 10453f1 + 68f0dbb commit 881b1fc

4 files changed

Lines changed: 13 additions & 29 deletions

File tree

Cargo.lock

Lines changed: 8 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ edition = "2024"
88

99
[workspace.dependencies]
1010
async-trait = "0.1.89"
11-
code0-flow = { version = "0.0.29" }
11+
code0-flow = { version = "0.0.30" }
1212
tucana = { version = "0.0.68" }
1313
tokio = { version = "1.44.1", features = ["rt-multi-thread", "signal"] }
1414
log = "0.4.27"

crates/taurus/src/config/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ pub struct Config {
2121

2222
pub aquila_url: String,
2323

24+
pub aquila_token: String,
25+
2426
pub with_health_service: bool,
2527

2628
pub grpc_host: String,
@@ -41,6 +43,7 @@ impl Config {
4143
mode: env_with_default("MODE", Mode::DYNAMIC),
4244
nats_url: env_with_default("NATS_URL", String::from("nats://localhost:4222")),
4345
aquila_url: env_with_default("AQUILA_URL", String::from("http://localhost:50051")),
46+
aquila_token: env_with_default("AQUILA_TOKEN", String::from("token")),
4447
with_health_service: env_with_default("WITH_HEALTH_SERVICE", false),
4548
grpc_host: env_with_default("GRPC_HOST", "127.0.0.1".to_string()),
4649
grpc_port: env_with_default("GRPC_PORT", 50051),

crates/taurus/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ async fn main() {
110110
FlowUpdateService::from_url(
111111
config.aquila_url.clone(),
112112
config.definitions.clone().as_str(),
113+
config.aquila_token.clone(),
113114
)
114115
.await
115116
.send()

0 commit comments

Comments
 (0)