Skip to content

Commit

Permalink
Merge pull request #7 from code0-tech/fix/flow-id-missing
Browse files Browse the repository at this point in the history
fix: added missing flow id field
  • Loading branch information
raphael-goetz authored Aug 31, 2024
2 parents dab5443 + dbbc4bc commit 12689f2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions proto/internal/flow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import "node.proto";
import "flow_definition.proto";

message Flow {
int64 flow_id = 1;
Node start_node = 2;
FlowDefinition definition = 3;
}
Expand All @@ -23,8 +24,9 @@ message FlowLogonRequest {

//Sagittarius sends flow to be updated
message FlowResponse {
Flow updated_flow = 1;
FlowCommandType type = 2;
optional Flow updated_flow = 1;
optional int64 deleted_flow_id = 2;
FlowCommandType type = 3;
}

//All ids of flows that Aquila holds
Expand All @@ -43,4 +45,4 @@ message FlowGetResponse {
service FlowService {
rpc Get (FlowGetRequest) returns (FlowGetResponse) {}
rpc Update (FlowLogonRequest) returns (stream FlowResponse) {}
}
}

0 comments on commit 12689f2

Please sign in to comment.