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

Expand Down Expand Up @@ -559,7 +564,7 @@ message UpdateResourceResponse {
string message = 2;
}

message ReplayDryRunRequest {
message ReplayRequest {
string project_name = 1;
string job_name = 2;
string namespace = 3;
Expand All @@ -577,3 +582,7 @@ message ReplayExecutionTreeNode {
repeated ReplayExecutionTreeNode dependents = 2;
repeated google.protobuf.Timestamp runs = 3;
}

message ReplayResponse {
string id = 1;
}