Skip to content

Commit 8bc0318

Browse files
authored
Updated protos to latest in dapr/dapr (#1420)
Signed-off-by: Whit Waldo <[email protected]>
1 parent 7b5ca4f commit 8bc0318

File tree

1 file changed

+22
-7
lines changed
  • src/Dapr.Protos/Protos/dapr/proto/runtime/v1

1 file changed

+22
-7
lines changed

src/Dapr.Protos/Protos/dapr/proto/runtime/v1/dapr.proto

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -151,25 +151,39 @@ service Dapr {
151151
rpc SubtleVerifyAlpha1(SubtleVerifyRequest) returns (SubtleVerifyResponse);
152152

153153
// Starts a new instance of a workflow
154-
rpc StartWorkflowAlpha1 (StartWorkflowRequest) returns (StartWorkflowResponse) {}
154+
rpc StartWorkflowAlpha1 (StartWorkflowRequest) returns (StartWorkflowResponse) {
155+
option deprecated = true;
156+
}
155157

156158
// Gets details about a started workflow instance
157-
rpc GetWorkflowAlpha1 (GetWorkflowRequest) returns (GetWorkflowResponse) {}
159+
rpc GetWorkflowAlpha1 (GetWorkflowRequest) returns (GetWorkflowResponse) {
160+
option deprecated = true;
161+
}
158162

159163
// Purge Workflow
160-
rpc PurgeWorkflowAlpha1 (PurgeWorkflowRequest) returns (google.protobuf.Empty) {}
164+
rpc PurgeWorkflowAlpha1 (PurgeWorkflowRequest) returns (google.protobuf.Empty) {
165+
option deprecated = true;
166+
}
161167

162168
// Terminates a running workflow instance
163-
rpc TerminateWorkflowAlpha1 (TerminateWorkflowRequest) returns (google.protobuf.Empty) {}
169+
rpc TerminateWorkflowAlpha1 (TerminateWorkflowRequest) returns (google.protobuf.Empty) {
170+
option deprecated = true;
171+
}
164172

165173
// Pauses a running workflow instance
166-
rpc PauseWorkflowAlpha1 (PauseWorkflowRequest) returns (google.protobuf.Empty) {}
174+
rpc PauseWorkflowAlpha1 (PauseWorkflowRequest) returns (google.protobuf.Empty) {
175+
option deprecated = true;
176+
}
167177

168178
// Resumes a paused workflow instance
169-
rpc ResumeWorkflowAlpha1 (ResumeWorkflowRequest) returns (google.protobuf.Empty) {}
179+
rpc ResumeWorkflowAlpha1 (ResumeWorkflowRequest) returns (google.protobuf.Empty) {
180+
option deprecated = true;
181+
}
170182

171183
// Raise an event to a running workflow instance
172-
rpc RaiseEventWorkflowAlpha1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}
184+
rpc RaiseEventWorkflowAlpha1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {
185+
option deprecated = true;
186+
}
173187

174188
// Starts a new instance of a workflow
175189
rpc StartWorkflowBeta1 (StartWorkflowRequest) returns (StartWorkflowResponse) {}
@@ -191,6 +205,7 @@ service Dapr {
191205

192206
// Raise an event to a running workflow instance
193207
rpc RaiseEventWorkflowBeta1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}
208+
194209
// Shutdown the sidecar
195210
rpc Shutdown (ShutdownRequest) returns (google.protobuf.Empty) {}
196211

0 commit comments

Comments
 (0)