dapr-ruby 0.4.5 → 1.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,122 @@ 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
55
+ # SubscribeTopicEventsAlpha1 subscribes to a PubSub topic and receives topic
56
+ # events from it.
57
+ rpc :SubscribeTopicEventsAlpha1, stream(::Dapr::Proto::Runtime::V1::SubscribeTopicEventsRequestAlpha1), stream(::Dapr::Proto::Runtime::V1::SubscribeTopicEventsResponseAlpha1)
61
58
  # Invokes binding data to specific output bindings
62
- rpc :InvokeBinding, ::Dapr::Proto::Runtime::V1::InvokeBindingRequest,
63
- ::Dapr::Proto::Runtime::V1::InvokeBindingResponse
59
+ rpc :InvokeBinding, ::Dapr::Proto::Runtime::V1::InvokeBindingRequest, ::Dapr::Proto::Runtime::V1::InvokeBindingResponse
64
60
  # Gets secrets from secret stores.
65
61
  rpc :GetSecret, ::Dapr::Proto::Runtime::V1::GetSecretRequest, ::Dapr::Proto::Runtime::V1::GetSecretResponse
66
62
  # Gets a bulk of secrets
67
- rpc :GetBulkSecret, ::Dapr::Proto::Runtime::V1::GetBulkSecretRequest,
68
- ::Dapr::Proto::Runtime::V1::GetBulkSecretResponse
63
+ rpc :GetBulkSecret, ::Dapr::Proto::Runtime::V1::GetBulkSecretRequest, ::Dapr::Proto::Runtime::V1::GetBulkSecretResponse
69
64
  # Register an actor timer.
70
65
  rpc :RegisterActorTimer, ::Dapr::Proto::Runtime::V1::RegisterActorTimerRequest, ::Google::Protobuf::Empty
71
66
  # Unregister an actor timer.
72
- rpc :UnregisterActorTimer, ::Dapr::Proto::Runtime::V1::UnregisterActorTimerRequest,
73
- ::Google::Protobuf::Empty
67
+ rpc :UnregisterActorTimer, ::Dapr::Proto::Runtime::V1::UnregisterActorTimerRequest, ::Google::Protobuf::Empty
74
68
  # Register an actor reminder.
75
- rpc :RegisterActorReminder, ::Dapr::Proto::Runtime::V1::RegisterActorReminderRequest,
76
- ::Google::Protobuf::Empty
69
+ rpc :RegisterActorReminder, ::Dapr::Proto::Runtime::V1::RegisterActorReminderRequest, ::Google::Protobuf::Empty
77
70
  # 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
71
+ rpc :UnregisterActorReminder, ::Dapr::Proto::Runtime::V1::UnregisterActorReminderRequest, ::Google::Protobuf::Empty
82
72
  # Gets the state for a specific actor.
83
- rpc :GetActorState, ::Dapr::Proto::Runtime::V1::GetActorStateRequest,
84
- ::Dapr::Proto::Runtime::V1::GetActorStateResponse
73
+ rpc :GetActorState, ::Dapr::Proto::Runtime::V1::GetActorStateRequest, ::Dapr::Proto::Runtime::V1::GetActorStateResponse
85
74
  # Executes state transactions for a specified actor
86
- rpc :ExecuteActorStateTransaction, ::Dapr::Proto::Runtime::V1::ExecuteActorStateTransactionRequest,
87
- ::Google::Protobuf::Empty
75
+ rpc :ExecuteActorStateTransaction, ::Dapr::Proto::Runtime::V1::ExecuteActorStateTransactionRequest, ::Google::Protobuf::Empty
88
76
  # InvokeActor calls a method on an actor.
89
- rpc :InvokeActor, ::Dapr::Proto::Runtime::V1::InvokeActorRequest,
90
- ::Dapr::Proto::Runtime::V1::InvokeActorResponse
77
+ rpc :InvokeActor, ::Dapr::Proto::Runtime::V1::InvokeActorRequest, ::Dapr::Proto::Runtime::V1::InvokeActorResponse
91
78
  # GetConfiguration gets configuration from configuration store.
92
- rpc :GetConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::GetConfigurationRequest,
93
- ::Dapr::Proto::Runtime::V1::GetConfigurationResponse
79
+ rpc :GetConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::GetConfigurationRequest, ::Dapr::Proto::Runtime::V1::GetConfigurationResponse
94
80
  # GetConfiguration gets configuration from configuration store.
95
- rpc :GetConfiguration, ::Dapr::Proto::Runtime::V1::GetConfigurationRequest,
96
- ::Dapr::Proto::Runtime::V1::GetConfigurationResponse
81
+ rpc :GetConfiguration, ::Dapr::Proto::Runtime::V1::GetConfigurationRequest, ::Dapr::Proto::Runtime::V1::GetConfigurationResponse
97
82
  # 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)
83
+ rpc :SubscribeConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::SubscribeConfigurationRequest, stream(::Dapr::Proto::Runtime::V1::SubscribeConfigurationResponse)
100
84
  # 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)
85
+ rpc :SubscribeConfiguration, ::Dapr::Proto::Runtime::V1::SubscribeConfigurationRequest, stream(::Dapr::Proto::Runtime::V1::SubscribeConfigurationResponse)
103
86
  # UnSubscribeConfiguration unsubscribe the subscription of configuration
104
- rpc :UnsubscribeConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationRequest,
105
- ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationResponse
87
+ rpc :UnsubscribeConfigurationAlpha1, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationRequest, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationResponse
106
88
  # UnSubscribeConfiguration unsubscribe the subscription of configuration
107
- rpc :UnsubscribeConfiguration, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationRequest,
108
- ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationResponse
89
+ rpc :UnsubscribeConfiguration, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationRequest, ::Dapr::Proto::Runtime::V1::UnsubscribeConfigurationResponse
109
90
  # TryLockAlpha1 tries to get a lock with an expiry.
110
91
  rpc :TryLockAlpha1, ::Dapr::Proto::Runtime::V1::TryLockRequest, ::Dapr::Proto::Runtime::V1::TryLockResponse
111
92
  # UnlockAlpha1 unlocks a lock.
112
93
  rpc :UnlockAlpha1, ::Dapr::Proto::Runtime::V1::UnlockRequest, ::Dapr::Proto::Runtime::V1::UnlockResponse
113
94
  # 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)
95
+ rpc :EncryptAlpha1, stream(::Dapr::Proto::Runtime::V1::EncryptRequest), stream(::Dapr::Proto::Runtime::V1::EncryptResponse)
116
96
  # 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)
97
+ rpc :DecryptAlpha1, stream(::Dapr::Proto::Runtime::V1::DecryptRequest), stream(::Dapr::Proto::Runtime::V1::DecryptResponse)
119
98
  # Gets metadata of the sidecar
120
- rpc :GetMetadata, ::Google::Protobuf::Empty, ::Dapr::Proto::Runtime::V1::GetMetadataResponse
99
+ rpc :GetMetadata, ::Dapr::Proto::Runtime::V1::GetMetadataRequest, ::Dapr::Proto::Runtime::V1::GetMetadataResponse
121
100
  # Sets value in extended metadata of the sidecar
122
101
  rpc :SetMetadata, ::Dapr::Proto::Runtime::V1::SetMetadataRequest, ::Google::Protobuf::Empty
123
102
  # 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
103
+ rpc :SubtleGetKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleGetKeyRequest, ::Dapr::Proto::Runtime::V1::SubtleGetKeyResponse
126
104
  # 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
105
+ rpc :SubtleEncryptAlpha1, ::Dapr::Proto::Runtime::V1::SubtleEncryptRequest, ::Dapr::Proto::Runtime::V1::SubtleEncryptResponse
129
106
  # 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
107
+ rpc :SubtleDecryptAlpha1, ::Dapr::Proto::Runtime::V1::SubtleDecryptRequest, ::Dapr::Proto::Runtime::V1::SubtleDecryptResponse
132
108
  # 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
109
+ rpc :SubtleWrapKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleWrapKeyRequest, ::Dapr::Proto::Runtime::V1::SubtleWrapKeyResponse
135
110
  # 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
111
+ rpc :SubtleUnwrapKeyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleUnwrapKeyRequest, ::Dapr::Proto::Runtime::V1::SubtleUnwrapKeyResponse
138
112
  # 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
113
+ rpc :SubtleSignAlpha1, ::Dapr::Proto::Runtime::V1::SubtleSignRequest, ::Dapr::Proto::Runtime::V1::SubtleSignResponse
141
114
  # 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
115
+ rpc :SubtleVerifyAlpha1, ::Dapr::Proto::Runtime::V1::SubtleVerifyRequest, ::Dapr::Proto::Runtime::V1::SubtleVerifyResponse
144
116
  # Starts a new instance of a workflow
145
- rpc :StartWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::StartWorkflowRequest,
146
- ::Dapr::Proto::Runtime::V1::StartWorkflowResponse
117
+ rpc :StartWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::StartWorkflowRequest, ::Dapr::Proto::Runtime::V1::StartWorkflowResponse
147
118
  # Gets details about a started workflow instance
148
- rpc :GetWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::GetWorkflowRequest,
149
- ::Dapr::Proto::Runtime::V1::GetWorkflowResponse
119
+ rpc :GetWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::GetWorkflowRequest, ::Dapr::Proto::Runtime::V1::GetWorkflowResponse
150
120
  # Purge Workflow
151
121
  rpc :PurgeWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::PurgeWorkflowRequest, ::Google::Protobuf::Empty
152
122
  # Terminates a running workflow instance
153
- rpc :TerminateWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::TerminateWorkflowRequest,
154
- ::Google::Protobuf::Empty
123
+ rpc :TerminateWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::TerminateWorkflowRequest, ::Google::Protobuf::Empty
155
124
  # Pauses a running workflow instance
156
125
  rpc :PauseWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::PauseWorkflowRequest, ::Google::Protobuf::Empty
157
126
  # Resumes a paused workflow instance
158
127
  rpc :ResumeWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::ResumeWorkflowRequest, ::Google::Protobuf::Empty
159
128
  # Raise an event to a running workflow instance
160
- rpc :RaiseEventWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::RaiseEventWorkflowRequest,
161
- ::Google::Protobuf::Empty
129
+ rpc :RaiseEventWorkflowAlpha1, ::Dapr::Proto::Runtime::V1::RaiseEventWorkflowRequest, ::Google::Protobuf::Empty
130
+ # Starts a new instance of a workflow
131
+ rpc :StartWorkflowBeta1, ::Dapr::Proto::Runtime::V1::StartWorkflowRequest, ::Dapr::Proto::Runtime::V1::StartWorkflowResponse
132
+ # Gets details about a started workflow instance
133
+ rpc :GetWorkflowBeta1, ::Dapr::Proto::Runtime::V1::GetWorkflowRequest, ::Dapr::Proto::Runtime::V1::GetWorkflowResponse
134
+ # Purge Workflow
135
+ rpc :PurgeWorkflowBeta1, ::Dapr::Proto::Runtime::V1::PurgeWorkflowRequest, ::Google::Protobuf::Empty
136
+ # Terminates a running workflow instance
137
+ rpc :TerminateWorkflowBeta1, ::Dapr::Proto::Runtime::V1::TerminateWorkflowRequest, ::Google::Protobuf::Empty
138
+ # Pauses a running workflow instance
139
+ rpc :PauseWorkflowBeta1, ::Dapr::Proto::Runtime::V1::PauseWorkflowRequest, ::Google::Protobuf::Empty
140
+ # Resumes a paused workflow instance
141
+ rpc :ResumeWorkflowBeta1, ::Dapr::Proto::Runtime::V1::ResumeWorkflowRequest, ::Google::Protobuf::Empty
142
+ # Raise an event to a running workflow instance
143
+ rpc :RaiseEventWorkflowBeta1, ::Dapr::Proto::Runtime::V1::RaiseEventWorkflowRequest, ::Google::Protobuf::Empty
162
144
  # Shutdown the sidecar
163
- rpc :Shutdown, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
145
+ rpc :Shutdown, ::Dapr::Proto::Runtime::V1::ShutdownRequest, ::Google::Protobuf::Empty
146
+ # Create and schedule a job
147
+ rpc :ScheduleJobAlpha1, ::Dapr::Proto::Runtime::V1::ScheduleJobRequest, ::Dapr::Proto::Runtime::V1::ScheduleJobResponse
148
+ # Gets a scheduled job
149
+ rpc :GetJobAlpha1, ::Dapr::Proto::Runtime::V1::GetJobRequest, ::Dapr::Proto::Runtime::V1::GetJobResponse
150
+ # Delete a job
151
+ rpc :DeleteJobAlpha1, ::Dapr::Proto::Runtime::V1::DeleteJobRequest, ::Dapr::Proto::Runtime::V1::DeleteJobResponse
164
152
  end
165
153
 
166
154
  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.14.4'
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.14.4
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-10-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: google-protobuf
@@ -101,14 +101,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - ">="
103
103
  - !ruby/object:Gem::Version
104
- version: '0'
104
+ version: 3.3.0
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="
108
108
  - !ruby/object:Gem::Version
109
109
  version: '0'
110
110
  requirements: []
111
- rubygems_version: 3.5.3
111
+ rubygems_version: 3.5.11
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Dapr SDK for Ruby