mirror of https://github.com/dapr/rust-sdk.git
Merge pull request #252 from mikeee/proto-update
chore: bump protos to 1.15.0-rc.1 tag
This commit is contained in:
commit
2deed2baa8
|
@ -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.
|
@ -157,4 +157,4 @@ message ConfigurationItem {
|
|||
|
||||
// the metadata which will be passed to/from configuration store component.
|
||||
map<string,string> metadata = 3;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ service AppCallbackHealthCheck {
|
|||
// AppCallbackAlpha V1 is an optional extension to AppCallback V1 to opt
|
||||
// for Alpha RPCs.
|
||||
service AppCallbackAlpha {
|
||||
// Subscribes bulk events from Pubsub
|
||||
// Subscribes bulk events from Pubsub
|
||||
rpc OnBulkTopicEventAlpha1(TopicEventBulkRequest) returns (TopicEventBulkResponse) {}
|
||||
|
||||
// Sends job back to the app's endpoint at trigger time.
|
||||
|
@ -185,14 +185,14 @@ message TopicEventBulkRequestEntry {
|
|||
|
||||
// content type of the event contained.
|
||||
string content_type = 4;
|
||||
|
||||
|
||||
// The metadata associated with the event.
|
||||
map<string,string> metadata = 5;
|
||||
}
|
||||
|
||||
// TopicEventBulkRequest represents request for bulk message
|
||||
message TopicEventBulkRequest {
|
||||
// Unique identifier for the bulk request.
|
||||
// Unique identifier for the bulk request.
|
||||
string id = 1;
|
||||
|
||||
// The list of items inside this bulk request.
|
||||
|
@ -203,10 +203,10 @@ message TopicEventBulkRequest {
|
|||
|
||||
// The pubsub topic which publisher sent to.
|
||||
string topic = 4;
|
||||
|
||||
|
||||
// The name of the pubsub the publisher sent to.
|
||||
string pubsub_name = 5;
|
||||
|
||||
|
||||
// The type of event related to the originating occurrence.
|
||||
string type = 6;
|
||||
|
||||
|
@ -310,8 +310,8 @@ message TopicRoutes {
|
|||
|
||||
message TopicRule {
|
||||
// The optional CEL expression used to match the event.
|
||||
// If the match is not specified, then the route is considered
|
||||
// the default.
|
||||
// If the match is not specified, then the route is considered
|
||||
// the default.
|
||||
string match = 1;
|
||||
|
||||
// The path used to identify matches for this subscription.
|
||||
|
@ -340,4 +340,4 @@ message ListInputBindingsResponse {
|
|||
|
||||
// HealthCheckResponse is the message with the response to the health check.
|
||||
// This message is currently empty as used as placeholder.
|
||||
message HealthCheckResponse {}
|
||||
message HealthCheckResponse {}
|
||||
|
|
|
@ -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) {}
|
||||
|
||||
|
@ -1215,14 +1230,14 @@ message Job {
|
|||
// "0 15 3 * * *" - every day at 03:15
|
||||
//
|
||||
// Period string expressions:
|
||||
// Entry | Description | Equivalent To
|
||||
// ----- | ----------- | -------------
|
||||
// Entry | Description | Equivalent To
|
||||
// ----- | ----------- | -------------
|
||||
// @every `<duration>` | Run every `<duration>` (e.g. '@every 1h30m') | N/A
|
||||
// @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 *
|
||||
// @monthly | Run once a month, midnight, first of month | 0 0 0 1 * *
|
||||
// @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0
|
||||
// @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * *
|
||||
// @hourly | Run once an hour, beginning of hour | 0 0 * * * *
|
||||
// @yearly (or @annually) | Run once a year, midnight, Jan. 1st | 0 0 0 1 1 *
|
||||
// @monthly | Run once a month, midnight, first of month | 0 0 0 1 * *
|
||||
// @weekly | Run once a week, midnight on Sunday | 0 0 0 * * 0
|
||||
// @daily (or @midnight) | Run once a day, midnight | 0 0 0 * * *
|
||||
// @hourly | Run once an hour, beginning of hour | 0 0 * * * *
|
||||
optional string schedule = 2 [json_name = "schedule"];
|
||||
|
||||
// repeats is the optional number of times in which the job should be
|
||||
|
|
Loading…
Reference in New Issue