diff --git a/dapr/src/dapr/dapr.proto.runtime.v1.rs b/dapr/src/dapr/dapr.proto.runtime.v1.rs index 8e2346e..2e912b4 100644 --- a/dapr/src/dapr/dapr.proto.runtime.v1.rs +++ b/dapr/src/dapr/dapr.proto.runtime.v1.rs @@ -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, + #[prost(message, optional, tag = "11")] + pub scheduler: ::core::option::Option, +} +/// 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 { diff --git a/dapr/src/dapr/types.bin b/dapr/src/dapr/types.bin index 6309fef..851cd04 100644 Binary files a/dapr/src/dapr/types.bin and b/dapr/src/dapr/types.bin differ diff --git a/proto/dapr/proto/runtime/v1/dapr.proto b/proto/dapr/proto/runtime/v1/dapr.proto index 8886760..f51ec0a 100644 --- a/proto/dapr/proto/runtime/v1/dapr.proto +++ b/proto/dapr/proto/runtime/v1/dapr.proto @@ -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 { @@ -1344,4 +1351,4 @@ message ConversationResponse { // An array of results. repeated ConversationResult outputs = 2; -} \ No newline at end of file +}