Skip to content

Commit

Permalink
chore: bump protos to rc18 (#265)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Nguyen <[email protected]>
  • Loading branch information
mikeee authored Feb 27, 2025
1 parent 99d099f commit 1508ea2
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
11 changes: 10 additions & 1 deletion dapr/src/dapr/dapr.proto.runtime.v1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2373,9 +2373,18 @@ pub struct GetMetadataResponse {
pub runtime_version: ::prost::alloc::string::String,
#[prost(string, repeated, tag = "9")]
pub enabled_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
/// TODO: Cassie: probably add scheduler runtime status
#[prost(message, optional, tag = "10")]
pub actor_runtime: ::core::option::Option<ActorRuntime>,
#[prost(message, optional, tag = "11")]
pub scheduler: ::core::option::Option<MetadataScheduler>,
}
/// MetadataScheduler is a message that contains the list of addresses of the
/// scheduler connections.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MetadataScheduler {
/// connected_addresses the list of addresses of the scheduler connections.
#[prost(string, repeated, tag = "1")]
pub connected_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ActorRuntime {
Expand Down
Binary file modified dapr/src/dapr/types.bin
Binary file not shown.
11 changes: 9 additions & 2 deletions proto/dapr/proto/runtime/v1/dapr.proto
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,14 @@ message GetMetadataResponse {
string runtime_version = 8 [json_name = "runtimeVersion"];
repeated string enabled_features = 9 [json_name = "enabledFeatures"];
ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"];
//TODO: Cassie: probably add scheduler runtime status
optional MetadataScheduler scheduler = 11 [json_name = "scheduler"];
}

// MetadataScheduler is a message that contains the list of addresses of the
// scheduler connections.
message MetadataScheduler {
// connected_addresses the list of addresses of the scheduler connections.
repeated string connected_addresses = 1;
}

message ActorRuntime {
Expand Down Expand Up @@ -1344,4 +1351,4 @@ message ConversationResponse {

// An array of results.
repeated ConversationResult outputs = 2;
}
}

0 comments on commit 1508ea2

Please sign in to comment.