Skip to content

Commit

Permalink
Updating to dapr runtime v1.9.0-rc.3
Browse files Browse the repository at this point in the history
Signed-off-by: Pravin Pushkar <[email protected]>
  • Loading branch information
pravinpushkar committed Oct 4, 2022
1 parent 03c3cdb commit bd935fe
Show file tree
Hide file tree
Showing 11 changed files with 1,503 additions and 482 deletions.
10 changes: 3 additions & 7 deletions dapr/proto/common/v1/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,14 @@ message StateOptions {
StateConsistency consistency = 2;
}


// ConfigurationItem represents all the configuration with its name(key).
message ConfigurationItem {
// Required. The name of configuration item
string key = 1;

// Required. The value of configuration item.
string value = 2;
string value = 1;

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

// the metadata which will be passed to/from configuration store component.
map<string,string> metadata = 4;
map<string,string> metadata = 3;
}
11 changes: 11 additions & 0 deletions dapr/proto/runtime/v1/appcallback.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ service AppCallback {
rpc OnBindingEvent(BindingEventRequest) returns (BindingEventResponse) {}
}

// AppCallbackHealthCheck V1 is an optional extension to AppCallback V1 to implement
// the HealthCheck method.
service AppCallbackHealthCheck {
// Health check.
rpc HealthCheck(google.protobuf.Empty) returns (HealthCheckResponse) {}
}

// TopicEventRequest message is compatible with CloudEvent spec v1.0
// https://github.com/cloudevents/spec/blob/v1.0/spec.md
message TopicEventRequest {
Expand Down Expand Up @@ -190,3 +197,7 @@ message ListInputBindingsResponse {
// The list of input bindings.
repeated string bindings = 1;
}

// HealthCheckResponse is the message with the response to the health check.
// This message is currently empty as used as placeholder.
message HealthCheckResponse {}
9 changes: 5 additions & 4 deletions dapr/proto/runtime/v1/dapr.proto
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ message InvokeActorRequest {
string actor_id = 2;
string method = 3;
bytes data = 4;
map<string, string> metadata = 5;
}

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

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

// The list of items containing configuration values
repeated common.v1.ConfigurationItem items = 2;
map<string, common.v1.ConfigurationItem> items = 2;
}

message UnsubscribeConfigurationResponse {
Expand Down Expand Up @@ -589,8 +590,8 @@ message UnlockRequest {
message UnlockResponse {
enum Status {
SUCCESS = 0;
LOCK_UNEXIST = 1;
LOCK_BELONG_TO_OTHERS = 2;
LOCK_DOES_NOT_EXIST = 1;
LOCK_BELONGS_TO_OTHERS = 2;
INTERNAL_ERROR = 3;
}

Expand Down
125 changes: 33 additions & 92 deletions src/dapr/proto/common/v1/common.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bd935fe

Please sign in to comment.