elasticsearch-api 7.11.2 → 7.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -4
- data/README.md +22 -45
- data/Rakefile +46 -62
- data/elasticsearch-api.gemspec +6 -7
- data/lib/elasticsearch/api/actions/bulk.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/aliases.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/allocation.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/count.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/fielddata.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/health.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/help.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/indices.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/master.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/nodes.rb +4 -2
- data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/plugins.rb +3 -1
- data/lib/elasticsearch/api/actions/cat/recovery.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/repositories.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/segments.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/shards.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/snapshots.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/tasks.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/templates.rb +1 -1
- data/lib/elasticsearch/api/actions/cat/thread_pool.rb +1 -1
- data/lib/elasticsearch/api/actions/clear_scroll.rb +1 -1
- data/lib/elasticsearch/api/actions/{abort_benchmark.rb → close_point_in_time.rb} +13 -12
- data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +3 -3
- data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/exists_component_template.rb +2 -1
- data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/get_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/health.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/put_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/remote_info.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/reroute.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/state.rb +1 -1
- data/lib/elasticsearch/api/actions/cluster/stats.rb +1 -1
- data/lib/elasticsearch/api/actions/count.rb +7 -2
- data/lib/elasticsearch/api/actions/create.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +1 -1
- data/lib/elasticsearch/api/actions/dangling_indices/list_dangling_indices.rb +1 -1
- data/lib/elasticsearch/api/actions/delete.rb +1 -1
- data/lib/elasticsearch/api/actions/delete_by_query.rb +1 -1
- data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/actions/delete_script.rb +1 -1
- data/lib/elasticsearch/api/actions/exists.rb +2 -1
- data/lib/elasticsearch/api/actions/exists_source.rb +2 -1
- data/lib/elasticsearch/api/actions/explain.rb +6 -6
- data/lib/elasticsearch/api/actions/{nodes/shutdown.rb → features/get_features.rb} +16 -21
- data/lib/elasticsearch/api/actions/features/params_registry.rb +60 -0
- data/lib/elasticsearch/api/actions/features/reset_features.rb +47 -0
- data/lib/elasticsearch/api/actions/field_caps.rb +6 -6
- data/lib/elasticsearch/api/actions/get.rb +1 -1
- data/lib/elasticsearch/api/actions/get_script.rb +1 -1
- data/lib/elasticsearch/api/actions/get_script_context.rb +1 -5
- data/lib/elasticsearch/api/actions/get_script_languages.rb +1 -5
- data/lib/elasticsearch/api/actions/get_source.rb +1 -1
- data/lib/elasticsearch/api/actions/index.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/add_block.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/analyze.rb +6 -6
- data/lib/elasticsearch/api/actions/indices/clear_cache.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/clone.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/close.rb +2 -2
- data/lib/elasticsearch/api/actions/indices/create.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/delete.rb +2 -2
- data/lib/elasticsearch/api/actions/indices/delete_alias.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/delete_index_template.rb +6 -2
- data/lib/elasticsearch/api/actions/indices/delete_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/disk_usage.rb +68 -0
- data/lib/elasticsearch/api/actions/indices/exists.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/exists_alias.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/exists_index_template.rb +7 -2
- data/lib/elasticsearch/api/actions/indices/exists_template.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/exists_type.rb +2 -1
- data/lib/elasticsearch/api/actions/indices/field_usage_stats.rb +66 -0
- data/lib/elasticsearch/api/actions/indices/flush.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/flush_synced.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/forcemerge.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_alias.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_index_template.rb +2 -2
- data/lib/elasticsearch/api/actions/indices/get_mapping.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/get_upgrade.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/open.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_alias.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_index_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_mapping.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/recovery.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/refresh.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/resolve_index.rb +1 -5
- data/lib/elasticsearch/api/actions/indices/rollover.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/segments.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/shard_stores.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/shrink.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/simulate_template.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/split.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/stats.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/update_aliases.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/upgrade.rb +1 -1
- data/lib/elasticsearch/api/actions/indices/validate_query.rb +8 -8
- data/lib/elasticsearch/api/actions/info.rb +1 -1
- data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +1 -1
- data/lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb +43 -0
- data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +3 -1
- data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +1 -1
- data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +3 -1
- data/lib/elasticsearch/api/actions/ingest/simulate.rb +1 -1
- data/lib/elasticsearch/api/actions/mget.rb +1 -1
- data/lib/elasticsearch/api/actions/msearch.rb +2 -2
- data/lib/elasticsearch/api/actions/msearch_template.rb +2 -2
- data/lib/elasticsearch/api/actions/mtermvectors.rb +8 -8
- data/lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb +56 -0
- data/lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb +52 -0
- data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +4 -2
- data/lib/elasticsearch/api/actions/nodes/info.rb +2 -2
- data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +1 -1
- data/lib/elasticsearch/api/actions/nodes/stats.rb +5 -3
- data/lib/elasticsearch/api/actions/nodes/usage.rb +1 -1
- data/lib/elasticsearch/api/actions/open_point_in_time.rb +62 -0
- data/lib/elasticsearch/api/actions/ping.rb +3 -3
- data/lib/elasticsearch/api/actions/put_script.rb +1 -1
- data/lib/elasticsearch/api/actions/rank_eval.rb +1 -5
- data/lib/elasticsearch/api/actions/reindex.rb +1 -1
- data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/actions/render_search_template.rb +6 -6
- data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +2 -2
- data/lib/elasticsearch/api/actions/scroll.rb +6 -6
- data/lib/elasticsearch/api/actions/search.rb +11 -9
- data/lib/elasticsearch/api/actions/search_mvt.rb +85 -0
- data/lib/elasticsearch/api/actions/search_shards.rb +1 -1
- data/lib/elasticsearch/api/actions/search_template.rb +2 -2
- data/lib/elasticsearch/api/actions/shutdown/delete_node.rb +48 -0
- data/lib/elasticsearch/api/actions/shutdown/get_node.rb +50 -0
- data/lib/elasticsearch/api/actions/shutdown/params_registry.rb +60 -0
- data/lib/elasticsearch/api/actions/shutdown/put_node.rb +50 -0
- data/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/clone.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/create.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/delete.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/get.rb +5 -1
- data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +76 -0
- data/lib/elasticsearch/api/actions/snapshot/restore.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/status.rb +1 -1
- data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +1 -1
- data/lib/elasticsearch/api/actions/tasks/cancel.rb +1 -1
- data/lib/elasticsearch/api/actions/tasks/get.rb +1 -1
- data/lib/elasticsearch/api/actions/tasks/list.rb +1 -1
- data/lib/elasticsearch/api/actions/termvectors.rb +11 -10
- data/lib/elasticsearch/api/actions/update.rb +1 -1
- data/lib/elasticsearch/api/actions/update_by_query.rb +1 -1
- data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +1 -1
- data/lib/elasticsearch/api/{actions/remote/info.rb → namespace/features.rb} +12 -13
- data/lib/elasticsearch/api/namespace/security.rb +36 -0
- data/lib/elasticsearch/api/namespace/shutdown.rb +37 -0
- data/lib/elasticsearch/api/version.rb +1 -1
- data/lib/elasticsearch/api.rb +3 -1
- data/spec/elasticsearch/api/actions/{benchmark_spec.rb → close_point_in_time_spec.rb} +6 -6
- data/spec/elasticsearch/api/actions/count_spec.rb +2 -5
- data/spec/elasticsearch/api/actions/{remote/info_spec.rb → features/get_features_spec.rb} +7 -8
- data/spec/elasticsearch/api/actions/features/reset_features_spec.rb +34 -0
- data/spec/elasticsearch/api/actions/indices/clear_cache_spec.rb +16 -3
- data/spec/elasticsearch/api/actions/indices/disk_usage_spec.rb +48 -0
- data/spec/elasticsearch/api/actions/indices/field_usage_stats_spec.rb +46 -0
- data/spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb +34 -0
- data/spec/elasticsearch/api/actions/nodes/clear_repositories_metering_archive_spec.rb +51 -0
- data/spec/elasticsearch/api/actions/nodes/get_repositories_metering_info_spec.rb +44 -0
- data/spec/elasticsearch/api/actions/{abort_benchmark_spec.rb → open_point_in_time_spec.rb} +5 -5
- data/spec/elasticsearch/api/actions/search_mvt_spec.rb +52 -0
- data/spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb +44 -0
- data/spec/elasticsearch/api/actions/shutdown/get_node_spec.rb +46 -0
- data/spec/elasticsearch/api/actions/shutdown/put_node_spec.rb +50 -0
- data/spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb +48 -0
- data/spec/elasticsearch/api/rest_api_yaml_spec.rb +23 -3
- data/spec/rest_yaml_tests_helper.rb +17 -53
- data/spec/skipped_tests.yml +29 -0
- data/spec/spec_helper.rb +4 -1
- data/utils/Gemfile +4 -3
- data/utils/README.md +6 -1
- data/utils/thor/.rubocop.yml +2 -0
- data/utils/thor/generate_source.rb +18 -13
- data/utils/thor/generator/endpoint_specifics.rb +7 -1
- data/utils/thor/generator/files_helper.rb +38 -20
- data/utils/thor/templates/_documentation_top.erb +19 -0
- data/utils/thor/templates/_method_setup.erb +18 -0
- data/utils/thor/templates/_params_registry.erb +19 -0
- data/utils/thor/templates/_perform_request.erb +19 -1
- data/utils/thor/templates/test.erb +16 -3
- data/utils/thor/templates/test_helper.rb +0 -4
- metadata +58 -48
- data/lib/elasticsearch/api/actions/benchmark.rb +0 -81
- data/lib/elasticsearch/api/actions/delete_by_rethrottle.rb +0 -47
- data/lib/elasticsearch/api/actions/indices/freeze.rb +0 -56
- data/lib/elasticsearch/api/actions/indices/unfreeze.rb +0 -56
- data/spec/elasticsearch/api/actions/indices/freeze_spec.rb +0 -85
- data/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb +0 -85
- data/spec/elasticsearch/api/actions/nodes/shutdown_spec.rb +0 -76
@@ -37,8 +37,10 @@ module Elasticsearch
|
|
37
37
|
delete
|
38
38
|
get
|
39
39
|
indices.flush_synced
|
40
|
-
indices.delete_template
|
41
40
|
indices.delete
|
41
|
+
indices.delete_index_template
|
42
|
+
indices.exists_index_template
|
43
|
+
indices.delete_template
|
42
44
|
security.get_role
|
43
45
|
security.get_user
|
44
46
|
snapshot.status
|
@@ -170,6 +172,10 @@ module Elasticsearch
|
|
170
172
|
SRC
|
171
173
|
end
|
172
174
|
|
175
|
+
def find_structure_body_helper
|
176
|
+
bulk_body_helper
|
177
|
+
end
|
178
|
+
|
173
179
|
def bulk_doc_helper(info)
|
174
180
|
<<~SRC
|
175
181
|
# @option arguments [String|Array] :body #{info}. Array of Strings, Header/Data pairs,
|
@@ -21,20 +21,47 @@ require_relative '../../../lib/elasticsearch/api/version.rb'
|
|
21
21
|
module Elasticsearch
|
22
22
|
module API
|
23
23
|
module FilesHelper
|
24
|
-
|
24
|
+
PROJECT_PATH = File.join(File.dirname(__FILE__), '..')
|
25
|
+
SRC_PATH = File.join(PROJECT_PATH, '..', '..', '..', 'tmp/rest-api-spec/api/')
|
25
26
|
OSS_OUTPUT_DIR = '../../elasticsearch-api/lib/elasticsearch/api/actions'.freeze
|
26
|
-
|
27
|
-
XPACK_SRC_PATH = '../../../../../tmp/elasticsearch/x-pack/plugin/src/test/resources/rest-api-spec/api'.freeze
|
28
27
|
XPACK_OUTPUT_DIR = '../../elasticsearch-xpack/lib/elasticsearch/xpack/api/actions'.freeze
|
29
28
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
29
|
+
TESTS_DIRECTORIES = {
|
30
|
+
oss: "#{PROJECT_PATH}/../../../tmp/rest-api-spec/test/free",
|
31
|
+
xpack: "#{PROJECT_PATH}/../../../tmp/rest-api-spec/test/platinum"
|
32
|
+
}.freeze
|
33
|
+
|
34
|
+
# Only get JSON files and remove hidden files
|
35
|
+
def self.files(api)
|
36
|
+
json_files = if api == :xpack
|
37
|
+
xpack_files
|
38
|
+
else
|
39
|
+
Dir.entries(SRC_PATH) - xpack_files
|
40
|
+
end
|
41
|
+
json_files.reject do |file|
|
42
|
+
File.extname(file) != '.json' ||
|
43
|
+
File.basename(file) == '_common.json'
|
44
|
+
end.map { |file| "#{SRC_PATH}#{file}" }
|
45
|
+
end
|
46
|
+
|
47
|
+
XPACK_ENDPOINTS = [
|
48
|
+
'autoscaling', 'cross_cluster_replication', 'ccr', 'data_frame_transform_deprecated',
|
49
|
+
'enrich', 'eql', 'fleet', 'ilm', 'logstash', 'migration', 'watcher', 'slm'
|
50
|
+
]
|
51
|
+
XPACK_ENDPOINTS_REGEXP = /data_stream|ml_|reload_search_analyzers|transform|freeze|unfreeze/
|
52
|
+
|
53
|
+
def self.xpack_files
|
54
|
+
xpack_tests = Dir.entries(TESTS_DIRECTORIES[:xpack])
|
55
|
+
Dir.entries(SRC_PATH).map do |entry|
|
56
|
+
filename = entry.split('.').first
|
57
|
+
next if filename == 'snapshot'
|
58
|
+
|
59
|
+
if xpack_tests.include?(filename) ||
|
60
|
+
XPACK_ENDPOINTS.include?(filename) ||
|
61
|
+
entry.match?(XPACK_ENDPOINTS_REGEXP)
|
62
|
+
entry
|
63
|
+
end
|
64
|
+
end.compact
|
38
65
|
end
|
39
66
|
|
40
67
|
# Path to directory to copy generated files
|
@@ -42,15 +69,6 @@ module Elasticsearch
|
|
42
69
|
api == :xpack ? Pathname(XPACK_OUTPUT_DIR) : Pathname(OSS_OUTPUT_DIR)
|
43
70
|
end
|
44
71
|
|
45
|
-
# Only get JSON files and remove hidden files
|
46
|
-
def self.files(api)
|
47
|
-
Dir.entries(input_dir(api).to_s).reject do |f|
|
48
|
-
f.start_with?('.') ||
|
49
|
-
f.start_with?('_') ||
|
50
|
-
File.extname(f) != '.json'
|
51
|
-
end
|
52
|
-
end
|
53
|
-
|
54
72
|
def self.gem_version
|
55
73
|
regex = /([0-9]{1,2}\.[0-9x]{1,2})/
|
56
74
|
Elasticsearch::API::VERSION.match(regex)[0]
|
@@ -1,3 +1,22 @@
|
|
1
|
+
<%#
|
2
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
3
|
+
# license agreements. See the NOTICE file distributed with
|
4
|
+
# this work for additional information regarding copyright
|
5
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
6
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
# not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing,
|
13
|
+
# software distributed under the License is distributed on an
|
14
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
# KIND, either express or implied. See the License for the
|
16
|
+
# specific language governing permissions and limitations
|
17
|
+
# under the License.
|
18
|
+
%>
|
19
|
+
|
1
20
|
<%- if @spec['documentation']['description'] -%>
|
2
21
|
<%= ' '*(@namespace_depth+3) %># <%= @spec['documentation']['description'].gsub("\n", "\n#{' '*(@namespace_depth+3)}# ") -%>
|
3
22
|
<%- else %>
|
@@ -1,3 +1,21 @@
|
|
1
|
+
<%#
|
2
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
3
|
+
# license agreements. See the NOTICE file distributed with
|
4
|
+
# this work for additional information regarding copyright
|
5
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
6
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
# not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing,
|
13
|
+
# software distributed under the License is distributed on an
|
14
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
# KIND, either express or implied. See the License for the
|
16
|
+
# specific language governing permissions and limitations
|
17
|
+
# under the License.
|
18
|
+
%>
|
1
19
|
<%- if @endpoint_name == 'indices.stats' %>
|
2
20
|
method = HTTP_GET
|
3
21
|
parts = Utils.__extract_parts arguments, ParamsRegistry.get(:stats_parts)
|
@@ -1,3 +1,22 @@
|
|
1
|
+
<%#
|
2
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
3
|
+
# license agreements. See the NOTICE file distributed with
|
4
|
+
# this work for additional information regarding copyright
|
5
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
6
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
# not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing,
|
13
|
+
# software distributed under the License is distributed on an
|
14
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
# KIND, either express or implied. See the License for the
|
16
|
+
# specific language governing permissions and limitations
|
17
|
+
# under the License.
|
18
|
+
%>
|
19
|
+
|
1
20
|
<%- unless @params.empty? -%>
|
2
21
|
<%= ' '*(@namespace_depth+3) %># Register this action with its valid params when the module is loaded.
|
3
22
|
<%= ' '*(@namespace_depth+3) %>#
|
@@ -1,3 +1,21 @@
|
|
1
|
+
<%#
|
2
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
3
|
+
# license agreements. See the NOTICE file distributed with
|
4
|
+
# this work for additional information regarding copyright
|
5
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
6
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
7
|
+
# not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing,
|
13
|
+
# software distributed under the License is distributed on an
|
14
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
15
|
+
# KIND, either express or implied. See the License for the
|
16
|
+
# specific language governing permissions and limitations
|
17
|
+
# under the License.
|
18
|
+
%>
|
1
19
|
<%-
|
2
20
|
case @endpoint_name
|
3
21
|
when 'mtermvectors'
|
@@ -14,7 +32,7 @@ when 'mtermvectors'
|
|
14
32
|
<%- else -%>
|
15
33
|
<%= ' '*(@namespace_depth+3) %>body = <%= @spec['body'].nil? ? 'nil' : 'arguments[:body]' %>
|
16
34
|
<%- end -%>
|
17
|
-
<%- if ['bulk', 'msearch', 'msearch_template'].include? @method_name -%>
|
35
|
+
<%- if ['bulk', 'msearch', 'msearch_template', 'find_structure'].include? @method_name -%>
|
18
36
|
<%= self.send("#{@method_name}_body_helper".to_s) %>
|
19
37
|
headers.merge!("Content-Type" => "application/x-ndjson")
|
20
38
|
<%= ' '*(@namespace_depth+4) %>perform_request(method, path, params, payload, headers).body
|
@@ -1,6 +1,19 @@
|
|
1
|
-
# Licensed to Elasticsearch B.V under one or more
|
2
|
-
#
|
3
|
-
#
|
1
|
+
# Licensed to Elasticsearch B.V. under one or more contributor
|
2
|
+
# license agreements. See the NOTICE file distributed with
|
3
|
+
# this work for additional information regarding copyright
|
4
|
+
# ownership. Elasticsearch B.V. licenses this file to you under
|
5
|
+
# the Apache License, Version 2.0 (the "License"); you may
|
6
|
+
# not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing,
|
12
|
+
# software distributed under the License is distributed on an
|
13
|
+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
+
# KIND, either express or implied. See the License for the
|
15
|
+
# specific language governing permissions and limitations
|
16
|
+
# under the License.
|
4
17
|
|
5
18
|
require 'test_helper'
|
6
19
|
|
@@ -15,10 +15,6 @@
|
|
15
15
|
# specific language governing permissions and limitations
|
16
16
|
# under the License.
|
17
17
|
|
18
|
-
RUBY_1_8 = defined?(RUBY_VERSION) && RUBY_VERSION < '1.9'
|
19
|
-
|
20
|
-
require 'rubygems' if RUBY_1_8
|
21
|
-
|
22
18
|
require 'simplecov' and SimpleCov.start { add_filter "/test|test_/" } if ENV["COVERAGE"]
|
23
19
|
|
24
20
|
require 'test/unit'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: elasticsearch-
|
70
|
+
name: elasticsearch-transport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: elasticsearch-
|
84
|
+
name: elasticsearch-xpack
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -278,26 +278,6 @@ dependencies:
|
|
278
278
|
version: '0'
|
279
279
|
- !ruby/object:Gem::Dependency
|
280
280
|
name: simplecov
|
281
|
-
requirement: !ruby/object:Gem::Requirement
|
282
|
-
requirements:
|
283
|
-
- - "~>"
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
version: '0.17'
|
286
|
-
- - "<"
|
287
|
-
- !ruby/object:Gem::Version
|
288
|
-
version: '0.18'
|
289
|
-
type: :development
|
290
|
-
prerelease: false
|
291
|
-
version_requirements: !ruby/object:Gem::Requirement
|
292
|
-
requirements:
|
293
|
-
- - "~>"
|
294
|
-
- !ruby/object:Gem::Version
|
295
|
-
version: '0.17'
|
296
|
-
- - "<"
|
297
|
-
- !ruby/object:Gem::Version
|
298
|
-
version: '0.18'
|
299
|
-
- !ruby/object:Gem::Dependency
|
300
|
-
name: simplecov-rcov
|
301
281
|
requirement: !ruby/object:Gem::Requirement
|
302
282
|
requirements:
|
303
283
|
- - ">="
|
@@ -357,8 +337,6 @@ files:
|
|
357
337
|
- elasticsearch-api.gemspec
|
358
338
|
- lib/elasticsearch-api.rb
|
359
339
|
- lib/elasticsearch/api.rb
|
360
|
-
- lib/elasticsearch/api/actions/abort_benchmark.rb
|
361
|
-
- lib/elasticsearch/api/actions/benchmark.rb
|
362
340
|
- lib/elasticsearch/api/actions/bulk.rb
|
363
341
|
- lib/elasticsearch/api/actions/cat/aliases.rb
|
364
342
|
- lib/elasticsearch/api/actions/cat/allocation.rb
|
@@ -382,6 +360,7 @@ files:
|
|
382
360
|
- lib/elasticsearch/api/actions/cat/templates.rb
|
383
361
|
- lib/elasticsearch/api/actions/cat/thread_pool.rb
|
384
362
|
- lib/elasticsearch/api/actions/clear_scroll.rb
|
363
|
+
- lib/elasticsearch/api/actions/close_point_in_time.rb
|
385
364
|
- lib/elasticsearch/api/actions/cluster/allocation_explain.rb
|
386
365
|
- lib/elasticsearch/api/actions/cluster/delete_component_template.rb
|
387
366
|
- lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb
|
@@ -407,11 +386,13 @@ files:
|
|
407
386
|
- lib/elasticsearch/api/actions/delete.rb
|
408
387
|
- lib/elasticsearch/api/actions/delete_by_query.rb
|
409
388
|
- lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb
|
410
|
-
- lib/elasticsearch/api/actions/delete_by_rethrottle.rb
|
411
389
|
- lib/elasticsearch/api/actions/delete_script.rb
|
412
390
|
- lib/elasticsearch/api/actions/exists.rb
|
413
391
|
- lib/elasticsearch/api/actions/exists_source.rb
|
414
392
|
- lib/elasticsearch/api/actions/explain.rb
|
393
|
+
- lib/elasticsearch/api/actions/features/get_features.rb
|
394
|
+
- lib/elasticsearch/api/actions/features/params_registry.rb
|
395
|
+
- lib/elasticsearch/api/actions/features/reset_features.rb
|
415
396
|
- lib/elasticsearch/api/actions/field_caps.rb
|
416
397
|
- lib/elasticsearch/api/actions/get.rb
|
417
398
|
- lib/elasticsearch/api/actions/get_script.rb
|
@@ -429,15 +410,16 @@ files:
|
|
429
410
|
- lib/elasticsearch/api/actions/indices/delete_alias.rb
|
430
411
|
- lib/elasticsearch/api/actions/indices/delete_index_template.rb
|
431
412
|
- lib/elasticsearch/api/actions/indices/delete_template.rb
|
413
|
+
- lib/elasticsearch/api/actions/indices/disk_usage.rb
|
432
414
|
- lib/elasticsearch/api/actions/indices/exists.rb
|
433
415
|
- lib/elasticsearch/api/actions/indices/exists_alias.rb
|
434
416
|
- lib/elasticsearch/api/actions/indices/exists_index_template.rb
|
435
417
|
- lib/elasticsearch/api/actions/indices/exists_template.rb
|
436
418
|
- lib/elasticsearch/api/actions/indices/exists_type.rb
|
419
|
+
- lib/elasticsearch/api/actions/indices/field_usage_stats.rb
|
437
420
|
- lib/elasticsearch/api/actions/indices/flush.rb
|
438
421
|
- lib/elasticsearch/api/actions/indices/flush_synced.rb
|
439
422
|
- lib/elasticsearch/api/actions/indices/forcemerge.rb
|
440
|
-
- lib/elasticsearch/api/actions/indices/freeze.rb
|
441
423
|
- lib/elasticsearch/api/actions/indices/get.rb
|
442
424
|
- lib/elasticsearch/api/actions/indices/get_alias.rb
|
443
425
|
- lib/elasticsearch/api/actions/indices/get_field_mapping.rb
|
@@ -464,12 +446,12 @@ files:
|
|
464
446
|
- lib/elasticsearch/api/actions/indices/simulate_template.rb
|
465
447
|
- lib/elasticsearch/api/actions/indices/split.rb
|
466
448
|
- lib/elasticsearch/api/actions/indices/stats.rb
|
467
|
-
- lib/elasticsearch/api/actions/indices/unfreeze.rb
|
468
449
|
- lib/elasticsearch/api/actions/indices/update_aliases.rb
|
469
450
|
- lib/elasticsearch/api/actions/indices/upgrade.rb
|
470
451
|
- lib/elasticsearch/api/actions/indices/validate_query.rb
|
471
452
|
- lib/elasticsearch/api/actions/info.rb
|
472
453
|
- lib/elasticsearch/api/actions/ingest/delete_pipeline.rb
|
454
|
+
- lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb
|
473
455
|
- lib/elasticsearch/api/actions/ingest/get_pipeline.rb
|
474
456
|
- lib/elasticsearch/api/actions/ingest/params_registry.rb
|
475
457
|
- lib/elasticsearch/api/actions/ingest/processor_grok.rb
|
@@ -479,26 +461,32 @@ files:
|
|
479
461
|
- lib/elasticsearch/api/actions/msearch.rb
|
480
462
|
- lib/elasticsearch/api/actions/msearch_template.rb
|
481
463
|
- lib/elasticsearch/api/actions/mtermvectors.rb
|
464
|
+
- lib/elasticsearch/api/actions/nodes/clear_repositories_metering_archive.rb
|
465
|
+
- lib/elasticsearch/api/actions/nodes/get_repositories_metering_info.rb
|
482
466
|
- lib/elasticsearch/api/actions/nodes/hot_threads.rb
|
483
467
|
- lib/elasticsearch/api/actions/nodes/info.rb
|
484
468
|
- lib/elasticsearch/api/actions/nodes/params_registry.rb
|
485
469
|
- lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb
|
486
|
-
- lib/elasticsearch/api/actions/nodes/shutdown.rb
|
487
470
|
- lib/elasticsearch/api/actions/nodes/stats.rb
|
488
471
|
- lib/elasticsearch/api/actions/nodes/usage.rb
|
472
|
+
- lib/elasticsearch/api/actions/open_point_in_time.rb
|
489
473
|
- lib/elasticsearch/api/actions/params_registry.rb
|
490
474
|
- lib/elasticsearch/api/actions/ping.rb
|
491
475
|
- lib/elasticsearch/api/actions/put_script.rb
|
492
476
|
- lib/elasticsearch/api/actions/rank_eval.rb
|
493
477
|
- lib/elasticsearch/api/actions/reindex.rb
|
494
478
|
- lib/elasticsearch/api/actions/reindex_rethrottle.rb
|
495
|
-
- lib/elasticsearch/api/actions/remote/info.rb
|
496
479
|
- lib/elasticsearch/api/actions/render_search_template.rb
|
497
480
|
- lib/elasticsearch/api/actions/scripts_painless_execute.rb
|
498
481
|
- lib/elasticsearch/api/actions/scroll.rb
|
499
482
|
- lib/elasticsearch/api/actions/search.rb
|
483
|
+
- lib/elasticsearch/api/actions/search_mvt.rb
|
500
484
|
- lib/elasticsearch/api/actions/search_shards.rb
|
501
485
|
- lib/elasticsearch/api/actions/search_template.rb
|
486
|
+
- lib/elasticsearch/api/actions/shutdown/delete_node.rb
|
487
|
+
- lib/elasticsearch/api/actions/shutdown/get_node.rb
|
488
|
+
- lib/elasticsearch/api/actions/shutdown/params_registry.rb
|
489
|
+
- lib/elasticsearch/api/actions/shutdown/put_node.rb
|
502
490
|
- lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb
|
503
491
|
- lib/elasticsearch/api/actions/snapshot/clone.rb
|
504
492
|
- lib/elasticsearch/api/actions/snapshot/create.rb
|
@@ -508,6 +496,7 @@ files:
|
|
508
496
|
- lib/elasticsearch/api/actions/snapshot/get.rb
|
509
497
|
- lib/elasticsearch/api/actions/snapshot/get_repository.rb
|
510
498
|
- lib/elasticsearch/api/actions/snapshot/params_registry.rb
|
499
|
+
- lib/elasticsearch/api/actions/snapshot/repository_analyze.rb
|
511
500
|
- lib/elasticsearch/api/actions/snapshot/restore.rb
|
512
501
|
- lib/elasticsearch/api/actions/snapshot/status.rb
|
513
502
|
- lib/elasticsearch/api/actions/snapshot/verify_repository.rb
|
@@ -523,16 +512,17 @@ files:
|
|
523
512
|
- lib/elasticsearch/api/namespace/cluster.rb
|
524
513
|
- lib/elasticsearch/api/namespace/common.rb
|
525
514
|
- lib/elasticsearch/api/namespace/dangling_indices.rb
|
515
|
+
- lib/elasticsearch/api/namespace/features.rb
|
526
516
|
- lib/elasticsearch/api/namespace/indices.rb
|
527
517
|
- lib/elasticsearch/api/namespace/ingest.rb
|
528
518
|
- lib/elasticsearch/api/namespace/nodes.rb
|
529
519
|
- lib/elasticsearch/api/namespace/remote.rb
|
520
|
+
- lib/elasticsearch/api/namespace/security.rb
|
521
|
+
- lib/elasticsearch/api/namespace/shutdown.rb
|
530
522
|
- lib/elasticsearch/api/namespace/snapshot.rb
|
531
523
|
- lib/elasticsearch/api/namespace/tasks.rb
|
532
524
|
- lib/elasticsearch/api/utils.rb
|
533
525
|
- lib/elasticsearch/api/version.rb
|
534
|
-
- spec/elasticsearch/api/actions/abort_benchmark_spec.rb
|
535
|
-
- spec/elasticsearch/api/actions/benchmark_spec.rb
|
536
526
|
- spec/elasticsearch/api/actions/bulk_spec.rb
|
537
527
|
- spec/elasticsearch/api/actions/cat/aliases_spec.rb
|
538
528
|
- spec/elasticsearch/api/actions/cat/allocation_spec.rb
|
@@ -555,6 +545,7 @@ files:
|
|
555
545
|
- spec/elasticsearch/api/actions/cat/templates_spec.rb
|
556
546
|
- spec/elasticsearch/api/actions/cat/thread_pool_spec.rb
|
557
547
|
- spec/elasticsearch/api/actions/clear_scroll_spec.rb
|
548
|
+
- spec/elasticsearch/api/actions/close_point_in_time_spec.rb
|
558
549
|
- spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb
|
559
550
|
- spec/elasticsearch/api/actions/cluster/get_settings_spec.rb
|
560
551
|
- spec/elasticsearch/api/actions/cluster/health_spec.rb
|
@@ -574,6 +565,8 @@ files:
|
|
574
565
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
575
566
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
576
567
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
568
|
+
- spec/elasticsearch/api/actions/features/get_features_spec.rb
|
569
|
+
- spec/elasticsearch/api/actions/features/reset_features_spec.rb
|
577
570
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
578
571
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
579
572
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
@@ -589,14 +582,15 @@ files:
|
|
589
582
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
590
583
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
591
584
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
585
|
+
- spec/elasticsearch/api/actions/indices/disk_usage_spec.rb
|
592
586
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
593
587
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
594
588
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
595
589
|
- spec/elasticsearch/api/actions/indices/exists_type_spec.rb
|
590
|
+
- spec/elasticsearch/api/actions/indices/field_usage_stats_spec.rb
|
596
591
|
- spec/elasticsearch/api/actions/indices/flush_spec.rb
|
597
592
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
598
593
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
599
|
-
- spec/elasticsearch/api/actions/indices/freeze_spec.rb
|
600
594
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
601
595
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
602
596
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
@@ -615,12 +609,12 @@ files:
|
|
615
609
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
616
610
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
617
611
|
- spec/elasticsearch/api/actions/indices/stats_spec.rb
|
618
|
-
- spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
|
619
612
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
620
613
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
621
614
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
622
615
|
- spec/elasticsearch/api/actions/info_spec.rb
|
623
616
|
- spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb
|
617
|
+
- spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb
|
624
618
|
- spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb
|
625
619
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
626
620
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
@@ -629,20 +623,25 @@ files:
|
|
629
623
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
630
624
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
631
625
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
626
|
+
- spec/elasticsearch/api/actions/nodes/clear_repositories_metering_archive_spec.rb
|
627
|
+
- spec/elasticsearch/api/actions/nodes/get_repositories_metering_info_spec.rb
|
632
628
|
- spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb
|
633
629
|
- spec/elasticsearch/api/actions/nodes/info_spec.rb
|
634
630
|
- spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
|
635
|
-
- spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
|
636
631
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
632
|
+
- spec/elasticsearch/api/actions/open_point_in_time_spec.rb
|
637
633
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
638
634
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
639
635
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
640
|
-
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
641
636
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
642
637
|
- spec/elasticsearch/api/actions/scroll_spec.rb
|
638
|
+
- spec/elasticsearch/api/actions/search_mvt_spec.rb
|
643
639
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
644
640
|
- spec/elasticsearch/api/actions/search_spec.rb
|
645
641
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
642
|
+
- spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb
|
643
|
+
- spec/elasticsearch/api/actions/shutdown/get_node_spec.rb
|
644
|
+
- spec/elasticsearch/api/actions/shutdown/put_node_spec.rb
|
646
645
|
- spec/elasticsearch/api/actions/snapshot/clone_spec.rb
|
647
646
|
- spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb
|
648
647
|
- spec/elasticsearch/api/actions/snapshot/create_spec.rb
|
@@ -650,6 +649,7 @@ files:
|
|
650
649
|
- spec/elasticsearch/api/actions/snapshot/delete_spec.rb
|
651
650
|
- spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb
|
652
651
|
- spec/elasticsearch/api/actions/snapshot/get_spec.rb
|
652
|
+
- spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb
|
653
653
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
654
654
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
655
655
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
@@ -664,6 +664,7 @@ files:
|
|
664
664
|
- spec/elasticsearch/api/rest_api_yaml_spec.rb
|
665
665
|
- spec/elasticsearch/api/utils_spec.rb
|
666
666
|
- spec/rest_yaml_tests_helper.rb
|
667
|
+
- spec/skipped_tests.yml
|
667
668
|
- spec/spec_helper.rb
|
668
669
|
- utils/Gemfile
|
669
670
|
- utils/README.md
|
@@ -680,13 +681,13 @@ files:
|
|
680
681
|
- utils/thor/templates/method.erb
|
681
682
|
- utils/thor/templates/test.erb
|
682
683
|
- utils/thor/templates/test_helper.rb
|
683
|
-
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.
|
684
|
+
homepage: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.16/index.html
|
684
685
|
licenses:
|
685
686
|
- Apache-2.0
|
686
687
|
metadata:
|
687
|
-
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.
|
688
|
-
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.
|
689
|
-
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.
|
688
|
+
homepage_uri: https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.16/index.html
|
689
|
+
changelog_uri: https://github.com/elastic/elasticsearch-ruby/blob/7.16/CHANGELOG.md
|
690
|
+
source_code_uri: https://github.com/elastic/elasticsearch-ruby/tree/7.16/elasticsearch-api
|
690
691
|
bug_tracker_uri: https://github.com/elastic/elasticsearch-ruby/issues
|
691
692
|
post_install_message:
|
692
693
|
rdoc_options:
|
@@ -704,13 +705,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
704
705
|
- !ruby/object:Gem::Version
|
705
706
|
version: '0'
|
706
707
|
requirements: []
|
707
|
-
rubygems_version: 3.
|
708
|
+
rubygems_version: 3.2.22
|
708
709
|
signing_key:
|
709
710
|
specification_version: 4
|
710
711
|
summary: Ruby API for Elasticsearch.
|
711
712
|
test_files:
|
712
|
-
- spec/elasticsearch/api/actions/abort_benchmark_spec.rb
|
713
|
-
- spec/elasticsearch/api/actions/benchmark_spec.rb
|
714
713
|
- spec/elasticsearch/api/actions/bulk_spec.rb
|
715
714
|
- spec/elasticsearch/api/actions/cat/aliases_spec.rb
|
716
715
|
- spec/elasticsearch/api/actions/cat/allocation_spec.rb
|
@@ -733,6 +732,7 @@ test_files:
|
|
733
732
|
- spec/elasticsearch/api/actions/cat/templates_spec.rb
|
734
733
|
- spec/elasticsearch/api/actions/cat/thread_pool_spec.rb
|
735
734
|
- spec/elasticsearch/api/actions/clear_scroll_spec.rb
|
735
|
+
- spec/elasticsearch/api/actions/close_point_in_time_spec.rb
|
736
736
|
- spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb
|
737
737
|
- spec/elasticsearch/api/actions/cluster/get_settings_spec.rb
|
738
738
|
- spec/elasticsearch/api/actions/cluster/health_spec.rb
|
@@ -752,6 +752,8 @@ test_files:
|
|
752
752
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
753
753
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
754
754
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
755
|
+
- spec/elasticsearch/api/actions/features/get_features_spec.rb
|
756
|
+
- spec/elasticsearch/api/actions/features/reset_features_spec.rb
|
755
757
|
- spec/elasticsearch/api/actions/field_caps_spec.rb
|
756
758
|
- spec/elasticsearch/api/actions/get_document_source_spec.rb
|
757
759
|
- spec/elasticsearch/api/actions/get_document_spec.rb
|
@@ -767,14 +769,15 @@ test_files:
|
|
767
769
|
- spec/elasticsearch/api/actions/indices/delete_alias_spec.rb
|
768
770
|
- spec/elasticsearch/api/actions/indices/delete_spec.rb
|
769
771
|
- spec/elasticsearch/api/actions/indices/delete_template_spec.rb
|
772
|
+
- spec/elasticsearch/api/actions/indices/disk_usage_spec.rb
|
770
773
|
- spec/elasticsearch/api/actions/indices/exists_alias_spec.rb
|
771
774
|
- spec/elasticsearch/api/actions/indices/exists_spec.rb
|
772
775
|
- spec/elasticsearch/api/actions/indices/exists_template_spec.rb
|
773
776
|
- spec/elasticsearch/api/actions/indices/exists_type_spec.rb
|
777
|
+
- spec/elasticsearch/api/actions/indices/field_usage_stats_spec.rb
|
774
778
|
- spec/elasticsearch/api/actions/indices/flush_spec.rb
|
775
779
|
- spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
|
776
780
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
777
|
-
- spec/elasticsearch/api/actions/indices/freeze_spec.rb
|
778
781
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
779
782
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
780
783
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
@@ -793,12 +796,12 @@ test_files:
|
|
793
796
|
- spec/elasticsearch/api/actions/indices/shrink_spec.rb
|
794
797
|
- spec/elasticsearch/api/actions/indices/split_spec.rb
|
795
798
|
- spec/elasticsearch/api/actions/indices/stats_spec.rb
|
796
|
-
- spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
|
797
799
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
798
800
|
- spec/elasticsearch/api/actions/indices/upgrade_spec.rb
|
799
801
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
800
802
|
- spec/elasticsearch/api/actions/info_spec.rb
|
801
803
|
- spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb
|
804
|
+
- spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb
|
802
805
|
- spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb
|
803
806
|
- spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
|
804
807
|
- spec/elasticsearch/api/actions/ingest/simulate_spec.rb
|
@@ -807,20 +810,25 @@ test_files:
|
|
807
810
|
- spec/elasticsearch/api/actions/msearch_spec.rb
|
808
811
|
- spec/elasticsearch/api/actions/msearch_template_spec.rb
|
809
812
|
- spec/elasticsearch/api/actions/mtermvectors_spec.rb
|
813
|
+
- spec/elasticsearch/api/actions/nodes/clear_repositories_metering_archive_spec.rb
|
814
|
+
- spec/elasticsearch/api/actions/nodes/get_repositories_metering_info_spec.rb
|
810
815
|
- spec/elasticsearch/api/actions/nodes/hot_threads_spec.rb
|
811
816
|
- spec/elasticsearch/api/actions/nodes/info_spec.rb
|
812
817
|
- spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
|
813
|
-
- spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
|
814
818
|
- spec/elasticsearch/api/actions/nodes/stats_spec.rb
|
819
|
+
- spec/elasticsearch/api/actions/open_point_in_time_spec.rb
|
815
820
|
- spec/elasticsearch/api/actions/ping_spec.rb
|
816
821
|
- spec/elasticsearch/api/actions/put_script_spec.rb
|
817
822
|
- spec/elasticsearch/api/actions/reindex_spec.rb
|
818
|
-
- spec/elasticsearch/api/actions/remote/info_spec.rb
|
819
823
|
- spec/elasticsearch/api/actions/render_search_template_spec.rb
|
820
824
|
- spec/elasticsearch/api/actions/scroll_spec.rb
|
825
|
+
- spec/elasticsearch/api/actions/search_mvt_spec.rb
|
821
826
|
- spec/elasticsearch/api/actions/search_shards_spec.rb
|
822
827
|
- spec/elasticsearch/api/actions/search_spec.rb
|
823
828
|
- spec/elasticsearch/api/actions/search_template_spec.rb
|
829
|
+
- spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb
|
830
|
+
- spec/elasticsearch/api/actions/shutdown/get_node_spec.rb
|
831
|
+
- spec/elasticsearch/api/actions/shutdown/put_node_spec.rb
|
824
832
|
- spec/elasticsearch/api/actions/snapshot/clone_spec.rb
|
825
833
|
- spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb
|
826
834
|
- spec/elasticsearch/api/actions/snapshot/create_spec.rb
|
@@ -828,6 +836,7 @@ test_files:
|
|
828
836
|
- spec/elasticsearch/api/actions/snapshot/delete_spec.rb
|
829
837
|
- spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb
|
830
838
|
- spec/elasticsearch/api/actions/snapshot/get_spec.rb
|
839
|
+
- spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb
|
831
840
|
- spec/elasticsearch/api/actions/snapshot/restore_spec.rb
|
832
841
|
- spec/elasticsearch/api/actions/snapshot/status_spec.rb
|
833
842
|
- spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
|
@@ -842,4 +851,5 @@ test_files:
|
|
842
851
|
- spec/elasticsearch/api/rest_api_yaml_spec.rb
|
843
852
|
- spec/elasticsearch/api/utils_spec.rb
|
844
853
|
- spec/rest_yaml_tests_helper.rb
|
854
|
+
- spec/skipped_tests.yml
|
845
855
|
- spec/spec_helper.rb
|