Skip to content

Commit 5b42dde

Browse files
Merge pull request #158 from code0-tech/renovate/tucana-0.x
Update Rust crate tucana to 0.0.54
2 parents 47fadc5 + c5342ce commit 5b42dde

3 files changed

Lines changed: 7 additions & 18 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ version = "0.0.0"
77
edition = "2024"
88

99
[workspace.dependencies]
10-
code0-flow = { version = "0.0.25" }
11-
tucana = { version = "0.0.52", features = ["aquila"] }
10+
code0-flow = { version = "0.0.26" }
11+
tucana = { version = "0.0.54", features = ["aquila"] }
1212
serde_json = { version = "1.0.138" }
1313
log = "0.4.27"
1414
env_logger = "0.11.8"

crates/base/src/store.rs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
use crate::traits::IdentifiableFlow;
22
use async_nats::jetstream::kv::Config;
3-
use code0_flow::flow_validator::verify_flow;
43
use futures_lite::StreamExt;
54
use prost::Message;
65
use tucana::shared::{ExecutionFlow, ValidationFlow, Value};
@@ -119,17 +118,7 @@ impl AdapterStore {
119118
flow: ValidationFlow,
120119
input_value: Option<Value>,
121120
) -> Option<Value> {
122-
if let Some(body) = input_value.clone() {
123-
let verify_result = verify_flow(flow.clone(), body);
124-
125-
match verify_result {
126-
Ok(()) => {}
127-
Err(_err) => {
128-
return None;
129-
}
130-
};
131-
}
132-
121+
// TODO: Replace body vaidation with triangulus when its ready
133122
let uuid = uuid::Uuid::new_v4().to_string();
134123
let flow_id = flow.flow_id;
135124
let execution_flow: ExecutionFlow = Self::convert_validation_flow(flow, input_value);

0 commit comments

Comments
 (0)