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
20 changes: 20 additions & 0 deletions odpf/optimus/runtime_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,12 @@ service RuntimeService {
get: "/v1/project/{project_name}/replay"
};
}
rpc BackupDryRun(BackupDryRunRequest) returns (BackupDryRunResponse) {
option (google.api.http) = {
post: "/v1/project/{project_name}/namespace/{namespace}/datastore/{datastore_name}/backup-dryrun"
body: "*"
};
}
// TODO(kush.sharma): disabled ATM
// rpc DeleteResource(DeleteResourceRequest) returns (DeleteResourceResponse) {}

Expand Down Expand Up @@ -719,6 +725,7 @@ message ReplaySpec {
string state = 5;
google.protobuf.Timestamp created_at = 6;
}

message RunJobRequest {
string project_name = 1;
string namespace = 2;
Expand All @@ -730,3 +737,16 @@ message RunJobRequest {
}

message RunJobResponse {}

message BackupDryRunRequest {
string project_name = 1;
string datastore_name = 2;
string resource_name = 3;
string namespace = 4;
string description = 5;
bool ignore_downstream = 6;
}

message BackupDryRunResponse {
repeated string resource_name = 1;
}