Skip to content

Commit 1508ea2

Browse files
authored
chore: bump protos to rc18 (#265)
Signed-off-by: Mike Nguyen <[email protected]>
1 parent 99d099f commit 1508ea2

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

dapr/src/dapr/dapr.proto.runtime.v1.rs

+10-1
Original file line numberDiff line numberDiff line change
@@ -2373,9 +2373,18 @@ pub struct GetMetadataResponse {
23732373
pub runtime_version: ::prost::alloc::string::String,
23742374
#[prost(string, repeated, tag = "9")]
23752375
pub enabled_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
2376-
/// TODO: Cassie: probably add scheduler runtime status
23772376
#[prost(message, optional, tag = "10")]
23782377
pub actor_runtime: ::core::option::Option<ActorRuntime>,
2378+
#[prost(message, optional, tag = "11")]
2379+
pub scheduler: ::core::option::Option<MetadataScheduler>,
2380+
}
2381+
/// MetadataScheduler is a message that contains the list of addresses of the
2382+
/// scheduler connections.
2383+
#[derive(Clone, PartialEq, ::prost::Message)]
2384+
pub struct MetadataScheduler {
2385+
/// connected_addresses the list of addresses of the scheduler connections.
2386+
#[prost(string, repeated, tag = "1")]
2387+
pub connected_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
23792388
}
23802389
#[derive(Clone, PartialEq, ::prost::Message)]
23812390
pub struct ActorRuntime {

dapr/src/dapr/types.bin

503 Bytes
Binary file not shown.

proto/dapr/proto/runtime/v1/dapr.proto

+9-2
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,14 @@ message GetMetadataResponse {
694694
string runtime_version = 8 [json_name = "runtimeVersion"];
695695
repeated string enabled_features = 9 [json_name = "enabledFeatures"];
696696
ActorRuntime actor_runtime = 10 [json_name = "actorRuntime"];
697-
//TODO: Cassie: probably add scheduler runtime status
697+
optional MetadataScheduler scheduler = 11 [json_name = "scheduler"];
698+
}
699+
700+
// MetadataScheduler is a message that contains the list of addresses of the
701+
// scheduler connections.
702+
message MetadataScheduler {
703+
// connected_addresses the list of addresses of the scheduler connections.
704+
repeated string connected_addresses = 1;
698705
}
699706

700707
message ActorRuntime {
@@ -1344,4 +1351,4 @@ message ConversationResponse {
13441351

13451352
// An array of results.
13461353
repeated ConversationResult outputs = 2;
1347-
}
1354+
}

0 commit comments

Comments
 (0)