Skip to content

Commit

Permalink
refactor(optimus): use allowed_downstreams to replace ignore_downstre…
Browse files Browse the repository at this point in the history
…am and allowed_downstream in replay and backup
  • Loading branch information
arinda-arif committed Dec 13, 2021
1 parent e51a370 commit 5b28d20
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions odpf/optimus/runtime_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -680,8 +680,7 @@ message ReplayRequest {
string start_date = 4;
string end_date = 5;
bool force = 6;
bool ignore_downstream = 7;
string allowed_downstream = 8;
repeated string allowed_downstream = 7;
}

message ReplayResponse {
Expand All @@ -695,8 +694,7 @@ message ReplayDryRunRequest {
string namespace = 3;
string start_date = 4;
string end_date = 5;
bool ignore_downstream = 6;
string allowed_downstream = 7;
repeated string allowed_downstream = 6;
}

message ReplayDryRunResponse {
Expand Down Expand Up @@ -780,8 +778,8 @@ message BackupDryRunRequest {
string resource_name = 3;
string namespace = 4;
string description = 5;
bool ignore_downstream = 6;
string allowed_downstream = 7;
bool ignore_downstream = 6 [deprecated=true];
repeated string allowed_downstream = 7;
}

message BackupDryRunResponse {
Expand All @@ -795,9 +793,9 @@ 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;
string allowed_downstream = 8;
repeated string allowed_downstream = 8;
}

message BackupResponse {
Expand Down

0 comments on commit 5b28d20

Please sign in to comment.