Merge pull request #252 from mikeee/proto-update

chore: bump protos to 1.15.0-rc.1 tag
This commit is contained in:
Mike Nguyen 2024-12-03 11:53:47 +00:00 committed by GitHub
commit 2deed2baa8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 45 additions and 23 deletions

View File

@ -4480,6 +4480,7 @@ pub mod dapr_client {
self.inner.unary(req, path, codec).await
}
/// Starts a new instance of a workflow
#[deprecated]
pub async fn start_workflow_alpha1(
&mut self,
request: impl tonic::IntoRequest<super::StartWorkflowRequest>,
@ -4507,6 +4508,7 @@ pub mod dapr_client {
self.inner.unary(req, path, codec).await
}
/// Gets details about a started workflow instance
#[deprecated]
pub async fn get_workflow_alpha1(
&mut self,
request: impl tonic::IntoRequest<super::GetWorkflowRequest>,
@ -4534,6 +4536,7 @@ pub mod dapr_client {
self.inner.unary(req, path, codec).await
}
/// Purge Workflow
#[deprecated]
pub async fn purge_workflow_alpha1(
&mut self,
request: impl tonic::IntoRequest<super::PurgeWorkflowRequest>,
@ -4558,6 +4561,7 @@ pub mod dapr_client {
self.inner.unary(req, path, codec).await
}
/// Terminates a running workflow instance
#[deprecated]
pub async fn terminate_workflow_alpha1(
&mut self,
request: impl tonic::IntoRequest<super::TerminateWorkflowRequest>,
@ -4585,6 +4589,7 @@ pub mod dapr_client {
self.inner.unary(req, path, codec).await
}
/// Pauses a running workflow instance
#[deprecated]
pub async fn pause_workflow_alpha1(
&mut self,
request: impl tonic::IntoRequest<super::PauseWorkflowRequest>,
@ -4609,6 +4614,7 @@ pub mod dapr_client {
self.inner.unary(req, path, codec).await
}
/// Resumes a paused workflow instance
#[deprecated]
pub async fn resume_workflow_alpha1(
&mut self,
request: impl tonic::IntoRequest<super::ResumeWorkflowRequest>,
@ -4633,6 +4639,7 @@ pub mod dapr_client {
self.inner.unary(req, path, codec).await
}
/// Raise an event to a running workflow instance
#[deprecated]
pub async fn raise_event_workflow_alpha1(
&mut self,
request: impl tonic::IntoRequest<super::RaiseEventWorkflowRequest>,

Binary file not shown.

View File

@ -151,25 +151,39 @@ service Dapr {
rpc SubtleVerifyAlpha1(SubtleVerifyRequest) returns (SubtleVerifyResponse);
// Starts a new instance of a workflow
rpc StartWorkflowAlpha1 (StartWorkflowRequest) returns (StartWorkflowResponse) {}
rpc StartWorkflowAlpha1 (StartWorkflowRequest) returns (StartWorkflowResponse) {
option deprecated = true;
}
// Gets details about a started workflow instance
rpc GetWorkflowAlpha1 (GetWorkflowRequest) returns (GetWorkflowResponse) {}
rpc GetWorkflowAlpha1 (GetWorkflowRequest) returns (GetWorkflowResponse) {
option deprecated = true;
}
// Purge Workflow
rpc PurgeWorkflowAlpha1 (PurgeWorkflowRequest) returns (google.protobuf.Empty) {}
rpc PurgeWorkflowAlpha1 (PurgeWorkflowRequest) returns (google.protobuf.Empty) {
option deprecated = true;
}
// Terminates a running workflow instance
rpc TerminateWorkflowAlpha1 (TerminateWorkflowRequest) returns (google.protobuf.Empty) {}
rpc TerminateWorkflowAlpha1 (TerminateWorkflowRequest) returns (google.protobuf.Empty) {
option deprecated = true;
}
// Pauses a running workflow instance
rpc PauseWorkflowAlpha1 (PauseWorkflowRequest) returns (google.protobuf.Empty) {}
rpc PauseWorkflowAlpha1 (PauseWorkflowRequest) returns (google.protobuf.Empty) {
option deprecated = true;
}
// Resumes a paused workflow instance
rpc ResumeWorkflowAlpha1 (ResumeWorkflowRequest) returns (google.protobuf.Empty) {}
rpc ResumeWorkflowAlpha1 (ResumeWorkflowRequest) returns (google.protobuf.Empty) {
option deprecated = true;
}
// Raise an event to a running workflow instance
rpc RaiseEventWorkflowAlpha1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}
rpc RaiseEventWorkflowAlpha1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {
option deprecated = true;
}
// Starts a new instance of a workflow
rpc StartWorkflowBeta1 (StartWorkflowRequest) returns (StartWorkflowResponse) {}
@ -191,6 +205,7 @@ service Dapr {
// Raise an event to a running workflow instance
rpc RaiseEventWorkflowBeta1 (RaiseEventWorkflowRequest) returns (google.protobuf.Empty) {}
// Shutdown the sidecar
rpc Shutdown (ShutdownRequest) returns (google.protobuf.Empty) {}