Skip to content

Commit

Permalink
Fix controller resource handling. Add basic controller tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelhetzel committed Sep 11, 2023
1 parent 3d0deef commit 8606c17
Show file tree
Hide file tree
Showing 5 changed files with 594 additions and 126 deletions.
2 changes: 1 addition & 1 deletion edgeless_api/src/orc/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pub trait OrchestratorAPI {
pub trait OrchestratorAPI: Send {
fn function_instance_api(&mut self) -> Box<dyn crate::function_instance::FunctionInstanceAPI>;
}
2 changes: 1 addition & 1 deletion edgeless_api/src/workflow_instance/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::function_instance::InstanceId;

const WORKFLOW_ID_NONE: uuid::Uuid = uuid::uuid!("00000000-0000-0000-0000-ffff00000000");

#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct WorkflowId {
pub workflow_id: uuid::Uuid,
}
Expand Down
Loading

0 comments on commit 8606c17

Please sign in to comment.