diff --git a/Cargo.lock b/Cargo.lock index cecbf0a..fffc803 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2185,9 +2185,9 @@ dependencies = [ [[package]] name = "tucana" -version = "0.0.75" +version = "0.0.76" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6a58d33f2013edc52c4d782b3bdcdccff2b6b7f2233b91fc833e2f69df2277b" +checksum = "473db4c6dff2f83d8275b92abe90873a5e68b5ca5cf02e2aa0154fdd69bc925a" dependencies = [ "pbjson", "pbjson-build", diff --git a/Cargo.toml b/Cargo.toml index fcf4e63..4e23373 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ homepage = "https://code0.tech" license = "Apache-2.0" [dependencies] -tucana = { version = "0.0.75", features = ["aquila"], optional = true } +tucana = { version = "0.0.76", features = ["aquila"], optional = true } log = { version = "0.4.24", optional = true } tonic = { version = "0.14.1", optional = true } dotenv = { version = "0.15.0", optional = true } diff --git a/src/flow_definition/mod.rs b/src/flow_definition/mod.rs index 56d9cf8..d76fe94 100644 --- a/src/flow_definition/mod.rs +++ b/src/flow_definition/mod.rs @@ -1,3 +1,5 @@ +#![allow(dead_code)] + mod error; mod feature; @@ -53,7 +55,7 @@ impl LoadedModule { } Module { - identifier: self.config.identifier, + identifier: self.config.identifier.clone(), name: self.config.name, description: self.config.description, documentation: self.config.documentation, @@ -67,6 +69,7 @@ impl LoadedModule { definition_data_types: self.data_types, configurations: self.configurations, definitions: self.definitions, + definition_source: self.config.identifier, } } } diff --git a/src/flow_service/mod.rs b/src/flow_service/mod.rs index 0236880..16b18bd 100644 --- a/src/flow_service/mod.rs +++ b/src/flow_service/mod.rs @@ -168,6 +168,7 @@ mod tests { definition_data_types: Vec::new(), configurations: Vec::new(), definitions: Vec::new(), + definition_source: identifier.to_string(), } }