elasticgraph-health_check 0.18.0.4 → 0.18.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1597adf35445998720d56effe668f1be154f4ec932bd224d683a281b6f3fd17d
4
- data.tar.gz: 2ea7b4f653066e617b7254dea297284191eaee64ce6b70c4a571380aee7951f9
3
+ metadata.gz: 0d8edd9d2e099eb53e53a5b2a490c4429cabfab5a603bc6728a97f922b05714e
4
+ data.tar.gz: ea594a66db7c2496ba91a5ae9266e75184908310089a0fb93cd785b0b3a4c0e2
5
5
  SHA512:
6
- metadata.gz: 33ca32f89db93d6833e629848f89fc3f537d521b7861a1ab19f34f5ff36d6e8c8fc7a7ed13611713a98bf6ad65eae030b6fa2f01c5369136b9bdb8d493b8bd23
7
- data.tar.gz: 62cb5e75e807922dbc6002cdacf1f5ed6b55724d456e5ac905f17879a97616785d3b1783a17424deb0fd51856d458c6b9bfc494b6aa8ae4b1e30bfe3b840a55c
6
+ metadata.gz: 58e9813bc5f23a83d74398637fa16653e343fc65a34e76f5f4c972bae4767831d5bcd2644505bba97d2697d0803d53120eb8e13d64a410c21c8b9437e0bd975b
7
+ data.tar.gz: 885a73a316625abb012d45d25243199649c16c7fd9f6799120f8cdfb4cfaefa1aba74103b5d75857a3090f2c6b697aadc084b2086fe2893aa072a52e9001040c
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # frozen_string_literal: true
8
8
 
9
- require "elastic_graph/error"
9
+ require "elastic_graph/errors"
10
10
  require "elastic_graph/health_check/envoy_extension/graphql_http_endpoint_decorator"
11
11
  require "elastic_graph/health_check/health_checker"
12
12
 
@@ -25,7 +25,7 @@ module ElasticGraph
25
25
  &.dig(:http_path_segment)
26
26
 
27
27
  if http_path_segment.nil?
28
- raise ElasticGraph::ConfigSettingNotSetError, "Health check `http_path_segment` is not configured. " \
28
+ raise ElasticGraph::Errors::ConfigSettingNotSetError, "Health check `http_path_segment` is not configured. " \
29
29
  "Either set under `health_check` in YAML config or pass it along if you register the `EnvoyExtension` " \
30
30
  "via `register_graphql_extension`."
31
31
  end
@@ -6,7 +6,7 @@
6
6
  #
7
7
  # frozen_string_literal: true
8
8
 
9
- require "elastic_graph/error"
9
+ require "elastic_graph/errors"
10
10
  require "elastic_graph/health_check/config"
11
11
  require "elastic_graph/health_check/health_status"
12
12
  require "elastic_graph/support/threading"
@@ -202,7 +202,7 @@ module ElasticGraph
202
202
  "#{invalid_timestamp_fields_by_type.map { |k, v| "#{k} (#{v})" }.join(", ")}"
203
203
  end
204
204
 
205
- raise ConfigError, errors.join("\n\n") unless errors.empty?
205
+ raise Errors::ConfigError, errors.join("\n\n") unless errors.empty?
206
206
  config.with(
207
207
  data_recency_checks: normalized_data_recency_checks,
208
208
  clusters_to_consider: available_clusters_to_consider
metadata CHANGED
@@ -1,14 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-health_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0.4
4
+ version: 0.18.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
8
+ - Ben VandenBos
9
+ - Square Engineering
8
10
  autorequire:
9
11
  bindir: exe
10
12
  cert_chain: []
11
- date: 2024-09-06 00:00:00.000000000 Z
13
+ date: 2024-09-20 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
16
  name: rubocop-factory_bot
@@ -266,112 +268,112 @@ dependencies:
266
268
  requirements:
267
269
  - - '='
268
270
  - !ruby/object:Gem::Version
269
- version: 0.18.0.4
271
+ version: 0.18.0.5
270
272
  type: :runtime
271
273
  prerelease: false
272
274
  version_requirements: !ruby/object:Gem::Requirement
273
275
  requirements:
274
276
  - - '='
275
277
  - !ruby/object:Gem::Version
276
- version: 0.18.0.4
278
+ version: 0.18.0.5
277
279
  - !ruby/object:Gem::Dependency
278
280
  name: elasticgraph-graphql
279
281
  requirement: !ruby/object:Gem::Requirement
280
282
  requirements:
281
283
  - - '='
282
284
  - !ruby/object:Gem::Version
283
- version: 0.18.0.4
285
+ version: 0.18.0.5
284
286
  type: :runtime
285
287
  prerelease: false
286
288
  version_requirements: !ruby/object:Gem::Requirement
287
289
  requirements:
288
290
  - - '='
289
291
  - !ruby/object:Gem::Version
290
- version: 0.18.0.4
292
+ version: 0.18.0.5
291
293
  - !ruby/object:Gem::Dependency
292
294
  name: elasticgraph-support
293
295
  requirement: !ruby/object:Gem::Requirement
294
296
  requirements:
295
297
  - - '='
296
298
  - !ruby/object:Gem::Version
297
- version: 0.18.0.4
299
+ version: 0.18.0.5
298
300
  type: :runtime
299
301
  prerelease: false
300
302
  version_requirements: !ruby/object:Gem::Requirement
301
303
  requirements:
302
304
  - - '='
303
305
  - !ruby/object:Gem::Version
304
- version: 0.18.0.4
306
+ version: 0.18.0.5
305
307
  - !ruby/object:Gem::Dependency
306
308
  name: elasticgraph-admin
307
309
  requirement: !ruby/object:Gem::Requirement
308
310
  requirements:
309
311
  - - '='
310
312
  - !ruby/object:Gem::Version
311
- version: 0.18.0.4
313
+ version: 0.18.0.5
312
314
  type: :development
313
315
  prerelease: false
314
316
  version_requirements: !ruby/object:Gem::Requirement
315
317
  requirements:
316
318
  - - '='
317
319
  - !ruby/object:Gem::Version
318
- version: 0.18.0.4
320
+ version: 0.18.0.5
319
321
  - !ruby/object:Gem::Dependency
320
322
  name: elasticgraph-elasticsearch
321
323
  requirement: !ruby/object:Gem::Requirement
322
324
  requirements:
323
325
  - - '='
324
326
  - !ruby/object:Gem::Version
325
- version: 0.18.0.4
327
+ version: 0.18.0.5
326
328
  type: :development
327
329
  prerelease: false
328
330
  version_requirements: !ruby/object:Gem::Requirement
329
331
  requirements:
330
332
  - - '='
331
333
  - !ruby/object:Gem::Version
332
- version: 0.18.0.4
334
+ version: 0.18.0.5
333
335
  - !ruby/object:Gem::Dependency
334
336
  name: elasticgraph-indexer
335
337
  requirement: !ruby/object:Gem::Requirement
336
338
  requirements:
337
339
  - - '='
338
340
  - !ruby/object:Gem::Version
339
- version: 0.18.0.4
341
+ version: 0.18.0.5
340
342
  type: :development
341
343
  prerelease: false
342
344
  version_requirements: !ruby/object:Gem::Requirement
343
345
  requirements:
344
346
  - - '='
345
347
  - !ruby/object:Gem::Version
346
- version: 0.18.0.4
348
+ version: 0.18.0.5
347
349
  - !ruby/object:Gem::Dependency
348
350
  name: elasticgraph-opensearch
349
351
  requirement: !ruby/object:Gem::Requirement
350
352
  requirements:
351
353
  - - '='
352
354
  - !ruby/object:Gem::Version
353
- version: 0.18.0.4
355
+ version: 0.18.0.5
354
356
  type: :development
355
357
  prerelease: false
356
358
  version_requirements: !ruby/object:Gem::Requirement
357
359
  requirements:
358
360
  - - '='
359
361
  - !ruby/object:Gem::Version
360
- version: 0.18.0.4
362
+ version: 0.18.0.5
361
363
  - !ruby/object:Gem::Dependency
362
364
  name: elasticgraph-schema_definition
363
365
  requirement: !ruby/object:Gem::Requirement
364
366
  requirements:
365
367
  - - '='
366
368
  - !ruby/object:Gem::Version
367
- version: 0.18.0.4
369
+ version: 0.18.0.5
368
370
  type: :development
369
371
  prerelease: false
370
372
  version_requirements: !ruby/object:Gem::Requirement
371
373
  requirements:
372
374
  - - '='
373
375
  - !ruby/object:Gem::Version
374
- version: 0.18.0.4
376
+ version: 0.18.0.5
375
377
  description:
376
378
  email:
377
379
  - myron@squareup.com