Skip to content

Commit 77cd10e

Browse files
committed
Fix unimplemented RPCs
1 parent fe53f54 commit 77cd10e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

packages/core-bridge/src/client.rs

+15
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,9 @@ async fn client_invoke(mut retry_client: CoreClient, call: RpcCall) -> BridgeRes
179179
"CreateSchedule" => {
180180
rpc_call!(retry_client, call, create_schedule)
181181
}
182+
"CreateWorkflowRule" => {
183+
rpc_call!(retry_client, call, create_workflow_rule)
184+
}
182185
"DeleteSchedule" => {
183186
rpc_call!(retry_client, call, delete_schedule)
184187
}
@@ -191,6 +194,9 @@ async fn client_invoke(mut retry_client: CoreClient, call: RpcCall) -> BridgeRes
191194
"DeleteWorkflowExecution" => {
192195
rpc_call!(retry_client, call, delete_workflow_execution)
193196
}
197+
"DeleteWorkflowRule" => {
198+
rpc_call!(retry_client, call, delete_workflow_rule)
199+
}
194200
"DescribeBatchOperation" => {
195201
rpc_call!(retry_client, call, describe_batch_operation)
196202
}
@@ -210,6 +216,9 @@ async fn client_invoke(mut retry_client: CoreClient, call: RpcCall) -> BridgeRes
210216
"DescribeWorkflowExecution" => {
211217
rpc_call!(retry_client, call, describe_workflow_execution)
212218
}
219+
"DescribeWorkflowRule" => {
220+
rpc_call!(retry_client, call, describe_workflow_rule)
221+
}
213222
"ExecuteMultiOperation" => rpc_call!(retry_client, call, execute_multi_operation),
214223
"GetClusterInfo" => rpc_call!(retry_client, call, get_cluster_info),
215224
"GetCurrentDeployment" => rpc_call!(retry_client, call, get_current_deployment),
@@ -266,6 +275,9 @@ async fn client_invoke(mut retry_client: CoreClient, call: RpcCall) -> BridgeRes
266275
"ListWorkflowExecutions" => {
267276
rpc_call!(retry_client, call, list_workflow_executions)
268277
}
278+
"ListWorkflowRules" => {
279+
rpc_call!(retry_client, call, list_workflow_rules)
280+
}
269281
"PatchSchedule" => {
270282
rpc_call!(retry_client, call, patch_schedule)
271283
}
@@ -368,6 +380,9 @@ async fn client_invoke(mut retry_client: CoreClient, call: RpcCall) -> BridgeRes
368380
"TerminateWorkflowExecution" => {
369381
rpc_call!(retry_client, call, terminate_workflow_execution)
370382
}
383+
"TriggerWorkflowRule" => {
384+
rpc_call!(retry_client, call, trigger_workflow_rule)
385+
}
371386
"UnpauseActivity" => {
372387
rpc_call!(retry_client, call, unpause_activity)
373388
}

0 commit comments

Comments
 (0)