dapr-ruby 0.4.5 → 1.13.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
4
2
  # Source: dapr/proto/runtime/v1/dapr.proto for package 'dapr.proto.runtime.v1'
5
3
  # Original file comments:
@@ -26,6 +24,7 @@ module Dapr
26
24
  module Dapr
27
25
  # Dapr service provides APIs to user application to access Dapr building blocks.
28
26
  class Service
27
+
29
28
  include ::GRPC::GenericService
30
29
 
31
30
  self.marshal_class_method = :encode
@@ -34,133 +33,113 @@ module Dapr
34
33
 
35
34
  # Invokes a method on a remote Dapr app.
36
35
  # Deprecated: Use proxy mode service invocation instead.
37
- rpc :InvokeService, ::Dapr::Proto::Runtime::V1::InvokeServiceRequest,
38
- ::Dapr::Proto::Common::V1::InvokeResponse
36
+ rpc :InvokeService, ::Dapr::Proto::Runtime::V1::InvokeServiceRequest, ::Dapr::Proto::Common::V1::InvokeResponse
39
37
  # Gets the state for a specific key.
40
38
  rpc :GetState, ::Dapr::Proto::Runtime::V1::GetStateRequest, ::Dapr::Proto::Runtime::V1::GetStateResponse
41
39
  # Gets a bulk of state items for a list of keys
42
- rpc :GetBulkState, ::Dapr::Proto::Runtime::V1::GetBulkStateRequest,
43
- ::Dapr::Proto::Runtime::V1::GetBulkStateResponse
40
+ rpc :GetBulkState, ::Dapr::Proto::Runtime::V1::GetBulkStateRequest, ::Dapr::Proto::Runtime::V1::GetBulkStateResponse
44
41
  # Saves the state for a specific key.
45
42
  rpc :SaveState, ::Dapr::Proto::Runtime::V1::SaveStateRequest, ::Google::Protobuf::Empty
46
43
  # Queries the state.
47
- rpc :QueryStateAlpha1, ::Dapr::Proto::Runtime::V1::QueryStateRequest,
48
- ::Dapr::Proto::Runtime::V1::QueryStateResponse
44
+ rpc :QueryStateAlpha1, ::Dapr::Proto::Runtime::V1::QueryStateRequest, ::Dapr::Proto::Runtime::V1::QueryStateResponse
49
45
  # Deletes the state for a specific key.
50
46
  rpc :DeleteState, ::Dapr::Proto::Runtime::V1::DeleteStateRequest, ::Google::Protobuf::Empty
51
47
  # Deletes a bulk of state items for a list of keys
52
48
  rpc :DeleteBulkState, ::Dapr::Proto::Runtime::V1::DeleteBulkStateRequest, ::Google::Protobuf::Empty
53
49
  # Executes transactions for a specified store
54
- rpc :ExecuteStateTransaction, ::Dapr::Proto::Runtime::V1::ExecuteStateTransactionRequest,
55
- ::Google::Protobuf::Empty
50
+ rpc :ExecuteStateTransaction, ::Dapr::Proto::Runtime::V1::ExecuteStateTransactionRequest, ::Google::Protobuf::Empty
56
51
  # Publishes events to the specific topic.
57
52
  rpc :PublishEvent, ::Dapr::Proto::Runtime::V1::PublishEventRequest, ::Google::Protobuf::Empty
58
53
  # Bulk Publishes multiple events to the specified topic.
59
- rpc :BulkPublishEventAlpha1, ::Dapr::Proto::Runtime::V1::BulkPublishRequest,
60
- ::Dapr::Proto::Runtime::V1::BulkPublishResponse
54
+ rpc :BulkPublishEventAlpha1, ::Dapr::Proto::Runtime::V1::BulkPublishRequest, ::Dapr::Proto::Runtime::V1::BulkPublishResponse
61
55
  # Invokes binding data to specific output bindings
62
- rpc :InvokeBinding, ::Dapr::Proto::Runtime::V1::InvokeBindingRequest,
63
- ::Dapr::Proto::Runtime::V1::InvokeBindingResponse
56
+ rpc :InvokeBinding, ::Dapr::Proto::Runtime::V1::InvokeBindingRequest, ::Dapr::Proto::Runtime::V1::InvokeBindingResponse
64
57
  # Gets secrets from secret stores.
65
58
  rpc :GetSecret, ::Dapr::Proto::Runtime::V1::GetSecretRequest, ::Dapr::Proto::Runtime::V1::GetSecretResponse
66
59
  # Gets a bulk of secrets
67
- rpc :GetBulkSecret, ::Dapr::Proto::Runtime::V1::GetBulkSecretRequest,
68
- ::Dapr::Proto::Runtime::V1::GetBulkSecretResponse
60
+ rpc :GetBulkSecret, ::Dapr::Proto::Runtime::V1::GetBulkSecretRequest, ::Dapr::Proto::Runtime::V1::GetBulkSecretResponse
69
61
  # Register an actor timer.
70
62
  rpc :RegisterActorTimer, ::Dapr::Proto::Runtime::V1::RegisterActorTimerRequest, ::Google::Protobuf::Empty
71
63
  # Unregister an actor timer.
72
- rpc :UnregisterActorTimer, ::Dapr::Proto::Runtime::V1::UnregisterActorTimerRequest,
73
- ::Google::Protobuf::Empty
64
+ rpc :UnregisterActorTimer, ::Dapr::Proto::Runtime::V1::UnregisterActorTimerRequest, ::Google::Protobuf::Empty
74
65
  # Register an actor reminder.
75
- rpc :RegisterActorReminder, ::Dapr::Proto::Runtime::V1::RegisterActorReminderRequest,
76
- ::Google::Protobuf::Empty
66
+ rpc :RegisterActorReminder, ::Dapr::Proto::Runtime::V1::RegisterActorReminderRequest, ::Google::Protobuf::Empty
77
67
  # Unregister an actor reminder.
78
- rpc :UnregisterActorReminder, ::Dapr::Proto::Runtime::V1::UnregisterActorReminderRequest,
79
- ::Google::Protobuf::Empty
80
- # Rename an actor reminder.
81
- rpc :RenameActorReminder, ::Dapr::Proto::Runtime::V1::RenameActorReminderRequest, ::Google::Protobuf::Empty
68
+ rpc :UnregisterActorReminder, ::Dapr::Proto::Runtime::V1::UnregisterActorReminderRequest, ::Google::Protobuf::Empty
82
69
  # Gets the state for a specific actor.
83
- rpc :GetActorState, ::Dapr::Proto::Runtime::V1::GetActorStateRequest,
84
- ::Dapr::Proto::Runtime::V1::GetActorStateResponse
70
+ rpc :GetActorState, ::Dapr::Proto::Runtime::V1::GetActorStateRequest, ::Dapr::Proto::Runtime::V1::GetActorStateResponse
85
71
  # Executes state transactions for a specified actor
86
- rpc :ExecuteActorStateTransaction, ::Dapr::Proto::Runtime::V1::ExecuteActorStateTransactionRequest,
87
- ::Google::Protobuf::Empty
72
+ rpc :ExecuteActorStateTransaction, ::Dapr::Proto::Runtime::V1::ExecuteActorStateTransactionRequest, ::Google::Protobuf::Empty
88
73
  # InvokeActor calls a method on an actor.
89
- rpc :InvokeActor, ::Dapr::Proto::Runtime::V1::InvokeActorRequest,
90
- ::Dapr::Proto::Runtime::V1::InvokeActorResponse
74
+ rpc :InvokeActor, ::Dapr::Proto::Runtime::V1::InvokeActorRequest, ::Dapr::Proto::Runtime::V1::InvokeActorResponse
91
75
  # GetConfiguration gets configuration from configuration store.
92
- rpc :GetConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::GetConfigurationRequest,
93
- ::Dapr::Proto::Runtime::V1::GetConfigurationResponse
76
+ rpc :GetConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::GetConfigurationRequest, ::Dapr::Proto::Runtime::V1::GetConfigurationResponse
94
77
  # GetConfiguration gets configuration from configuration store.
95
- rpc :GetConfiguration, ::Dapr::Proto::Runtime::V1::GetConfigurationRequest,
96
- ::Dapr::Proto::Runtime::V1::GetConfigurationResponse
78
+ rpc :GetConfiguration, ::Dapr::Proto::Runtime::V1::GetConfigurationRequest, ::Dapr::Proto::Runtime::V1::GetConfigurationResponse
97
79
  # SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
98
- rpc :SubscribeConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::SubscribeConfigurationRequest,
99
- stream(::Dapr::Proto::Runtime::V1::SubscribeConfigurationResponse)
80
+ rpc :SubscribeConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::SubscribeConfigurationRequest, stream(::Dapr::Proto::Runtime::V1::SubscribeConfigurationResponse)
100
81
  # SubscribeConfiguration gets configuration from configuration store and subscribe the updates event by grpc stream
101
- rpc :SubscribeConfiguration, ::Dapr::Proto::Runtime::V1::SubscribeConfigurationRequest,
102
- stream(::Dapr::Proto::Runtime::V1::SubscribeConfigurationResponse)
82
+ rpc :SubscribeConfiguration, ::Dapr::Proto::Runtime::V1::SubscribeConfigurationRequest, stream(::Dapr::Proto::Runtime::V1::SubscribeConfigurationResponse)
103
83
  # UnSubscribeConfiguration unsubscribe the subscription of configuration
104
- rpc :UnsubscribeConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationRequest,
105
- ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationResponse
84
+ rpc :UnsubscribeConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationRequest, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationResponse
106
85
  # UnSubscribeConfiguration unsubscribe the subscription of configuration
107
- rpc :UnsubscribeConfiguration, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationRequest,
108
- ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationResponse
86
+ rpc :UnsubscribeConfiguration, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationRequest, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationResponse
109
87
  # TryLockAlpha1 tries to get a lock with an expiry.
110
88
  rpc :TryLockAlpha1, ::Dapr::Proto::Runtime::V1::TryLockRequest, ::Dapr::Proto::Runtime::V1::TryLockResponse
111
89
  # UnlockAlpha1 unlocks a lock.
112
90
  rpc :UnlockAlpha1, ::Dapr::Proto::Runtime::V1::UnlockRequest, ::Dapr::Proto::Runtime::V1::UnlockResponse
113
91
  # EncryptAlpha1 encrypts a message using the Dapr encryption scheme and a key stored in the vault.
114
- rpc :EncryptAlpha1, stream(::Dapr::Proto::Runtime::V1::EncryptRequest),
115
- stream(::Dapr::Proto::Runtime::V1::EncryptResponse)
92
+ rpc :EncryptAlpha1, stream(::Dapr::Proto::Runtime::V1::EncryptRequest), stream(::Dapr::Proto::Runtime::V1::EncryptResponse)
116
93
  # DecryptAlpha1 decrypts a message using the Dapr encryption scheme and a key stored in the vault.
117
- rpc :DecryptAlpha1, stream(::Dapr::Proto::Runtime::V1::DecryptRequest),
118
- stream(::Dapr::Proto::Runtime::V1::DecryptResponse)
94
+ rpc :DecryptAlpha1, stream(::Dapr::Proto::Runtime::V1::DecryptRequest), stream(::Dapr::Proto::Runtime::V1::DecryptResponse)
119
95
  # Gets metadata of the sidecar
120
- rpc :GetMetadata, ::Google::Protobuf::Empty, ::Dapr::Proto::Runtime::V1::GetMetadataResponse
96
+ rpc :GetMetadata, ::Dapr::Proto::Runtime::V1::GetMetadataRequest, ::Dapr::Proto::Runtime::V1::GetMetadataResponse
121
97
  # Sets value in extended metadata of the sidecar
122
98
  rpc :SetMetadata, ::Dapr::Proto::Runtime::V1::SetMetadataRequest, ::Google::Protobuf::Empty
123
99
  # SubtleGetKeyAlpha1 returns the public part of an asymmetric key stored in the vault.
124
- rpc :SubtleGetKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleGetKeyRequest,
125
- ::Dapr::Proto::Runtime::V1::SubtleGetKeyResponse
100
+ rpc :SubtleGetKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleGetKeyRequest, ::Dapr::Proto::Runtime::V1::SubtleGetKeyResponse
126
101
  # SubtleEncryptAlpha1 encrypts a small message using a key stored in the vault.
127
- rpc :SubtleEncryptAlpha1, ::Dapr::Proto::Runtime::V1::SubtleEncryptRequest,
128
- ::Dapr::Proto::Runtime::V1::SubtleEncryptResponse
102
+ rpc :SubtleEncryptAlpha1, ::Dapr::Proto::Runtime::V1::SubtleEncryptRequest, ::Dapr::Proto::Runtime::V1::SubtleEncryptResponse
129
103
  # SubtleDecryptAlpha1 decrypts a small message using a key stored in the vault.
130
- rpc :SubtleDecryptAlpha1, ::Dapr::Proto::Runtime::V1::SubtleDecryptRequest,
131
- ::Dapr::Proto::Runtime::V1::SubtleDecryptResponse
104
+ rpc :SubtleDecryptAlpha1, ::Dapr::Proto::Runtime::V1::SubtleDecryptRequest, ::Dapr::Proto::Runtime::V1::SubtleDecryptResponse
132
105
  # SubtleWrapKeyAlpha1 wraps a key using a key stored in the vault.
133
- rpc :SubtleWrapKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleWrapKeyRequest,
134
- ::Dapr::Proto::Runtime::V1::SubtleWrapKeyResponse
106
+ rpc :SubtleWrapKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleWrapKeyRequest, ::Dapr::Proto::Runtime::V1::SubtleWrapKeyResponse
135
107
  # SubtleUnwrapKeyAlpha1 unwraps a key using a key stored in the vault.
136
- rpc :SubtleUnwrapKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleUnwrapKeyRequest,
137
- ::Dapr::Proto::Runtime::V1::SubtleUnwrapKeyResponse
108
+ rpc :SubtleUnwrapKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleUnwrapKeyRequest, ::Dapr::Proto::Runtime::V1::SubtleUnwrapKeyResponse
138
109
  # SubtleSignAlpha1 signs a message using a key stored in the vault.
139
- rpc :SubtleSignAlpha1, ::Dapr::Proto::Runtime::V1::SubtleSignRequest,
140
- ::Dapr::Proto::Runtime::V1::SubtleSignResponse
110
+ rpc :SubtleSignAlpha1, ::Dapr::Proto::Runtime::V1::SubtleSignRequest, ::Dapr::Proto::Runtime::V1::SubtleSignResponse
141
111
  # SubtleVerifyAlpha1 verifies the signature of a message using a key stored in the vault.
142
- rpc :SubtleVerifyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleVerifyRequest,
143
- ::Dapr::Proto::Runtime::V1::SubtleVerifyResponse
112
+ rpc :SubtleVerifyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleVerifyRequest, ::Dapr::Proto::Runtime::V1::SubtleVerifyResponse
144
113
  # Starts a new instance of a workflow
145
- rpc :StartWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::StartWorkflowRequest,
146
- ::Dapr::Proto::Runtime::V1::StartWorkflowResponse
114
+ rpc :StartWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::StartWorkflowRequest, ::Dapr::Proto::Runtime::V1::StartWorkflowResponse
147
115
  # Gets details about a started workflow instance
148
- rpc :GetWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::GetWorkflowRequest,
149
- ::Dapr::Proto::Runtime::V1::GetWorkflowResponse
116
+ rpc :GetWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::GetWorkflowRequest, ::Dapr::Proto::Runtime::V1::GetWorkflowResponse
150
117
  # Purge Workflow
151
118
  rpc :PurgeWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::PurgeWorkflowRequest, ::Google::Protobuf::Empty
152
119
  # Terminates a running workflow instance
153
- rpc :TerminateWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::TerminateWorkflowRequest,
154
- ::Google::Protobuf::Empty
120
+ rpc :TerminateWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::TerminateWorkflowRequest, ::Google::Protobuf::Empty
155
121
  # Pauses a running workflow instance
156
122
  rpc :PauseWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::PauseWorkflowRequest, ::Google::Protobuf::Empty
157
123
  # Resumes a paused workflow instance
158
124
  rpc :ResumeWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::ResumeWorkflowRequest, ::Google::Protobuf::Empty
159
125
  # Raise an event to a running workflow instance
160
- rpc :RaiseEventWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::RaiseEventWorkflowRequest,
161
- ::Google::Protobuf::Empty
126
+ rpc :RaiseEventWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::RaiseEventWorkflowRequest, ::Google::Protobuf::Empty
127
+ # Starts a new instance of a workflow
128
+ rpc :StartWorkflowBeta1, ::Dapr::Proto::Runtime::V1::StartWorkflowRequest, ::Dapr::Proto::Runtime::V1::StartWorkflowResponse
129
+ # Gets details about a started workflow instance
130
+ rpc :GetWorkflowBeta1, ::Dapr::Proto::Runtime::V1::GetWorkflowRequest, ::Dapr::Proto::Runtime::V1::GetWorkflowResponse
131
+ # Purge Workflow
132
+ rpc :PurgeWorkflowBeta1, ::Dapr::Proto::Runtime::V1::PurgeWorkflowRequest, ::Google::Protobuf::Empty
133
+ # Terminates a running workflow instance
134
+ rpc :TerminateWorkflowBeta1, ::Dapr::Proto::Runtime::V1::TerminateWorkflowRequest, ::Google::Protobuf::Empty
135
+ # Pauses a running workflow instance
136
+ rpc :PauseWorkflowBeta1, ::Dapr::Proto::Runtime::V1::PauseWorkflowRequest, ::Google::Protobuf::Empty
137
+ # Resumes a paused workflow instance
138
+ rpc :ResumeWorkflowBeta1, ::Dapr::Proto::Runtime::V1::ResumeWorkflowRequest, ::Google::Protobuf::Empty
139
+ # Raise an event to a running workflow instance
140
+ rpc :RaiseEventWorkflowBeta1, ::Dapr::Proto::Runtime::V1::RaiseEventWorkflowRequest, ::Google::Protobuf::Empty
162
141
  # Shutdown the sidecar
163
- rpc :Shutdown, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
142
+ rpc :Shutdown, ::Dapr::Proto::Runtime::V1::ShutdownRequest, ::Google::Protobuf::Empty
164
143
  end
165
144
 
166
145
  Stub = Service.rpc_stub_class
data/lib/dapr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dapr
4
- VERSION = '0.4.5'
4
+ VERSION = '1.13.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapr-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 1.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - tjwp
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2024-05-02 00:00:00.000000000 Z
12
+ date: 2024-05-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-protobuf