elasticgraph-indexer_autoscaler_lambda 0.18.0.0 → 0.18.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elastic_graph/indexer_autoscaler_lambda/concurrency_scaler.rb +1 -0
- data/lib/elastic_graph/indexer_autoscaler_lambda/details_logger.rb +1 -0
- data/lib/elastic_graph/indexer_autoscaler_lambda/lambda_function.rb +2 -1
- data/lib/elastic_graph/indexer_autoscaler_lambda.rb +1 -0
- metadata +32 -38
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77864efdfe91f1b1c1ed87d325cfe242f218830e445256e36d02c304c36cfa92
|
4
|
+
data.tar.gz: 11f79de21b0414a9a702ec1a2d837daa14ec9c83422abcf1e7c5d3ad95a0c7e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73cd12edf761bc6d77ef4ca869746a1b0e827607db778502032c95a196243ad92878d8d83c3698e443a7112e75f2e991d798b315141937b1bbfe76e07d5779c2
|
7
|
+
data.tar.gz: 19d81a1d54e525ed6ff3f9efbfd122b007cf31837997f729998cb7a8e11a38e15614fb8f397b60b9b502e3f2fe86ccd94adbba854d664510fda89a4a94fcb0a0
|
@@ -10,6 +10,7 @@ require "elastic_graph/indexer_autoscaler_lambda/details_logger"
|
|
10
10
|
|
11
11
|
module ElasticGraph
|
12
12
|
class IndexerAutoscalerLambda
|
13
|
+
# @private
|
13
14
|
class ConcurrencyScaler
|
14
15
|
def initialize(datastore_core:, sqs_client:, lambda_client:)
|
15
16
|
@logger = datastore_core.logger
|
@@ -10,6 +10,7 @@ require "elastic_graph/lambda_support/lambda_function"
|
|
10
10
|
|
11
11
|
module ElasticGraph
|
12
12
|
class IndexerAutoscalerLambda
|
13
|
+
# @private
|
13
14
|
class LambdaFunction
|
14
15
|
prepend LambdaSupport::LambdaFunction
|
15
16
|
|
@@ -31,5 +32,5 @@ module ElasticGraph
|
|
31
32
|
end
|
32
33
|
end
|
33
34
|
|
34
|
-
#
|
35
|
+
# Lambda handler for `elasticgraph-indexer_autoscaler_lambda`.
|
35
36
|
AutoscaleIndexer = ElasticGraph::IndexerAutoscalerLambda::LambdaFunction.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticgraph-indexer_autoscaler_lambda
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.0.
|
4
|
+
version: 0.18.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Myron Marston
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop-factory_bot
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.40.0
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.40.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: steep
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,22 +98,22 @@ dependencies:
|
|
98
98
|
name: flatware-rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.3
|
104
|
-
- - "
|
103
|
+
version: '2.3'
|
104
|
+
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version:
|
106
|
+
version: 2.3.3
|
107
107
|
type: :development
|
108
108
|
prerelease: false
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- - "
|
111
|
+
- - "~>"
|
112
112
|
- !ruby/object:Gem::Version
|
113
|
-
version: 2.3
|
114
|
-
- - "
|
113
|
+
version: '2.3'
|
114
|
+
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
116
|
+
version: 2.3.3
|
117
117
|
- !ruby/object:Gem::Dependency
|
118
118
|
name: rspec
|
119
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,16 +132,16 @@ dependencies:
|
|
132
132
|
name: super_diff
|
133
133
|
requirement: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - "
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.12
|
137
|
+
version: '0.12'
|
138
138
|
type: :development
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- - "
|
142
|
+
- - "~>"
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 0.12
|
144
|
+
version: '0.12'
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: simplecov
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|
@@ -160,64 +160,58 @@ dependencies:
|
|
160
160
|
name: simplecov-console
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
|
-
- - "
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: 0.9.1
|
166
|
-
- - "<"
|
163
|
+
- - "~>"
|
167
164
|
- !ruby/object:Gem::Version
|
168
|
-
version: '
|
165
|
+
version: '0.9'
|
169
166
|
type: :development
|
170
167
|
prerelease: false
|
171
168
|
version_requirements: !ruby/object:Gem::Requirement
|
172
169
|
requirements:
|
173
|
-
- - "
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
version: 0.9.1
|
176
|
-
- - "<"
|
170
|
+
- - "~>"
|
177
171
|
- !ruby/object:Gem::Version
|
178
|
-
version: '
|
172
|
+
version: '0.9'
|
179
173
|
- !ruby/object:Gem::Dependency
|
180
174
|
name: aws_lambda_ric
|
181
175
|
requirement: !ruby/object:Gem::Requirement
|
182
176
|
requirements:
|
183
|
-
- - "
|
177
|
+
- - "~>"
|
184
178
|
- !ruby/object:Gem::Version
|
185
|
-
version: 2.0
|
179
|
+
version: '2.0'
|
186
180
|
type: :development
|
187
181
|
prerelease: false
|
188
182
|
version_requirements: !ruby/object:Gem::Requirement
|
189
183
|
requirements:
|
190
|
-
- - "
|
184
|
+
- - "~>"
|
191
185
|
- !ruby/object:Gem::Version
|
192
|
-
version: 2.0
|
186
|
+
version: '2.0'
|
193
187
|
- !ruby/object:Gem::Dependency
|
194
188
|
name: elasticgraph-datastore_core
|
195
189
|
requirement: !ruby/object:Gem::Requirement
|
196
190
|
requirements:
|
197
191
|
- - '='
|
198
192
|
- !ruby/object:Gem::Version
|
199
|
-
version: 0.18.0.
|
193
|
+
version: 0.18.0.2
|
200
194
|
type: :runtime
|
201
195
|
prerelease: false
|
202
196
|
version_requirements: !ruby/object:Gem::Requirement
|
203
197
|
requirements:
|
204
198
|
- - '='
|
205
199
|
- !ruby/object:Gem::Version
|
206
|
-
version: 0.18.0.
|
200
|
+
version: 0.18.0.2
|
207
201
|
- !ruby/object:Gem::Dependency
|
208
202
|
name: elasticgraph-lambda_support
|
209
203
|
requirement: !ruby/object:Gem::Requirement
|
210
204
|
requirements:
|
211
205
|
- - '='
|
212
206
|
- !ruby/object:Gem::Version
|
213
|
-
version: 0.18.0.
|
207
|
+
version: 0.18.0.2
|
214
208
|
type: :runtime
|
215
209
|
prerelease: false
|
216
210
|
version_requirements: !ruby/object:Gem::Requirement
|
217
211
|
requirements:
|
218
212
|
- - '='
|
219
213
|
- !ruby/object:Gem::Version
|
220
|
-
version: 0.18.0.
|
214
|
+
version: 0.18.0.2
|
221
215
|
- !ruby/object:Gem::Dependency
|
222
216
|
name: aws-sdk-lambda
|
223
217
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,28 +260,28 @@ dependencies:
|
|
266
260
|
requirements:
|
267
261
|
- - '='
|
268
262
|
- !ruby/object:Gem::Version
|
269
|
-
version: 0.18.0.
|
263
|
+
version: 0.18.0.2
|
270
264
|
type: :development
|
271
265
|
prerelease: false
|
272
266
|
version_requirements: !ruby/object:Gem::Requirement
|
273
267
|
requirements:
|
274
268
|
- - '='
|
275
269
|
- !ruby/object:Gem::Version
|
276
|
-
version: 0.18.0.
|
270
|
+
version: 0.18.0.2
|
277
271
|
- !ruby/object:Gem::Dependency
|
278
272
|
name: elasticgraph-opensearch
|
279
273
|
requirement: !ruby/object:Gem::Requirement
|
280
274
|
requirements:
|
281
275
|
- - '='
|
282
276
|
- !ruby/object:Gem::Version
|
283
|
-
version: 0.18.0.
|
277
|
+
version: 0.18.0.2
|
284
278
|
type: :development
|
285
279
|
prerelease: false
|
286
280
|
version_requirements: !ruby/object:Gem::Requirement
|
287
281
|
requirements:
|
288
282
|
- - '='
|
289
283
|
- !ruby/object:Gem::Version
|
290
|
-
version: 0.18.0.
|
284
|
+
version: 0.18.0.2
|
291
285
|
description:
|
292
286
|
email:
|
293
287
|
- myron@squareup.com
|