Skip to content

Commit

Permalink
Merge pull request #41 from berndverst/master
Browse files Browse the repository at this point in the history
Updating protos to dapr runtime v1.6.0-rc.2
  • Loading branch information
dmitsh authored Jan 19, 2022
2 parents e2ec988 + a152d10 commit 2863715
Show file tree
Hide file tree
Showing 6 changed files with 1,227 additions and 227 deletions.
45 changes: 28 additions & 17 deletions dapr/proto/runtime/v1/dapr.proto
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ service Dapr {
// Unregister an actor reminder.
rpc UnregisterActorReminder(UnregisterActorReminderRequest) returns (google.protobuf.Empty) {}

// Rename an actor reminder.
rpc RenameActorReminder(RenameActorReminderRequest) returns (google.protobuf.Empty) {}

// Gets the state for a specific actor.
rpc GetActorState(GetActorStateRequest) returns (GetActorStateResponse) {}

Expand Down Expand Up @@ -120,7 +123,7 @@ message GetStateRequest {
common.v1.StateOptions.StateConsistency consistency = 3;

// The metadata which will be sent to state store components.
map<string,string> metadata = 4;
map<string, string> metadata = 4;
}

// GetBulkStateRequest is the message to get a list of key-value states from specific state store.
Expand All @@ -135,7 +138,7 @@ message GetBulkStateRequest {
int32 parallelism = 3;

// The metadata which will be sent to state store components.
map<string,string> metadata = 4;
map<string, string> metadata = 4;
}

// GetBulkStateResponse is the response conveying the list of state values.
Expand All @@ -161,7 +164,7 @@ message BulkStateItem {
string error = 4;

// The metadata which will be sent to app.
map<string,string> metadata = 5;
map<string, string> metadata = 5;
}

// GetStateResponse is the response conveying the state value and etag.
Expand All @@ -174,7 +177,7 @@ message GetStateResponse {
string etag = 2;

// The metadata which will be sent to app.
map<string,string> metadata = 3;
map<string, string> metadata = 3;
}

// DeleteStateRequest is the message to delete key-value states in the specific state store.
Expand All @@ -194,7 +197,7 @@ message DeleteStateRequest {
common.v1.StateOptions options = 4;

// The metadata which will be sent to state store components.
map<string,string> metadata = 5;
map<string, string> metadata = 5;
}

// DeleteBulkStateRequest is the message to delete a list of key-value states from specific state store.
Expand Down Expand Up @@ -224,7 +227,7 @@ message QueryStateRequest {
string query = 2;

// The metadata which will be sent to state store components.
map<string,string> metadata = 3;
map<string, string> metadata = 3;
}

message QueryStateItem {
Expand All @@ -251,7 +254,7 @@ message QueryStateResponse {
string token = 2;

// The metadata which will be sent to app.
map<string,string> metadata = 3;
map<string, string> metadata = 3;
}

// PublishEventRequest is the message to publish event data to pubsub topic
Expand All @@ -272,7 +275,7 @@ message PublishEventRequest {
//
// metadata property:
// - key : the key of the message.
map<string,string> metadata = 5;
map<string, string> metadata = 5;
}

// InvokeBindingRequest is the message to send data to output bindings
Expand All @@ -290,7 +293,7 @@ message InvokeBindingRequest {
// If set in the binding definition will cause all messages to
// have a default time to live. The message ttl overrides any value
// in the binding definition.
map<string,string> metadata = 3;
map<string, string> metadata = 3;

// The name of the operation type for the binding to invoke
string operation = 4;
Expand All @@ -302,7 +305,7 @@ message InvokeBindingResponse {
bytes data = 1;

// The metadata returned from an external system
map<string,string> metadata = 2;
map<string, string> metadata = 2;
}

// GetSecretRequest is the message to get secret from secret store.
Expand All @@ -314,7 +317,7 @@ message GetSecretRequest {
string key = 2;

// The metadata which will be sent to secret store components.
map<string,string> metadata = 3;
map<string, string> metadata = 3;
}

// GetSecretResponse is the response message to convey the requested secret.
Expand All @@ -330,7 +333,7 @@ message GetBulkSecretRequest {
string store_name = 1;

// The metadata which will be sent to secret store components.
map<string,string> metadata = 2;
map<string, string> metadata = 2;
}

// SecretResponse is a map of decrypted string/string values
Expand Down Expand Up @@ -363,7 +366,7 @@ message ExecuteStateTransactionRequest {
repeated TransactionalStateOperation operations = 2;

// The metadata used for transactional operations.
map<string,string> metadata = 3;
map<string, string> metadata = 3;
}

// RegisterActorTimerRequest is the message to register a timer for an actor of a given type and id.
Expand Down Expand Up @@ -403,6 +406,14 @@ message UnregisterActorReminderRequest {
string name = 3;
}

// RenameActorReminderRequest is the message to rename an actor reminder.
message RenameActorReminderRequest {
string actor_type = 1;
string actor_id = 2;
string old_name = 3;
string new_name = 4;
}

// GetActorStateRequest is the message to get key-value states from specific actor.
message GetActorStateRequest {
string actor_type = 1;
Expand All @@ -422,7 +433,7 @@ message ExecuteActorStateTransactionRequest {
repeated TransactionalActorStateOperation operations = 3;
}

// TransactionalAcorStateOperation is the message to execute a specified operation with a key-value pair.
// TransactionalActorStateOperation is the message to execute a specified operation with a key-value pair.
message TransactionalActorStateOperation {
string operationType = 1;
string key = 2;
Expand All @@ -447,7 +458,7 @@ message GetMetadataResponse {
string id = 1;
repeated ActiveActorsCount active_actors_count = 2;
repeated RegisteredComponents registered_components = 3;
map<string,string> extended_metadata = 4;
map<string, string> extended_metadata = 4;
}

message ActiveActorsCount {
Expand Down Expand Up @@ -477,7 +488,7 @@ message GetConfigurationRequest {
repeated string keys = 2;

// Optional. The metadata which will be sent to configuration store components.
map<string,string> metadata = 3;
map<string, string> metadata = 3;
}

// GetConfigurationResponse is the response conveying the list of configuration values.
Expand All @@ -497,7 +508,7 @@ message SubscribeConfigurationRequest {
repeated string keys = 2;

// The metadata which will be sent to configuration store components.
map<string,string> metadata = 3;
map<string, string> metadata = 3;
}

message SubscribeConfigurationResponse {
Expand Down
14 changes: 13 additions & 1 deletion src/dapr/proto/runtime/v1/appcallback.grpc.pb.h

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

60 changes: 45 additions & 15 deletions src/dapr/proto/runtime/v1/dapr.grpc.pb.cc

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

Loading

0 comments on commit 2863715

Please sign in to comment.