diff --git a/odpf/optimus/runtime_service.proto b/odpf/optimus/runtime_service.proto index edeb6065..4402bb29 100644 --- a/odpf/optimus/runtime_service.proto +++ b/odpf/optimus/runtime_service.proto @@ -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 { @@ -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 { @@ -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 { @@ -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 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 {