Skip to content

Commit

Permalink
chore: bump protos to 1.15.0-rc.1 tag
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Nguyen <[email protected]>
  • Loading branch information
mikeee committed Dec 3, 2024
1 parent f0498dc commit b9de85f
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 23 deletions.
7 changes: 7 additions & 0 deletions dapr/src/dapr/dapr.proto.runtime.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand Down Expand Up @@ -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>,
Expand Down Expand Up @@ -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>,
Expand All @@ -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>,
Expand Down Expand Up @@ -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>,
Expand All @@ -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>,
Expand All @@ -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>,
Expand Down
Binary file modified dapr/src/dapr/types.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion proto/dapr/proto/common/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,4 @@ message ConfigurationItem {

// the metadata which will be passed to/from configuration store component.
map<string,string> metadata = 3;
}
}
16 changes: 8 additions & 8 deletions proto/dapr/proto/runtime/v1/appcallback.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand All @@ -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;

Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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 {}
43 changes: 29 additions & 14 deletions proto/dapr/proto/runtime/v1/dapr.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand All @@ -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) {}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b9de85f

Please sign in to comment.