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
31 changes: 28 additions & 3 deletions odpf/optimus/runtime_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -680,10 +680,16 @@ message ReplayRequest {
string start_date = 4;
string end_date = 5;
bool force = 6;

// represents which downstream to be replayed.
// possible values are the namespace names, *, or empty.
// '*' means all namespaces are allowed, empty list means all downstream will be ignored.
repeated string allowed_downstream_namespaces = 7;
}

message ReplayResponse {
string id = 1;
repeated string ignored_jobs = 2;
}

message ReplayDryRunRequest {
Expand All @@ -692,11 +698,18 @@ message ReplayDryRunRequest {
string namespace = 3;
string start_date = 4;
string end_date = 5;

// represents which downstream to be replayed.
// possible values are the namespace names, *, or empty.
// '*' means all namespaces are allowed, empty list means all downstream will be ignored.
repeated string allowed_downstream_namespaces = 6;
}

message ReplayDryRunResponse {
bool success = 1;
ReplayExecutionTreeNode response = 2;
ReplayExecutionTreeNode response = 2 [deprecated=true];
ReplayExecutionTreeNode execution_tree = 3;
repeated string ignored_jobs = 4;
}

message ReplayExecutionTreeNode {
Expand Down Expand Up @@ -773,11 +786,17 @@ message BackupDryRunRequest {
string resource_name = 3;
string namespace = 4;
string description = 5;
bool ignore_downstream = 6;
bool ignore_downstream = 6 [deprecated=true];

// represents which downstream to be backed up.
// possible values are the namespace names, *, or empty.
// '*' means all namespaces are allowed, empty list means all downstream will be ignored.
repeated string allowed_downstream_namespaces = 7;
}

message BackupDryRunResponse {
repeated string resource_name = 1;
repeated string ignored_resources = 2;
}

message BackupRequest {
Expand All @@ -786,12 +805,18 @@ message BackupRequest {
string resource_name = 3;
string namespace = 4;
string description = 5;
bool ignore_downstream = 6;
bool ignore_downstream = 6 [deprecated=true];
map<string, string> config = 7;

// represents which downstream to be backed up.
// possible values are the namespace names, *, or empty.
// '*' means all namespaces are allowed, empty list means all downstream will be ignored.
repeated string allowed_downstream_namespaces = 8;
}

message BackupResponse {
repeated string urn = 1;
repeated string ignored_resources = 2;
}

message ListBackupsRequest {
Expand Down