Skip to content

Commit abf8cb3

Browse files
authored
Add Signal API (#129)
1 parent 94fd40a commit abf8cb3

4 files changed

Lines changed: 342 additions & 95 deletions

File tree

proto/api/temporal/api/workflowservice/v1/service.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,10 @@ service WorkflowService {
258258
// This results in a `WORKFLOW_EXECUTION_SIGNALED` event recorded in the history and a workflow
259259
// task being created for the execution.
260260
rpc SignalWorkflowExecution (SignalWorkflowExecutionRequest) returns (SignalWorkflowExecutionResponse) {
261+
option (google.api.http) = {
262+
post: "/api/v1/namespaces/{namespace}/workflows/{workflow_execution.workflow_id}/runs/{workflow_execution.run_id}/signal"
263+
body: "*"
264+
};
261265
}
262266

263267
// SignalWithStartWorkflowExecution is used to ensure a signal is sent to a workflow, even if

server/generated/api/workflowservice/v1/service.pb.go

Lines changed: 95 additions & 95 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)