Skip to content

Commit 4e18e83

Browse files
authored
Add Remote cluster related API to operator service (#189)
1 parent 02730b3 commit 4e18e83

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

temporal/api/operatorservice/v1/request_response.proto

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,18 @@ message DeleteWorkflowExecutionRequest {
9191
// This message is EXPERIMENTAL and may be changed or removed in a later release.
9292
message DeleteWorkflowExecutionResponse {
9393
}
94+
95+
message AddOrUpdateRemoteClusterRequest {
96+
string frontend_address = 1;
97+
bool enable_remote_cluster_connection = 2;
98+
}
99+
100+
message AddOrUpdateRemoteClusterResponse {
101+
}
102+
103+
message RemoveRemoteClusterRequest {
104+
string cluster_name = 1;
105+
}
106+
107+
message RemoveRemoteClusterResponse {
108+
}

temporal/api/operatorservice/v1/service.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,12 @@ service OperatorService {
7474
// aip.dev/not-precedent: DeleteNamespace RPC doesn't follow Google API format. --)
7575
rpc DeleteWorkflowExecution (DeleteWorkflowExecutionRequest) returns (DeleteWorkflowExecutionResponse) {
7676
}
77+
78+
// AddOrUpdateRemoteCluster adds or updates remote cluster.
79+
rpc AddOrUpdateRemoteCluster(AddOrUpdateRemoteClusterRequest) returns (AddOrUpdateRemoteClusterResponse) {
80+
}
81+
82+
// RemoveRemoteCluster removes remote cluster.
83+
rpc RemoveRemoteCluster(RemoveRemoteClusterRequest) returns (RemoveRemoteClusterResponse) {
84+
}
7785
}

0 commit comments

Comments
 (0)