elasticgraph-health_check 1.0.1 → 1.0.3.rc1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c745b703ae5f69a79db84741b912eb0113edf50164a2cf939dc737b42ff8f40b
4
- data.tar.gz: 3a5b721cae159a75bb29a86bcaaf2649f372ea1b7866c74e48431475ea6481d7
3
+ metadata.gz: bac1090084351bae5ccdd6efe6854527d92b2e489e4dcf2b2bf39e9cf31c5345
4
+ data.tar.gz: 807d9181a85371f7d78aa5c930df0723db6e695016e0db465ce39a854014acde
5
5
  SHA512:
6
- metadata.gz: 456184d3ef41a91c6291edc745c93ec4b972a4802e8f0eba0ff64a1e5891641d8f2a45b742bee4c777fa3be1f2397d708f51b4b6c133c018385e888f2976c43e
7
- data.tar.gz: 03a2c9179d38d9db02b4222d56925ebfd748d9a097fc5beaa2fe9b93846936def5e82b5af9f7df6ab5ab7ae9de4027077aa217baebbe0e3c046c6a8c1b72b565
6
+ metadata.gz: 133c8b3c1feb4c99ce0d1d2f29780a3698473c125cf6db37e807c44824249e21c9a42e4d1fe8e23b3da4c035cf7557127cec85e2481eb099f68c0a02295fbdb7
7
+ data.tar.gz: de48c504f8a3b4e52f7411ce19d20abd778759e82a350edc2604dcf40bea4604fa5b18e46d90a3457d5153c2b546de848b395972de92991100fcfeeaee670476
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2024 - 2025 Block, Inc.
3
+ Copyright (c) 2024 - 2026 Block, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
@@ -160,7 +160,7 @@ module ElasticGraph
160
160
  #
161
161
  # Below, `available_clusters_to_consider` will replace `clusters_to_consider` in the returned `Config` instance.
162
162
  available_clusters_to_consider, unavailable_clusters_to_consider =
163
- (config.clusters_to_consider - unrecognized_cluster_names).partition { |it| @datastore_clients_by_name.key?(it) }
163
+ (config.clusters_to_consider - unrecognized_cluster_names).partition { |cluster_name| @datastore_clients_by_name.key?(cluster_name) }
164
164
 
165
165
  if unavailable_clusters_to_consider.any?
166
166
  @logger.warn("#{unavailable_clusters_to_consider.length} cluster(s) were unavailable for health-checking: #{unavailable_clusters_to_consider.join(", ")}")
@@ -224,8 +224,8 @@ module ElasticGraph
224
224
 
225
225
  def all_known_clusters
226
226
  @all_known_clusters ||= @indexed_document_types_by_name.flat_map do |_, index_type|
227
- index_type.search_index_definitions.flat_map do |it|
228
- [it.cluster_to_query] + it.clusters_to_index_into
227
+ index_type.search_index_definitions.flat_map do |index_def|
228
+ [index_def.cluster_to_query] + index_def.clusters_to_index_into
229
229
  end
230
230
  end + @datastore_clients_by_name.keys
231
231
  end
@@ -1,4 +1,4 @@
1
- # Copyright 2024 - 2025 Block, Inc.
1
+ # Copyright 2024 - 2026 Block, Inc.
2
2
  #
3
3
  # Use of this source code is governed by an MIT-style
4
4
  # license that can be found in the LICENSE file or at
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticgraph-health_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Myron Marston
@@ -17,112 +17,112 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 1.0.1
20
+ version: 1.0.3.rc1
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 1.0.1
27
+ version: 1.0.3.rc1
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: elasticgraph-graphql
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - '='
33
33
  - !ruby/object:Gem::Version
34
- version: 1.0.1
34
+ version: 1.0.3.rc1
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - '='
40
40
  - !ruby/object:Gem::Version
41
- version: 1.0.1
41
+ version: 1.0.3.rc1
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: elasticgraph-support
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
46
  - - '='
47
47
  - !ruby/object:Gem::Version
48
- version: 1.0.1
48
+ version: 1.0.3.rc1
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - '='
54
54
  - !ruby/object:Gem::Version
55
- version: 1.0.1
55
+ version: 1.0.3.rc1
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: elasticgraph-admin
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - '='
61
61
  - !ruby/object:Gem::Version
62
- version: 1.0.1
62
+ version: 1.0.3.rc1
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - '='
68
68
  - !ruby/object:Gem::Version
69
- version: 1.0.1
69
+ version: 1.0.3.rc1
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: elasticgraph-elasticsearch
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - '='
75
75
  - !ruby/object:Gem::Version
76
- version: 1.0.1
76
+ version: 1.0.3.rc1
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - '='
82
82
  - !ruby/object:Gem::Version
83
- version: 1.0.1
83
+ version: 1.0.3.rc1
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: elasticgraph-indexer
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - '='
89
89
  - !ruby/object:Gem::Version
90
- version: 1.0.1
90
+ version: 1.0.3.rc1
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - '='
96
96
  - !ruby/object:Gem::Version
97
- version: 1.0.1
97
+ version: 1.0.3.rc1
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: elasticgraph-opensearch
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - '='
103
103
  - !ruby/object:Gem::Version
104
- version: 1.0.1
104
+ version: 1.0.3.rc1
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - '='
110
110
  - !ruby/object:Gem::Version
111
- version: 1.0.1
111
+ version: 1.0.3.rc1
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: elasticgraph-schema_definition
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
116
  - - '='
117
117
  - !ruby/object:Gem::Version
118
- version: 1.0.1
118
+ version: 1.0.3.rc1
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - '='
124
124
  - !ruby/object:Gem::Version
125
- version: 1.0.1
125
+ version: 1.0.3.rc1
126
126
  email:
127
127
  - myron@squareup.com
128
128
  executables: []
@@ -142,10 +142,10 @@ licenses:
142
142
  - MIT
143
143
  metadata:
144
144
  bug_tracker_uri: https://github.com/block/elasticgraph/issues
145
- changelog_uri: https://github.com/block/elasticgraph/releases/tag/v1.0.1
146
- documentation_uri: https://block.github.io/elasticgraph/api-docs/v1.0.1/
145
+ changelog_uri: https://github.com/block/elasticgraph/releases/tag/v1.0.3.rc1
146
+ documentation_uri: https://block.github.io/elasticgraph/api-docs/v1.0.3.rc1/
147
147
  homepage_uri: https://block.github.io/elasticgraph/
148
- source_code_uri: https://github.com/block/elasticgraph/tree/v1.0.1/elasticgraph-health_check
148
+ source_code_uri: https://github.com/block/elasticgraph/tree/v1.0.3.rc1/elasticgraph-health_check
149
149
  gem_category: extension
150
150
  rdoc_options: []
151
151
  require_paths:
@@ -157,14 +157,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
157
  version: '3.4'
158
158
  - - "<"
159
159
  - !ruby/object:Gem::Version
160
- version: '3.5'
160
+ version: '4.1'
161
161
  required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - ">="
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  requirements: []
167
- rubygems_version: 3.6.9
167
+ rubygems_version: 4.0.3
168
168
  specification_version: 4
169
169
  summary: Provides a health check for high availability ElasticGraph deployments.
170
170
  test_files: []