Skip to content

Commit b9a0a10

Browse files
authored
Merge pull request #47 from pravinpushkar/master
Updating to dapr runtime v1.9.0-rc.3
2 parents 03c3cdb + bd935fe commit b9a0a10

File tree

11 files changed

+1503
-482
lines changed

11 files changed

+1503
-482
lines changed

dapr/proto/common/v1/common.proto

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,18 +134,14 @@ message StateOptions {
134134
StateConsistency consistency = 2;
135135
}
136136

137-
138137
// ConfigurationItem represents all the configuration with its name(key).
139138
message ConfigurationItem {
140-
// Required. The name of configuration item
141-
string key = 1;
142-
143139
// Required. The value of configuration item.
144-
string value = 2;
140+
string value = 1;
145141

146142
// Version is response only and cannot be fetched. Store is not expected to keep all versions available
147-
string version = 3;
143+
string version = 2;
148144

149145
// the metadata which will be passed to/from configuration store component.
150-
map<string,string> metadata = 4;
146+
map<string,string> metadata = 3;
151147
}

dapr/proto/runtime/v1/appcallback.proto

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ service AppCallback {
4646
rpc OnBindingEvent(BindingEventRequest) returns (BindingEventResponse) {}
4747
}
4848

49+
// AppCallbackHealthCheck V1 is an optional extension to AppCallback V1 to implement
50+
// the HealthCheck method.
51+
service AppCallbackHealthCheck {
52+
// Health check.
53+
rpc HealthCheck(google.protobuf.Empty) returns (HealthCheckResponse) {}
54+
}
55+
4956
// TopicEventRequest message is compatible with CloudEvent spec v1.0
5057
// https://github.com/cloudevents/spec/blob/v1.0/spec.md
5158
message TopicEventRequest {
@@ -190,3 +197,7 @@ message ListInputBindingsResponse {
190197
// The list of input bindings.
191198
repeated string bindings = 1;
192199
}
200+
201+
// HealthCheckResponse is the message with the response to the health check.
202+
// This message is currently empty as used as placeholder.
203+
message HealthCheckResponse {}

dapr/proto/runtime/v1/dapr.proto

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ message InvokeActorRequest {
455455
string actor_id = 2;
456456
string method = 3;
457457
bytes data = 4;
458+
map<string, string> metadata = 5;
458459
}
459460

460461
// InvokeActorResponse is the method that returns an actor invocation response.
@@ -504,7 +505,7 @@ message GetConfigurationRequest {
504505
// GetConfigurationResponse is the response conveying the list of configuration values.
505506
// It should be the FULL configuration of specified application which contains all of its configuration items.
506507
message GetConfigurationResponse {
507-
repeated common.v1.ConfigurationItem items = 1;
508+
map<string, common.v1.ConfigurationItem> items = 1;
508509
}
509510

510511
// SubscribeConfigurationRequest is the message to get a list of key-value configuration from specified configuration store.
@@ -535,7 +536,7 @@ message SubscribeConfigurationResponse {
535536
string id = 1;
536537

537538
// The list of items containing configuration values
538-
repeated common.v1.ConfigurationItem items = 2;
539+
map<string, common.v1.ConfigurationItem> items = 2;
539540
}
540541

541542
message UnsubscribeConfigurationResponse {
@@ -589,8 +590,8 @@ message UnlockRequest {
589590
message UnlockResponse {
590591
enum Status {
591592
SUCCESS = 0;
592-
LOCK_UNEXIST = 1;
593-
LOCK_BELONG_TO_OTHERS = 2;
593+
LOCK_DOES_NOT_EXIST = 1;
594+
LOCK_BELONGS_TO_OTHERS = 2;
594595
INTERNAL_ERROR = 3;
595596
}
596597

src/dapr/proto/common/v1/common.pb.cc

Lines changed: 33 additions & 92 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)