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
8 changes: 4 additions & 4 deletions Cargo.lock

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

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

[workspace.dependencies]
code0-flow = { version = "0.0.25" }
tucana = { version = "0.0.52", features = ["aquila"] }
code0-flow = { version = "0.0.26" }
tucana = { version = "0.0.54", features = ["aquila"] }
serde_json = { version = "1.0.138" }
log = "0.4.27"
env_logger = "0.11.8"
Expand Down
13 changes: 1 addition & 12 deletions crates/base/src/store.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::traits::IdentifiableFlow;
use async_nats::jetstream::kv::Config;
use code0_flow::flow_validator::verify_flow;
use futures_lite::StreamExt;
use prost::Message;
use tucana::shared::{ExecutionFlow, ValidationFlow, Value};
Expand Down Expand Up @@ -119,17 +118,7 @@ impl AdapterStore {
flow: ValidationFlow,
input_value: Option<Value>,
) -> Option<Value> {
if let Some(body) = input_value.clone() {
let verify_result = verify_flow(flow.clone(), body);

match verify_result {
Ok(()) => {}
Err(_err) => {
return None;
}
};
}

// TODO: Replace body vaidation with triangulus when its ready
let uuid = uuid::Uuid::new_v4().to_string();
let flow_id = flow.flow_id;
let execution_flow: ExecutionFlow = Self::convert_validation_flow(flow, input_value);
Expand Down