Skip to content
Merged
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
24 changes: 24 additions & 0 deletions odpf/optimus/runtime_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,11 @@ service RuntimeService {
body: "*"
};
}
rpc ReplayDryRun(ReplayDryRunRequest) returns (ReplayDryRunResponse) {
option (google.api.http) = {
get: "/api/v1/project/{project_name}/job/{job_name}/replay-dry-run"
};
}
// TODO(kush.sharma): disabled ATM
//rpc DeleteResource(DeleteResourceRequest) returns (DeleteResourceResponse) {}

Expand Down Expand Up @@ -544,3 +549,22 @@ message UpdateResourceResponse {
bool success = 1;
string message = 2;
}

message ReplayDryRunRequest {
string project_name = 1;
string job_name = 2;
string namespace = 3;
string start_date = 4;
string end_date = 5;
}

message ReplayDryRunResponse {
bool success = 1;
ReplayExecutionTreeNode response = 2;
}

message ReplayExecutionTreeNode {
string job_name = 1;
repeated ReplayExecutionTreeNode dependents = 2;
repeated google.protobuf.Timestamp runs = 3;
}