elasticsearch-api 7.9.0 → 7.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -4
  3. data/README.md +27 -13
  4. data/Rakefile +46 -62
  5. data/elasticsearch-api.gemspec +2 -4
  6. data/lib/elasticsearch/api/actions/bulk.rb +4 -3
  7. data/lib/elasticsearch/api/actions/cat/aliases.rb +1 -1
  8. data/lib/elasticsearch/api/actions/cat/allocation.rb +1 -1
  9. data/lib/elasticsearch/api/actions/cat/count.rb +1 -1
  10. data/lib/elasticsearch/api/actions/cat/fielddata.rb +1 -2
  11. data/lib/elasticsearch/api/actions/cat/health.rb +1 -1
  12. data/lib/elasticsearch/api/actions/cat/help.rb +1 -1
  13. data/lib/elasticsearch/api/actions/cat/indices.rb +2 -2
  14. data/lib/elasticsearch/api/actions/cat/master.rb +1 -1
  15. data/lib/elasticsearch/api/actions/cat/nodeattrs.rb +1 -1
  16. data/lib/elasticsearch/api/actions/cat/nodes.rb +4 -2
  17. data/lib/elasticsearch/api/actions/cat/pending_tasks.rb +1 -1
  18. data/lib/elasticsearch/api/actions/cat/plugins.rb +3 -1
  19. data/lib/elasticsearch/api/actions/cat/recovery.rb +1 -2
  20. data/lib/elasticsearch/api/actions/cat/repositories.rb +1 -1
  21. data/lib/elasticsearch/api/actions/cat/segments.rb +1 -1
  22. data/lib/elasticsearch/api/actions/cat/shards.rb +2 -2
  23. data/lib/elasticsearch/api/actions/cat/snapshots.rb +1 -1
  24. data/lib/elasticsearch/api/actions/cat/tasks.rb +5 -5
  25. data/lib/elasticsearch/api/actions/cat/templates.rb +1 -1
  26. data/lib/elasticsearch/api/actions/cat/thread_pool.rb +1 -1
  27. data/lib/elasticsearch/api/actions/clear_scroll.rb +1 -1
  28. data/lib/elasticsearch/api/actions/close_point_in_time.rb +42 -0
  29. data/lib/elasticsearch/api/actions/cluster/allocation_explain.rb +1 -1
  30. data/lib/elasticsearch/api/actions/cluster/delete_component_template.rb +1 -5
  31. data/lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb +1 -1
  32. data/lib/elasticsearch/api/actions/cluster/exists_component_template.rb +2 -5
  33. data/lib/elasticsearch/api/actions/cluster/get_component_template.rb +1 -5
  34. data/lib/elasticsearch/api/actions/cluster/get_settings.rb +1 -1
  35. data/lib/elasticsearch/api/actions/cluster/health.rb +1 -1
  36. data/lib/elasticsearch/api/actions/cluster/pending_tasks.rb +1 -1
  37. data/lib/elasticsearch/api/actions/cluster/post_voting_config_exclusions.rb +1 -1
  38. data/lib/elasticsearch/api/actions/cluster/put_component_template.rb +1 -5
  39. data/lib/elasticsearch/api/actions/cluster/put_settings.rb +1 -1
  40. data/lib/elasticsearch/api/actions/cluster/remote_info.rb +1 -1
  41. data/lib/elasticsearch/api/actions/cluster/reroute.rb +1 -1
  42. data/lib/elasticsearch/api/actions/cluster/state.rb +1 -1
  43. data/lib/elasticsearch/api/actions/cluster/stats.rb +1 -1
  44. data/lib/elasticsearch/api/actions/count.rb +1 -1
  45. data/lib/elasticsearch/api/actions/create.rb +1 -1
  46. data/lib/elasticsearch/api/actions/dangling_indices/delete_dangling_index.rb +1 -1
  47. data/lib/elasticsearch/api/actions/dangling_indices/import_dangling_index.rb +1 -1
  48. data/lib/elasticsearch/api/actions/dangling_indices/list_dangling_indices.rb +1 -1
  49. data/lib/elasticsearch/api/actions/delete.rb +1 -1
  50. data/lib/elasticsearch/api/actions/delete_by_query.rb +1 -1
  51. data/lib/elasticsearch/api/actions/delete_by_query_rethrottle.rb +1 -1
  52. data/lib/elasticsearch/api/actions/delete_script.rb +1 -1
  53. data/lib/elasticsearch/api/actions/exists.rb +2 -1
  54. data/lib/elasticsearch/api/actions/exists_source.rb +2 -1
  55. data/lib/elasticsearch/api/actions/explain.rb +6 -6
  56. data/lib/elasticsearch/api/actions/features/get_features.rb +51 -0
  57. data/lib/elasticsearch/api/actions/features/params_registry.rb +60 -0
  58. data/lib/elasticsearch/api/actions/features/reset_features.rb +47 -0
  59. data/lib/elasticsearch/api/actions/field_caps.rb +6 -6
  60. data/lib/elasticsearch/api/actions/get.rb +1 -1
  61. data/lib/elasticsearch/api/actions/get_script.rb +1 -1
  62. data/lib/elasticsearch/api/actions/get_script_context.rb +1 -1
  63. data/lib/elasticsearch/api/actions/get_script_languages.rb +1 -1
  64. data/lib/elasticsearch/api/actions/get_source.rb +1 -1
  65. data/lib/elasticsearch/api/actions/index.rb +4 -2
  66. data/lib/elasticsearch/api/actions/indices/add_block.rb +1 -1
  67. data/lib/elasticsearch/api/actions/indices/analyze.rb +6 -7
  68. data/lib/elasticsearch/api/actions/indices/clear_cache.rb +1 -2
  69. data/lib/elasticsearch/api/actions/indices/clone.rb +1 -1
  70. data/lib/elasticsearch/api/actions/indices/close.rb +2 -2
  71. data/lib/elasticsearch/api/actions/indices/create.rb +1 -1
  72. data/lib/elasticsearch/api/actions/indices/delete.rb +1 -1
  73. data/lib/elasticsearch/api/actions/indices/delete_alias.rb +1 -1
  74. data/lib/elasticsearch/api/actions/indices/delete_index_template.rb +1 -5
  75. data/lib/elasticsearch/api/actions/indices/delete_template.rb +1 -1
  76. data/lib/elasticsearch/api/actions/indices/exists.rb +2 -1
  77. data/lib/elasticsearch/api/actions/indices/exists_alias.rb +2 -1
  78. data/lib/elasticsearch/api/actions/indices/exists_index_template.rb +2 -5
  79. data/lib/elasticsearch/api/actions/indices/exists_template.rb +2 -1
  80. data/lib/elasticsearch/api/actions/indices/exists_type.rb +2 -1
  81. data/lib/elasticsearch/api/actions/indices/flush.rb +1 -1
  82. data/lib/elasticsearch/api/actions/indices/flush_synced.rb +6 -1
  83. data/lib/elasticsearch/api/actions/indices/forcemerge.rb +1 -1
  84. data/lib/elasticsearch/api/actions/indices/get.rb +1 -1
  85. data/lib/elasticsearch/api/actions/indices/get_alias.rb +1 -1
  86. data/lib/elasticsearch/api/actions/indices/get_field_mapping.rb +1 -1
  87. data/lib/elasticsearch/api/actions/indices/get_index_template.rb +1 -5
  88. data/lib/elasticsearch/api/actions/indices/get_mapping.rb +1 -1
  89. data/lib/elasticsearch/api/actions/indices/get_settings.rb +1 -1
  90. data/lib/elasticsearch/api/actions/indices/get_template.rb +1 -1
  91. data/lib/elasticsearch/api/actions/indices/get_upgrade.rb +7 -2
  92. data/lib/elasticsearch/api/actions/indices/open.rb +1 -1
  93. data/lib/elasticsearch/api/actions/indices/put_alias.rb +1 -1
  94. data/lib/elasticsearch/api/actions/indices/put_index_template.rb +1 -5
  95. data/lib/elasticsearch/api/actions/indices/put_mapping.rb +1 -1
  96. data/lib/elasticsearch/api/actions/indices/put_settings.rb +1 -1
  97. data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -1
  98. data/lib/elasticsearch/api/actions/indices/recovery.rb +1 -1
  99. data/lib/elasticsearch/api/actions/indices/refresh.rb +1 -1
  100. data/lib/elasticsearch/api/actions/indices/resolve_index.rb +1 -1
  101. data/lib/elasticsearch/api/actions/indices/rollover.rb +1 -1
  102. data/lib/elasticsearch/api/actions/indices/segments.rb +1 -1
  103. data/lib/elasticsearch/api/actions/indices/shard_stores.rb +1 -1
  104. data/lib/elasticsearch/api/actions/indices/shrink.rb +1 -1
  105. data/lib/elasticsearch/api/actions/indices/simulate_index_template.rb +1 -5
  106. data/lib/elasticsearch/api/actions/indices/simulate_template.rb +1 -5
  107. data/lib/elasticsearch/api/actions/indices/split.rb +1 -1
  108. data/lib/elasticsearch/api/actions/indices/stats.rb +1 -1
  109. data/lib/elasticsearch/api/actions/indices/update_aliases.rb +1 -1
  110. data/lib/elasticsearch/api/actions/indices/upgrade.rb +7 -2
  111. data/lib/elasticsearch/api/actions/indices/validate_query.rb +8 -8
  112. data/lib/elasticsearch/api/actions/info.rb +1 -1
  113. data/lib/elasticsearch/api/actions/ingest/delete_pipeline.rb +1 -1
  114. data/lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb +43 -0
  115. data/lib/elasticsearch/api/actions/ingest/get_pipeline.rb +3 -1
  116. data/lib/elasticsearch/api/actions/ingest/processor_grok.rb +1 -1
  117. data/lib/elasticsearch/api/actions/ingest/put_pipeline.rb +1 -1
  118. data/lib/elasticsearch/api/actions/ingest/simulate.rb +1 -1
  119. data/lib/elasticsearch/api/actions/mget.rb +1 -1
  120. data/lib/elasticsearch/api/actions/msearch.rb +4 -6
  121. data/lib/elasticsearch/api/actions/msearch_template.rb +2 -2
  122. data/lib/elasticsearch/api/actions/mtermvectors.rb +8 -8
  123. data/lib/elasticsearch/api/actions/nodes/hot_threads.rb +1 -1
  124. data/lib/elasticsearch/api/actions/nodes/info.rb +1 -1
  125. data/lib/elasticsearch/api/actions/nodes/reload_secure_settings.rb +1 -1
  126. data/lib/elasticsearch/api/actions/nodes/stats.rb +4 -2
  127. data/lib/elasticsearch/api/actions/nodes/usage.rb +1 -1
  128. data/lib/elasticsearch/api/actions/open_point_in_time.rb +64 -0
  129. data/lib/elasticsearch/api/actions/ping.rb +3 -3
  130. data/lib/elasticsearch/api/actions/put_script.rb +1 -2
  131. data/lib/elasticsearch/api/actions/rank_eval.rb +1 -1
  132. data/lib/elasticsearch/api/actions/reindex.rb +1 -1
  133. data/lib/elasticsearch/api/actions/reindex_rethrottle.rb +1 -1
  134. data/lib/elasticsearch/api/actions/render_search_template.rb +6 -6
  135. data/lib/elasticsearch/api/actions/scripts_painless_execute.rb +2 -2
  136. data/lib/elasticsearch/api/actions/scroll.rb +6 -7
  137. data/lib/elasticsearch/api/actions/search.rb +11 -9
  138. data/lib/elasticsearch/api/actions/search_shards.rb +1 -1
  139. data/lib/elasticsearch/api/actions/search_template.rb +2 -2
  140. data/lib/elasticsearch/api/actions/shutdown/delete_node.rb +52 -0
  141. data/lib/elasticsearch/api/actions/shutdown/get_node.rb +54 -0
  142. data/lib/elasticsearch/api/actions/shutdown/params_registry.rb +60 -0
  143. data/lib/elasticsearch/api/actions/shutdown/put_node.rb +54 -0
  144. data/lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb +1 -1
  145. data/lib/elasticsearch/api/actions/snapshot/clone.rb +66 -0
  146. data/lib/elasticsearch/api/actions/snapshot/create.rb +1 -1
  147. data/lib/elasticsearch/api/actions/snapshot/create_repository.rb +1 -1
  148. data/lib/elasticsearch/api/actions/snapshot/delete.rb +1 -1
  149. data/lib/elasticsearch/api/actions/snapshot/delete_repository.rb +1 -1
  150. data/lib/elasticsearch/api/actions/snapshot/get.rb +5 -1
  151. data/lib/elasticsearch/api/actions/snapshot/get_features.rb +51 -0
  152. data/lib/elasticsearch/api/actions/snapshot/get_repository.rb +1 -1
  153. data/lib/elasticsearch/api/actions/snapshot/repository_analyze.rb +76 -0
  154. data/lib/elasticsearch/api/actions/snapshot/restore.rb +1 -1
  155. data/lib/elasticsearch/api/actions/snapshot/status.rb +1 -1
  156. data/lib/elasticsearch/api/actions/snapshot/verify_repository.rb +1 -1
  157. data/lib/elasticsearch/api/actions/tasks/cancel.rb +5 -1
  158. data/lib/elasticsearch/api/actions/tasks/get.rb +5 -1
  159. data/lib/elasticsearch/api/actions/tasks/list.rb +5 -1
  160. data/lib/elasticsearch/api/actions/termvectors.rb +11 -10
  161. data/lib/elasticsearch/api/actions/update.rb +4 -2
  162. data/lib/elasticsearch/api/actions/update_by_query.rb +1 -1
  163. data/lib/elasticsearch/api/actions/update_by_query_rethrottle.rb +1 -1
  164. data/lib/elasticsearch/api/namespace/features.rb +36 -0
  165. data/lib/elasticsearch/api/namespace/security.rb +36 -0
  166. data/lib/elasticsearch/api/namespace/shutdown.rb +37 -0
  167. data/lib/elasticsearch/api/version.rb +1 -1
  168. data/lib/elasticsearch/api.rb +3 -1
  169. data/spec/elasticsearch/api/actions/close_point_in_time_spec.rb +34 -0
  170. data/spec/elasticsearch/api/actions/features/get_features_spec.rb +34 -0
  171. data/spec/elasticsearch/api/actions/features/reset_features_spec.rb +34 -0
  172. data/spec/elasticsearch/api/actions/indices/clear_cache_spec.rb +16 -3
  173. data/spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb +34 -0
  174. data/spec/elasticsearch/api/actions/msearch_spec.rb +16 -33
  175. data/spec/elasticsearch/api/actions/open_point_in_time_spec.rb +44 -0
  176. data/spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb +44 -0
  177. data/spec/elasticsearch/api/actions/{indices/freeze_spec.rb → shutdown/get_node_spec.rb} +12 -51
  178. data/spec/elasticsearch/api/actions/shutdown/put_node_spec.rb +50 -0
  179. data/spec/elasticsearch/api/actions/snapshot/clone_spec.rb +67 -0
  180. data/spec/elasticsearch/api/actions/snapshot/get_features_spec.rb +38 -0
  181. data/spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb +48 -0
  182. data/spec/elasticsearch/api/rest_api_yaml_spec.rb +36 -9
  183. data/spec/rest_yaml_tests_helper.rb +25 -52
  184. data/spec/skipped_tests.yml +29 -0
  185. data/spec/spec_helper.rb +4 -1
  186. data/utils/Gemfile +4 -3
  187. data/utils/README.md +6 -1
  188. data/utils/thor/generate_source.rb +1 -2
  189. data/utils/thor/generator/endpoint_specifics.rb +6 -2
  190. data/utils/thor/generator/files_helper.rb +38 -20
  191. data/utils/thor/templates/_documentation_top.erb +20 -1
  192. data/utils/thor/templates/_method_setup.erb +18 -0
  193. data/utils/thor/templates/_params_registry.erb +19 -0
  194. data/utils/thor/templates/_perform_request.erb +19 -1
  195. data/utils/thor/templates/test.erb +16 -3
  196. data/utils/thor/templates/test_helper.rb +0 -4
  197. metadata +46 -46
  198. data/lib/elasticsearch/api/actions/indices/freeze.rb +0 -56
  199. data/lib/elasticsearch/api/actions/indices/unfreeze.rb +0 -56
  200. data/spec/elasticsearch/api/actions/indices/unfreeze_spec.rb +0 -85
@@ -66,11 +66,10 @@ module Elasticsearch
66
66
 
67
67
  def __generate_source(api)
68
68
  @current_api = api
69
- @input = FilesHelper.input_dir(api)
70
69
  @output = FilesHelper.output_dir(api)
71
70
 
72
71
  FilesHelper.files(api).each do |filepath|
73
- @path = Pathname(@input.join(filepath))
72
+ @path = Pathname(filepath)
74
73
  @json = MultiJson.load(File.read(@path))
75
74
  @spec = @json.values.first
76
75
  say_status 'json', @path, :yellow
@@ -136,11 +136,11 @@ module Elasticsearch
136
136
  end.
137
137
  map { |item| Elasticsearch::API.serializer.dump(item) }
138
138
  payload << "" unless payload.empty?
139
- payload = payload.join("\n")
139
+ payload = payload.join("\\n")
140
140
  when body.is_a?(Array)
141
141
  payload = body.map { |d| d.is_a?(String) ? d : Elasticsearch::API.serializer.dump(d) }
142
142
  payload << "" unless payload.empty?
143
- payload = payload.join("\n")
143
+ payload = payload.join("\\n")
144
144
  else
145
145
  payload = body
146
146
  end
@@ -170,6 +170,10 @@ module Elasticsearch
170
170
  SRC
171
171
  end
172
172
 
173
+ def find_structure_body_helper
174
+ bulk_body_helper
175
+ end
176
+
173
177
  def bulk_doc_helper(info)
174
178
  <<~SRC
175
179
  # @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
- OSS_SRC_PATH = '../../../../../tmp/elasticsearch/rest-api-spec/src/main/resources/rest-api-spec/api/'.freeze
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
- # Path to directory with JSON API specs
31
- def self.input_dir(api)
32
- input_dir = if api == :xpack
33
- File.expand_path(XPACK_SRC_PATH, __FILE__)
34
- else
35
- File.expand_path(OSS_SRC_PATH, __FILE__)
36
- end
37
- Pathname(input_dir)
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 %>
@@ -12,7 +31,7 @@
12
31
  <%- end -%><%# Body -%>
13
32
  <%# URL parameters -%>
14
33
  <%- @params.each do |name, info| -%>
15
- <%= docs_helper(name, info) -%>
34
+ <%= docs_helper(name, info) unless (!@parts.empty? && @parts.keys.include?(name)) -%>
16
35
  <%- end -%>
17
36
  # @option arguments [Hash] :headers Custom HTTP headers
18
37
  <%- if @spec['body'] -%>
@@ -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 agreements.
2
- # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
- # See the LICENSE file in the project root for more information
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.9.0
4
+ version: 7.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karel Minarik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-18 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: multi_json
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: elasticsearch-extensions
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ">="
74
- - !ruby/object:Gem::Version
75
- version: '0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: elasticsearch-transport
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +142,14 @@ dependencies:
156
142
  requirements:
157
143
  - - "~>"
158
144
  - !ruby/object:Gem::Version
159
- version: '11.1'
145
+ version: '13'
160
146
  type: :development
161
147
  prerelease: false
162
148
  version_requirements: !ruby/object:Gem::Requirement
163
149
  requirements:
164
150
  - - "~>"
165
151
  - !ruby/object:Gem::Version
166
- version: '11.1'
152
+ version: '13'
167
153
  - !ruby/object:Gem::Dependency
168
154
  name: shoulda-context
169
155
  requirement: !ruby/object:Gem::Requirement
@@ -278,26 +264,6 @@ dependencies:
278
264
  version: '0'
279
265
  - !ruby/object:Gem::Dependency
280
266
  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
267
  requirement: !ruby/object:Gem::Requirement
302
268
  requirements:
303
269
  - - ">="
@@ -340,7 +306,7 @@ dependencies:
340
306
  version: '0'
341
307
  description: 'Ruby API for Elasticsearch. See the `elasticsearch` gem for full integration.
342
308
 
343
- '
309
+ '
344
310
  email:
345
311
  - karel.minarik@elasticsearch.org
346
312
  executables: []
@@ -382,6 +348,7 @@ files:
382
348
  - lib/elasticsearch/api/actions/cat/templates.rb
383
349
  - lib/elasticsearch/api/actions/cat/thread_pool.rb
384
350
  - lib/elasticsearch/api/actions/clear_scroll.rb
351
+ - lib/elasticsearch/api/actions/close_point_in_time.rb
385
352
  - lib/elasticsearch/api/actions/cluster/allocation_explain.rb
386
353
  - lib/elasticsearch/api/actions/cluster/delete_component_template.rb
387
354
  - lib/elasticsearch/api/actions/cluster/delete_voting_config_exclusions.rb
@@ -412,6 +379,9 @@ files:
412
379
  - lib/elasticsearch/api/actions/exists.rb
413
380
  - lib/elasticsearch/api/actions/exists_source.rb
414
381
  - lib/elasticsearch/api/actions/explain.rb
382
+ - lib/elasticsearch/api/actions/features/get_features.rb
383
+ - lib/elasticsearch/api/actions/features/params_registry.rb
384
+ - lib/elasticsearch/api/actions/features/reset_features.rb
415
385
  - lib/elasticsearch/api/actions/field_caps.rb
416
386
  - lib/elasticsearch/api/actions/get.rb
417
387
  - lib/elasticsearch/api/actions/get_script.rb
@@ -437,7 +407,6 @@ files:
437
407
  - lib/elasticsearch/api/actions/indices/flush.rb
438
408
  - lib/elasticsearch/api/actions/indices/flush_synced.rb
439
409
  - lib/elasticsearch/api/actions/indices/forcemerge.rb
440
- - lib/elasticsearch/api/actions/indices/freeze.rb
441
410
  - lib/elasticsearch/api/actions/indices/get.rb
442
411
  - lib/elasticsearch/api/actions/indices/get_alias.rb
443
412
  - lib/elasticsearch/api/actions/indices/get_field_mapping.rb
@@ -464,12 +433,12 @@ files:
464
433
  - lib/elasticsearch/api/actions/indices/simulate_template.rb
465
434
  - lib/elasticsearch/api/actions/indices/split.rb
466
435
  - lib/elasticsearch/api/actions/indices/stats.rb
467
- - lib/elasticsearch/api/actions/indices/unfreeze.rb
468
436
  - lib/elasticsearch/api/actions/indices/update_aliases.rb
469
437
  - lib/elasticsearch/api/actions/indices/upgrade.rb
470
438
  - lib/elasticsearch/api/actions/indices/validate_query.rb
471
439
  - lib/elasticsearch/api/actions/info.rb
472
440
  - lib/elasticsearch/api/actions/ingest/delete_pipeline.rb
441
+ - lib/elasticsearch/api/actions/ingest/geo_ip_stats.rb
473
442
  - lib/elasticsearch/api/actions/ingest/get_pipeline.rb
474
443
  - lib/elasticsearch/api/actions/ingest/params_registry.rb
475
444
  - lib/elasticsearch/api/actions/ingest/processor_grok.rb
@@ -486,6 +455,7 @@ files:
486
455
  - lib/elasticsearch/api/actions/nodes/shutdown.rb
487
456
  - lib/elasticsearch/api/actions/nodes/stats.rb
488
457
  - lib/elasticsearch/api/actions/nodes/usage.rb
458
+ - lib/elasticsearch/api/actions/open_point_in_time.rb
489
459
  - lib/elasticsearch/api/actions/params_registry.rb
490
460
  - lib/elasticsearch/api/actions/ping.rb
491
461
  - lib/elasticsearch/api/actions/put_script.rb
@@ -499,14 +469,21 @@ files:
499
469
  - lib/elasticsearch/api/actions/search.rb
500
470
  - lib/elasticsearch/api/actions/search_shards.rb
501
471
  - lib/elasticsearch/api/actions/search_template.rb
472
+ - lib/elasticsearch/api/actions/shutdown/delete_node.rb
473
+ - lib/elasticsearch/api/actions/shutdown/get_node.rb
474
+ - lib/elasticsearch/api/actions/shutdown/params_registry.rb
475
+ - lib/elasticsearch/api/actions/shutdown/put_node.rb
502
476
  - lib/elasticsearch/api/actions/snapshot/cleanup_repository.rb
477
+ - lib/elasticsearch/api/actions/snapshot/clone.rb
503
478
  - lib/elasticsearch/api/actions/snapshot/create.rb
504
479
  - lib/elasticsearch/api/actions/snapshot/create_repository.rb
505
480
  - lib/elasticsearch/api/actions/snapshot/delete.rb
506
481
  - lib/elasticsearch/api/actions/snapshot/delete_repository.rb
507
482
  - lib/elasticsearch/api/actions/snapshot/get.rb
483
+ - lib/elasticsearch/api/actions/snapshot/get_features.rb
508
484
  - lib/elasticsearch/api/actions/snapshot/get_repository.rb
509
485
  - lib/elasticsearch/api/actions/snapshot/params_registry.rb
486
+ - lib/elasticsearch/api/actions/snapshot/repository_analyze.rb
510
487
  - lib/elasticsearch/api/actions/snapshot/restore.rb
511
488
  - lib/elasticsearch/api/actions/snapshot/status.rb
512
489
  - lib/elasticsearch/api/actions/snapshot/verify_repository.rb
@@ -522,10 +499,13 @@ files:
522
499
  - lib/elasticsearch/api/namespace/cluster.rb
523
500
  - lib/elasticsearch/api/namespace/common.rb
524
501
  - lib/elasticsearch/api/namespace/dangling_indices.rb
502
+ - lib/elasticsearch/api/namespace/features.rb
525
503
  - lib/elasticsearch/api/namespace/indices.rb
526
504
  - lib/elasticsearch/api/namespace/ingest.rb
527
505
  - lib/elasticsearch/api/namespace/nodes.rb
528
506
  - lib/elasticsearch/api/namespace/remote.rb
507
+ - lib/elasticsearch/api/namespace/security.rb
508
+ - lib/elasticsearch/api/namespace/shutdown.rb
529
509
  - lib/elasticsearch/api/namespace/snapshot.rb
530
510
  - lib/elasticsearch/api/namespace/tasks.rb
531
511
  - lib/elasticsearch/api/utils.rb
@@ -554,6 +534,7 @@ files:
554
534
  - spec/elasticsearch/api/actions/cat/templates_spec.rb
555
535
  - spec/elasticsearch/api/actions/cat/thread_pool_spec.rb
556
536
  - spec/elasticsearch/api/actions/clear_scroll_spec.rb
537
+ - spec/elasticsearch/api/actions/close_point_in_time_spec.rb
557
538
  - spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb
558
539
  - spec/elasticsearch/api/actions/cluster/get_settings_spec.rb
559
540
  - spec/elasticsearch/api/actions/cluster/health_spec.rb
@@ -573,6 +554,8 @@ files:
573
554
  - spec/elasticsearch/api/actions/delete_script_spec.rb
574
555
  - spec/elasticsearch/api/actions/exists_document_spec.rb
575
556
  - spec/elasticsearch/api/actions/explain_document_spec.rb
557
+ - spec/elasticsearch/api/actions/features/get_features_spec.rb
558
+ - spec/elasticsearch/api/actions/features/reset_features_spec.rb
576
559
  - spec/elasticsearch/api/actions/field_caps_spec.rb
577
560
  - spec/elasticsearch/api/actions/get_document_source_spec.rb
578
561
  - spec/elasticsearch/api/actions/get_document_spec.rb
@@ -595,7 +578,6 @@ files:
595
578
  - spec/elasticsearch/api/actions/indices/flush_spec.rb
596
579
  - spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
597
580
  - spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
598
- - spec/elasticsearch/api/actions/indices/freeze_spec.rb
599
581
  - spec/elasticsearch/api/actions/indices/get_alias_spec.rb
600
582
  - spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
601
583
  - spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
@@ -614,12 +596,12 @@ files:
614
596
  - spec/elasticsearch/api/actions/indices/shrink_spec.rb
615
597
  - spec/elasticsearch/api/actions/indices/split_spec.rb
616
598
  - spec/elasticsearch/api/actions/indices/stats_spec.rb
617
- - spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
618
599
  - spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
619
600
  - spec/elasticsearch/api/actions/indices/upgrade_spec.rb
620
601
  - spec/elasticsearch/api/actions/indices/validate_query_spec.rb
621
602
  - spec/elasticsearch/api/actions/info_spec.rb
622
603
  - spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb
604
+ - spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb
623
605
  - spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb
624
606
  - spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
625
607
  - spec/elasticsearch/api/actions/ingest/simulate_spec.rb
@@ -633,6 +615,7 @@ files:
633
615
  - spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
634
616
  - spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
635
617
  - spec/elasticsearch/api/actions/nodes/stats_spec.rb
618
+ - spec/elasticsearch/api/actions/open_point_in_time_spec.rb
636
619
  - spec/elasticsearch/api/actions/ping_spec.rb
637
620
  - spec/elasticsearch/api/actions/put_script_spec.rb
638
621
  - spec/elasticsearch/api/actions/reindex_spec.rb
@@ -642,12 +625,18 @@ files:
642
625
  - spec/elasticsearch/api/actions/search_shards_spec.rb
643
626
  - spec/elasticsearch/api/actions/search_spec.rb
644
627
  - spec/elasticsearch/api/actions/search_template_spec.rb
628
+ - spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb
629
+ - spec/elasticsearch/api/actions/shutdown/get_node_spec.rb
630
+ - spec/elasticsearch/api/actions/shutdown/put_node_spec.rb
631
+ - spec/elasticsearch/api/actions/snapshot/clone_spec.rb
645
632
  - spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb
646
633
  - spec/elasticsearch/api/actions/snapshot/create_spec.rb
647
634
  - spec/elasticsearch/api/actions/snapshot/delete_repository_spec.rb
648
635
  - spec/elasticsearch/api/actions/snapshot/delete_spec.rb
636
+ - spec/elasticsearch/api/actions/snapshot/get_features_spec.rb
649
637
  - spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb
650
638
  - spec/elasticsearch/api/actions/snapshot/get_spec.rb
639
+ - spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb
651
640
  - spec/elasticsearch/api/actions/snapshot/restore_spec.rb
652
641
  - spec/elasticsearch/api/actions/snapshot/status_spec.rb
653
642
  - spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
@@ -662,6 +651,7 @@ files:
662
651
  - spec/elasticsearch/api/rest_api_yaml_spec.rb
663
652
  - spec/elasticsearch/api/utils_spec.rb
664
653
  - spec/rest_yaml_tests_helper.rb
654
+ - spec/skipped_tests.yml
665
655
  - spec/spec_helper.rb
666
656
  - utils/Gemfile
667
657
  - utils/README.md
@@ -702,7 +692,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
702
692
  - !ruby/object:Gem::Version
703
693
  version: '0'
704
694
  requirements: []
705
- rubygems_version: 3.1.2
695
+ rubygems_version: 3.2.22
706
696
  signing_key:
707
697
  specification_version: 4
708
698
  summary: Ruby API for Elasticsearch.
@@ -731,6 +721,7 @@ test_files:
731
721
  - spec/elasticsearch/api/actions/cat/templates_spec.rb
732
722
  - spec/elasticsearch/api/actions/cat/thread_pool_spec.rb
733
723
  - spec/elasticsearch/api/actions/clear_scroll_spec.rb
724
+ - spec/elasticsearch/api/actions/close_point_in_time_spec.rb
734
725
  - spec/elasticsearch/api/actions/cluster/allocation_explain_spec.rb
735
726
  - spec/elasticsearch/api/actions/cluster/get_settings_spec.rb
736
727
  - spec/elasticsearch/api/actions/cluster/health_spec.rb
@@ -750,6 +741,8 @@ test_files:
750
741
  - spec/elasticsearch/api/actions/delete_script_spec.rb
751
742
  - spec/elasticsearch/api/actions/exists_document_spec.rb
752
743
  - spec/elasticsearch/api/actions/explain_document_spec.rb
744
+ - spec/elasticsearch/api/actions/features/get_features_spec.rb
745
+ - spec/elasticsearch/api/actions/features/reset_features_spec.rb
753
746
  - spec/elasticsearch/api/actions/field_caps_spec.rb
754
747
  - spec/elasticsearch/api/actions/get_document_source_spec.rb
755
748
  - spec/elasticsearch/api/actions/get_document_spec.rb
@@ -772,7 +765,6 @@ test_files:
772
765
  - spec/elasticsearch/api/actions/indices/flush_spec.rb
773
766
  - spec/elasticsearch/api/actions/indices/flush_synced_spec.rb
774
767
  - spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
775
- - spec/elasticsearch/api/actions/indices/freeze_spec.rb
776
768
  - spec/elasticsearch/api/actions/indices/get_alias_spec.rb
777
769
  - spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
778
770
  - spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
@@ -791,12 +783,12 @@ test_files:
791
783
  - spec/elasticsearch/api/actions/indices/shrink_spec.rb
792
784
  - spec/elasticsearch/api/actions/indices/split_spec.rb
793
785
  - spec/elasticsearch/api/actions/indices/stats_spec.rb
794
- - spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
795
786
  - spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
796
787
  - spec/elasticsearch/api/actions/indices/upgrade_spec.rb
797
788
  - spec/elasticsearch/api/actions/indices/validate_query_spec.rb
798
789
  - spec/elasticsearch/api/actions/info_spec.rb
799
790
  - spec/elasticsearch/api/actions/ingest/delete_pipeline_spec.rb
791
+ - spec/elasticsearch/api/actions/ingest/geo_ip_stats_spec.rb
800
792
  - spec/elasticsearch/api/actions/ingest/get_pipeline_spec.rb
801
793
  - spec/elasticsearch/api/actions/ingest/put_pipeline_spec.rb
802
794
  - spec/elasticsearch/api/actions/ingest/simulate_spec.rb
@@ -810,6 +802,7 @@ test_files:
810
802
  - spec/elasticsearch/api/actions/nodes/reload_secure_settings_spec.rb
811
803
  - spec/elasticsearch/api/actions/nodes/shutdown_spec.rb
812
804
  - spec/elasticsearch/api/actions/nodes/stats_spec.rb
805
+ - spec/elasticsearch/api/actions/open_point_in_time_spec.rb
813
806
  - spec/elasticsearch/api/actions/ping_spec.rb
814
807
  - spec/elasticsearch/api/actions/put_script_spec.rb
815
808
  - spec/elasticsearch/api/actions/reindex_spec.rb
@@ -819,12 +812,18 @@ test_files:
819
812
  - spec/elasticsearch/api/actions/search_shards_spec.rb
820
813
  - spec/elasticsearch/api/actions/search_spec.rb
821
814
  - spec/elasticsearch/api/actions/search_template_spec.rb
815
+ - spec/elasticsearch/api/actions/shutdown/delete_node_spec.rb
816
+ - spec/elasticsearch/api/actions/shutdown/get_node_spec.rb
817
+ - spec/elasticsearch/api/actions/shutdown/put_node_spec.rb
818
+ - spec/elasticsearch/api/actions/snapshot/clone_spec.rb
822
819
  - spec/elasticsearch/api/actions/snapshot/create_repository_spec.rb
823
820
  - spec/elasticsearch/api/actions/snapshot/create_spec.rb
824
821
  - spec/elasticsearch/api/actions/snapshot/delete_repository_spec.rb
825
822
  - spec/elasticsearch/api/actions/snapshot/delete_spec.rb
823
+ - spec/elasticsearch/api/actions/snapshot/get_features_spec.rb
826
824
  - spec/elasticsearch/api/actions/snapshot/get_repository_spec.rb
827
825
  - spec/elasticsearch/api/actions/snapshot/get_spec.rb
826
+ - spec/elasticsearch/api/actions/snapshot/repository_analize_spec.rb
828
827
  - spec/elasticsearch/api/actions/snapshot/restore_spec.rb
829
828
  - spec/elasticsearch/api/actions/snapshot/status_spec.rb
830
829
  - spec/elasticsearch/api/actions/snapshot/verify_repository_spec.rb
@@ -839,4 +838,5 @@ test_files:
839
838
  - spec/elasticsearch/api/rest_api_yaml_spec.rb
840
839
  - spec/elasticsearch/api/utils_spec.rb
841
840
  - spec/rest_yaml_tests_helper.rb
841
+ - spec/skipped_tests.yml
842
842
  - spec/spec_helper.rb