Skip to content

Commit

Permalink
[RPC] Extend RegisterTaskGraphRequest to provide the TaskGraph struct…
Browse files Browse the repository at this point in the history
…ure.
  • Loading branch information
sukritkalra committed Feb 19, 2024
1 parent 595def4 commit b186a99
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion rpc/protos/erdos_scheduler.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,22 @@ message DeregisterDriverResponse {
/// Application related RPC structures.
/// The following structures represent the data that an application (TaskGraph)
/// must pass to the scheduling backend.
message Task {
uint32 id = 1;
string name = 2;
}

message TaskDependencies {
Task key = 1;
repeated uint32 children_ids = 2;
}

message RegisterTaskGraphRequest {
string id = 1;
string name = 2;
uint64 timestamp = 3;
int32 deadline = 4;
repeated TaskDependencies dependencies = 4;
int32 deadline = 5;
}

message RegisterTaskGraphResponse {
Expand Down

0 comments on commit b186a99

Please sign in to comment.