elasticsearch-api 8.17.1 → 8.18.0
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 +4 -4
- data/elasticsearch-api.gemspec +2 -1
- data/lib/elasticsearch/api/actions/async_search/submit.rb +1 -0
- data/lib/elasticsearch/api/actions/bulk.rb +1 -0
- data/lib/elasticsearch/api/actions/cat/help.rb +1 -3
- data/lib/elasticsearch/api/actions/cat/segments.rb +2 -0
- data/lib/elasticsearch/api/actions/cat/tasks.rb +2 -0
- data/lib/elasticsearch/api/actions/create.rb +1 -0
- data/lib/elasticsearch/api/actions/eql/search.rb +2 -0
- data/lib/elasticsearch/api/actions/esql/async_query_delete.rb +60 -0
- data/lib/elasticsearch/api/actions/esql/async_query_stop.rb +60 -0
- data/lib/elasticsearch/api/actions/index.rb +1 -0
- data/lib/elasticsearch/api/actions/indices/get_data_lifecycle_stats.rb +50 -0
- data/lib/elasticsearch/api/actions/indices/put_template.rb +1 -0
- data/lib/elasticsearch/api/actions/indices/resolve_cluster.rb +11 -8
- data/lib/elasticsearch/api/actions/indices/rollover.rb +0 -1
- data/lib/elasticsearch/api/actions/inference/chat_completion_unified.rb +61 -0
- data/lib/elasticsearch/api/actions/inference/completion.rb +61 -0
- data/lib/elasticsearch/api/actions/inference/delete.rb +0 -4
- data/lib/elasticsearch/api/actions/inference/get.rb +0 -4
- data/lib/elasticsearch/api/actions/inference/inference.rb +0 -4
- data/lib/elasticsearch/api/actions/inference/put.rb +0 -4
- data/lib/elasticsearch/api/actions/inference/put_alibabacloud.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_anthropic.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_azureaistudio.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_azureopenai.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_cohere.rb +65 -0
- data/lib/elasticsearch/api/actions/inference/put_elasticsearch.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_elser.rb +65 -0
- data/lib/elasticsearch/api/actions/inference/put_googleaistudio.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_googlevertexai.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_hugging_face.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_jinaai.rb +65 -0
- data/lib/elasticsearch/api/actions/inference/put_mistral.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_openai.rb +65 -0
- data/lib/elasticsearch/api/actions/inference/put_voyageai.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/put_watsonx.rb +69 -0
- data/lib/elasticsearch/api/actions/inference/rerank.rb +61 -0
- data/lib/elasticsearch/api/actions/inference/sparse_embedding.rb +61 -0
- data/lib/elasticsearch/api/actions/inference/stream_completion.rb +61 -0
- data/lib/elasticsearch/api/actions/inference/text_embedding.rb +61 -0
- data/lib/elasticsearch/api/actions/inference/{stream_inference.rb → update.rb} +8 -12
- data/lib/elasticsearch/api/actions/license/post_start_trial.rb +0 -1
- data/lib/elasticsearch/api/actions/machine_learning/start_trained_model_deployment.rb +2 -1
- data/lib/elasticsearch/api/actions/security/delegate_pki.rb +53 -0
- data/lib/elasticsearch/api/actions/shutdown/delete_node.rb +3 -1
- data/lib/elasticsearch/api/actions/shutdown/put_node.rb +3 -1
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/delete_lifecycle.rb +3 -1
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_lifecycle.rb +3 -1
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/execute_retention.rb +3 -1
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_lifecycle.rb +3 -1
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_stats.rb +3 -1
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/get_status.rb +3 -1
- data/lib/elasticsearch/api/actions/snapshot_lifecycle_management/put_lifecycle.rb +3 -1
- data/lib/elasticsearch/api/actions/update.rb +1 -0
- data/lib/elasticsearch/api/actions/xpack/info.rb +1 -0
- data/lib/elasticsearch/api/version.rb +1 -1
- data/spec/elasticsearch/api/actions/esql/async_query_delete_spec.rb +35 -0
- data/spec/elasticsearch/api/actions/esql/async_query_stop_spec.rb +35 -0
- data/spec/elasticsearch/api/actions/indices/get_data_lifecycle_stats_spec.rb +35 -0
- data/spec/elasticsearch/api/actions/indices/resolve_cluster_spec.rb +14 -9
- data/spec/elasticsearch/api/actions/inference/chat_completion_unified_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/completion_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_alibabacloud_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_amazonbedrock_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_anthropic_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_azureaistudio_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_azureopenai_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_cohere_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_elasticsearch_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_elser_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_googleaistudio_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_googlevertexai_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_huggingface_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_jinaai_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_mistral_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_openai_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_voyageai_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/put_watsonx_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/inference/rerank_spec.rb +35 -0
- data/spec/elasticsearch/api/actions/inference/{stream_inference_spec.rb → sparse_embedding_spec.rb} +4 -4
- data/spec/elasticsearch/api/actions/inference/stream_completion_spec.rb +35 -0
- data/spec/elasticsearch/api/actions/inference/text_embedding_spec.rb +35 -0
- data/spec/elasticsearch/api/actions/inference/update_spec.rb +36 -0
- data/spec/elasticsearch/api/actions/security/delegate_pki_spec.rb +39 -0
- data/spec/rest_api/skipped_tests_free.yml +15 -0
- data/spec/rest_api/skipped_tests_platinum.yml +13 -0
- data/spec/unit/actions/async_search/delete_spec.rb +35 -0
- data/spec/unit/actions/async_search/get_spec.rb +35 -0
- data/spec/unit/actions/async_search/status_spec.rb +34 -0
- data/spec/unit/actions/async_search/submit_spec.rb +87 -0
- data/spec/yaml-test-runner/run.rb +4 -1
- data/utils/Gemfile +1 -1
- metadata +105 -5
@@ -0,0 +1,36 @@
|
|
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.
|
17
|
+
|
18
|
+
require 'spec_helper'
|
19
|
+
|
20
|
+
describe 'client#inference.update' do
|
21
|
+
let(:expected_args) do
|
22
|
+
[
|
23
|
+
'PUT',
|
24
|
+
'_inference/foo/bar/_update',
|
25
|
+
{},
|
26
|
+
nil,
|
27
|
+
{},
|
28
|
+
{ defined_params: { inference_id: 'bar', task_type: 'foo' },
|
29
|
+
endpoint: 'inference.update' }
|
30
|
+
]
|
31
|
+
end
|
32
|
+
|
33
|
+
it 'performs the request' do
|
34
|
+
expect(client_double.inference.update(task_type: 'foo', inference_id: 'bar')).to be_a Elasticsearch::API::Response
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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.
|
17
|
+
|
18
|
+
require 'spec_helper'
|
19
|
+
|
20
|
+
describe 'client#security#delegate_pki' do
|
21
|
+
let(:expected_args) do
|
22
|
+
[
|
23
|
+
'POST',
|
24
|
+
'_security/delegate_pki',
|
25
|
+
params,
|
26
|
+
{},
|
27
|
+
{},
|
28
|
+
{ endpoint: 'security.delegate_pki' }
|
29
|
+
]
|
30
|
+
end
|
31
|
+
|
32
|
+
let(:params) do
|
33
|
+
{}
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'performs the request' do
|
37
|
+
expect(client_double.security.delegate_pki(body: {})).to be_a Elasticsearch::API::Response
|
38
|
+
end
|
39
|
+
end
|
@@ -228,3 +228,18 @@
|
|
228
228
|
-
|
229
229
|
:file: 'cluster.stats/40_source_modes.yml'
|
230
230
|
:description: 'test source modes'
|
231
|
+
-
|
232
|
+
:file: 'search/520_fetch_fields.yml'
|
233
|
+
:description: 'fetch _seq_no via fields'
|
234
|
+
-
|
235
|
+
:file: 'indices.recovery/20_synthetic_source.yml'
|
236
|
+
:description: 'test recovery empty index with use_synthetic_source'
|
237
|
+
-
|
238
|
+
:file: 'indices.create/10_basic.yml'
|
239
|
+
:description: 'Create lookup index'
|
240
|
+
-
|
241
|
+
:file: 'indices.create/10_basic.yml'
|
242
|
+
:description: 'Create lookup index with one shard'
|
243
|
+
-
|
244
|
+
:file: 'nodes.stats/11_indices_metrics.yml'
|
245
|
+
:description: 'indices mappings exact count test for indices level'
|
@@ -226,3 +226,16 @@
|
|
226
226
|
-
|
227
227
|
:file: 'esql/150_lookup.yml'
|
228
228
|
:description: '*'
|
229
|
+
# TODO: once migrate is available in spec
|
230
|
+
-
|
231
|
+
:file: 'migrate/10_reindex.yml'
|
232
|
+
:description: '*'
|
233
|
+
-
|
234
|
+
:file: 'migrate/20_reindex_status.yml'
|
235
|
+
:description: '*'
|
236
|
+
-
|
237
|
+
:file: 'migrate/30_create_from.yml'
|
238
|
+
:description: '*'
|
239
|
+
-
|
240
|
+
:file: 'esql/60_usage.yml'
|
241
|
+
:description: 'Basic ESQL usage output (telemetry) snapshot version'
|
@@ -0,0 +1,35 @@
|
|
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.
|
17
|
+
|
18
|
+
require 'spec_helper'
|
19
|
+
|
20
|
+
describe 'async_search.delete' do
|
21
|
+
let(:expected_args) do
|
22
|
+
[
|
23
|
+
'DELETE',
|
24
|
+
'_async_search/foo',
|
25
|
+
{},
|
26
|
+
nil,
|
27
|
+
{},
|
28
|
+
{ endpoint: 'count' }
|
29
|
+
]
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'performs the request' do
|
33
|
+
expect(client_double.async_search.delete(id: 'foo')).to be_a Elasticsearch::API::Response
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,35 @@
|
|
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.
|
17
|
+
|
18
|
+
require 'spec_helper'
|
19
|
+
|
20
|
+
describe 'async_search.delete' do
|
21
|
+
let(:expected_args) do
|
22
|
+
[
|
23
|
+
'GET',
|
24
|
+
'_async_search/foo',
|
25
|
+
{},
|
26
|
+
nil,
|
27
|
+
{},
|
28
|
+
{ endpoint: 'count' }
|
29
|
+
]
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'performs the request' do
|
33
|
+
expect(client_double.async_search.get(id: 'foo')).to be_a Elasticsearch::API::Response
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,34 @@
|
|
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.
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe 'async_search.delete' do
|
20
|
+
let(:expected_args) do
|
21
|
+
[
|
22
|
+
'GET',
|
23
|
+
'_async_search/status/foo',
|
24
|
+
{},
|
25
|
+
nil,
|
26
|
+
{},
|
27
|
+
{ endpoint: 'async_search.status' }
|
28
|
+
]
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'performs the request' do
|
32
|
+
expect(client_double.async_search.status(id: 'foo')).to be_a Elasticsearch::API::Response
|
33
|
+
end
|
34
|
+
end
|
@@ -0,0 +1,87 @@
|
|
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.
|
17
|
+
require 'spec_helper'
|
18
|
+
|
19
|
+
describe 'async_search.submit' do
|
20
|
+
context 'with no parameters' do
|
21
|
+
let(:expected_args) do
|
22
|
+
[
|
23
|
+
'POST',
|
24
|
+
'_async_search',
|
25
|
+
{},
|
26
|
+
nil,
|
27
|
+
{},
|
28
|
+
{ endpoint: 'async_search.submit' }
|
29
|
+
]
|
30
|
+
end
|
31
|
+
|
32
|
+
it 'performs the request' do
|
33
|
+
expect(client_double.async_search.submit).to be_a Elasticsearch::API::Response
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
context 'with index' do
|
38
|
+
let(:expected_args) do
|
39
|
+
[
|
40
|
+
'DELETE',
|
41
|
+
'_async_search/foo',
|
42
|
+
{},
|
43
|
+
nil,
|
44
|
+
{},
|
45
|
+
{ endpoint: 'count' }
|
46
|
+
]
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'performs the request' do
|
50
|
+
expect(client_double.async_search.submit).to be_a Elasticsearch::API::Response
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
require 'test_helper'
|
56
|
+
|
57
|
+
module Elasticsearch
|
58
|
+
module Test
|
59
|
+
class XPackAsyncSearchSubmit < Minitest::Test
|
60
|
+
subject { FakeClient.new }
|
61
|
+
|
62
|
+
context 'XPack: Async Search Submit' do
|
63
|
+
should 'perform correct request' do
|
64
|
+
subject.expects(:perform_request).with do |method, url, params, body|
|
65
|
+
assert_equal('POST', method)
|
66
|
+
assert_equal('_async_search', url)
|
67
|
+
assert_equal({}, params)
|
68
|
+
assert_nil(body)
|
69
|
+
end.returns(FakeResponse.new)
|
70
|
+
|
71
|
+
subject.async_search.submit
|
72
|
+
end
|
73
|
+
|
74
|
+
should 'perform correct request with index' do
|
75
|
+
subject.expects(:perform_request).with do |method, url, params, body|
|
76
|
+
assert_equal('POST', method)
|
77
|
+
assert_equal('foo/_async_search', url)
|
78
|
+
assert_equal({}, params)
|
79
|
+
assert_nil(body)
|
80
|
+
end.returns(FakeResponse.new)
|
81
|
+
|
82
|
+
subject.async_search.submit(index: 'foo')
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
@@ -64,4 +64,7 @@ logger.level = Logger::WARN unless ENV['DEBUG']
|
|
64
64
|
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
|
65
65
|
branch = current_branch.match(/[0-9]\.[0-9]+/)&.[](0) || ENV['ES_YAML_TESTS_BRANCH'] || nil
|
66
66
|
Elasticsearch::Tests::Downloader::run(tests_path, branch)
|
67
|
-
|
67
|
+
|
68
|
+
runner = Elasticsearch::Tests::TestRunner.new(CLIENT, tests_path, logger)
|
69
|
+
runner.add_tests_to_skip('inference/10_basic.yml') # TODO: Extract into file
|
70
|
+
runner.run
|
data/utils/Gemfile
CHANGED
@@ -24,5 +24,5 @@ gem 'multi_json'
|
|
24
24
|
gem 'pry'
|
25
25
|
gem 'thor'
|
26
26
|
|
27
|
-
gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION)
|
27
|
+
gem 'rubocop', '>= 1.51' unless defined?(JRUBY_VERSION)
|
28
28
|
gem 'debug' unless defined?(JRUBY_VERSION)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 8.
|
4
|
+
version: 8.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic Client Library Maintainers
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-15 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: multi_json
|
@@ -177,6 +177,20 @@ dependencies:
|
|
177
177
|
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '0'
|
180
|
+
- !ruby/object:Gem::Dependency
|
181
|
+
name: concurrent-ruby
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
183
|
+
requirements:
|
184
|
+
- - '='
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: 1.3.4
|
187
|
+
type: :development
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - '='
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 1.3.4
|
180
194
|
- !ruby/object:Gem::Dependency
|
181
195
|
name: jsonify
|
182
196
|
requirement: !ruby/object:Gem::Requirement
|
@@ -465,7 +479,9 @@ files:
|
|
465
479
|
- lib/elasticsearch/api/actions/eql/get_status.rb
|
466
480
|
- lib/elasticsearch/api/actions/eql/search.rb
|
467
481
|
- lib/elasticsearch/api/actions/esql/async_query.rb
|
482
|
+
- lib/elasticsearch/api/actions/esql/async_query_delete.rb
|
468
483
|
- lib/elasticsearch/api/actions/esql/async_query_get.rb
|
484
|
+
- lib/elasticsearch/api/actions/esql/async_query_stop.rb
|
469
485
|
- lib/elasticsearch/api/actions/esql/query.rb
|
470
486
|
- lib/elasticsearch/api/actions/exists.rb
|
471
487
|
- lib/elasticsearch/api/actions/exists_source.rb
|
@@ -525,6 +541,7 @@ files:
|
|
525
541
|
- lib/elasticsearch/api/actions/indices/get.rb
|
526
542
|
- lib/elasticsearch/api/actions/indices/get_alias.rb
|
527
543
|
- lib/elasticsearch/api/actions/indices/get_data_lifecycle.rb
|
544
|
+
- lib/elasticsearch/api/actions/indices/get_data_lifecycle_stats.rb
|
528
545
|
- lib/elasticsearch/api/actions/indices/get_data_stream.rb
|
529
546
|
- lib/elasticsearch/api/actions/indices/get_field_mapping.rb
|
530
547
|
- lib/elasticsearch/api/actions/indices/get_index_template.rb
|
@@ -557,11 +574,33 @@ files:
|
|
557
574
|
- lib/elasticsearch/api/actions/indices/unfreeze.rb
|
558
575
|
- lib/elasticsearch/api/actions/indices/update_aliases.rb
|
559
576
|
- lib/elasticsearch/api/actions/indices/validate_query.rb
|
577
|
+
- lib/elasticsearch/api/actions/inference/chat_completion_unified.rb
|
578
|
+
- lib/elasticsearch/api/actions/inference/completion.rb
|
560
579
|
- lib/elasticsearch/api/actions/inference/delete.rb
|
561
580
|
- lib/elasticsearch/api/actions/inference/get.rb
|
562
581
|
- lib/elasticsearch/api/actions/inference/inference.rb
|
563
582
|
- lib/elasticsearch/api/actions/inference/put.rb
|
564
|
-
- lib/elasticsearch/api/actions/inference/
|
583
|
+
- lib/elasticsearch/api/actions/inference/put_alibabacloud.rb
|
584
|
+
- lib/elasticsearch/api/actions/inference/put_amazonbedrock.rb
|
585
|
+
- lib/elasticsearch/api/actions/inference/put_anthropic.rb
|
586
|
+
- lib/elasticsearch/api/actions/inference/put_azureaistudio.rb
|
587
|
+
- lib/elasticsearch/api/actions/inference/put_azureopenai.rb
|
588
|
+
- lib/elasticsearch/api/actions/inference/put_cohere.rb
|
589
|
+
- lib/elasticsearch/api/actions/inference/put_elasticsearch.rb
|
590
|
+
- lib/elasticsearch/api/actions/inference/put_elser.rb
|
591
|
+
- lib/elasticsearch/api/actions/inference/put_googleaistudio.rb
|
592
|
+
- lib/elasticsearch/api/actions/inference/put_googlevertexai.rb
|
593
|
+
- lib/elasticsearch/api/actions/inference/put_hugging_face.rb
|
594
|
+
- lib/elasticsearch/api/actions/inference/put_jinaai.rb
|
595
|
+
- lib/elasticsearch/api/actions/inference/put_mistral.rb
|
596
|
+
- lib/elasticsearch/api/actions/inference/put_openai.rb
|
597
|
+
- lib/elasticsearch/api/actions/inference/put_voyageai.rb
|
598
|
+
- lib/elasticsearch/api/actions/inference/put_watsonx.rb
|
599
|
+
- lib/elasticsearch/api/actions/inference/rerank.rb
|
600
|
+
- lib/elasticsearch/api/actions/inference/sparse_embedding.rb
|
601
|
+
- lib/elasticsearch/api/actions/inference/stream_completion.rb
|
602
|
+
- lib/elasticsearch/api/actions/inference/text_embedding.rb
|
603
|
+
- lib/elasticsearch/api/actions/inference/update.rb
|
565
604
|
- lib/elasticsearch/api/actions/info.rb
|
566
605
|
- lib/elasticsearch/api/actions/ingest/delete_geoip_database.rb
|
567
606
|
- lib/elasticsearch/api/actions/ingest/delete_ip_location_database.rb
|
@@ -735,6 +774,7 @@ files:
|
|
735
774
|
- lib/elasticsearch/api/actions/security/create_api_key.rb
|
736
775
|
- lib/elasticsearch/api/actions/security/create_cross_cluster_api_key.rb
|
737
776
|
- lib/elasticsearch/api/actions/security/create_service_token.rb
|
777
|
+
- lib/elasticsearch/api/actions/security/delegate_pki.rb
|
738
778
|
- lib/elasticsearch/api/actions/security/delete_privileges.rb
|
739
779
|
- lib/elasticsearch/api/actions/security/delete_role.rb
|
740
780
|
- lib/elasticsearch/api/actions/security/delete_role_mapping.rb
|
@@ -988,8 +1028,10 @@ files:
|
|
988
1028
|
- spec/elasticsearch/api/actions/delete_by_query_spec.rb
|
989
1029
|
- spec/elasticsearch/api/actions/delete_document_spec.rb
|
990
1030
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
1031
|
+
- spec/elasticsearch/api/actions/esql/async_query_delete_spec.rb
|
991
1032
|
- spec/elasticsearch/api/actions/esql/async_query_get._spec.rb
|
992
1033
|
- spec/elasticsearch/api/actions/esql/async_query_spec.rb
|
1034
|
+
- spec/elasticsearch/api/actions/esql/async_query_stop_spec.rb
|
993
1035
|
- spec/elasticsearch/api/actions/esql/query_spec.rb
|
994
1036
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
995
1037
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
@@ -1027,6 +1069,7 @@ files:
|
|
1027
1069
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
1028
1070
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
1029
1071
|
- spec/elasticsearch/api/actions/indices/get_data_lifecycle_spec.rb
|
1072
|
+
- spec/elasticsearch/api/actions/indices/get_data_lifecycle_stats_spec.rb
|
1030
1073
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
1031
1074
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
1032
1075
|
- spec/elasticsearch/api/actions/indices/get_settings_spec.rb
|
@@ -1049,11 +1092,33 @@ files:
|
|
1049
1092
|
- spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
|
1050
1093
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
1051
1094
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
1095
|
+
- spec/elasticsearch/api/actions/inference/chat_completion_unified_spec.rb
|
1096
|
+
- spec/elasticsearch/api/actions/inference/completion_spec.rb
|
1052
1097
|
- spec/elasticsearch/api/actions/inference/delete_spec.rb
|
1053
1098
|
- spec/elasticsearch/api/actions/inference/get_spec.rb
|
1054
1099
|
- spec/elasticsearch/api/actions/inference/inference_spec.rb
|
1100
|
+
- spec/elasticsearch/api/actions/inference/put_alibabacloud_spec.rb
|
1101
|
+
- spec/elasticsearch/api/actions/inference/put_amazonbedrock_spec.rb
|
1102
|
+
- spec/elasticsearch/api/actions/inference/put_anthropic_spec.rb
|
1103
|
+
- spec/elasticsearch/api/actions/inference/put_azureaistudio_spec.rb
|
1104
|
+
- spec/elasticsearch/api/actions/inference/put_azureopenai_spec.rb
|
1105
|
+
- spec/elasticsearch/api/actions/inference/put_cohere_spec.rb
|
1106
|
+
- spec/elasticsearch/api/actions/inference/put_elasticsearch_spec.rb
|
1107
|
+
- spec/elasticsearch/api/actions/inference/put_elser_spec.rb
|
1108
|
+
- spec/elasticsearch/api/actions/inference/put_googleaistudio_spec.rb
|
1109
|
+
- spec/elasticsearch/api/actions/inference/put_googlevertexai_spec.rb
|
1110
|
+
- spec/elasticsearch/api/actions/inference/put_huggingface_spec.rb
|
1111
|
+
- spec/elasticsearch/api/actions/inference/put_jinaai_spec.rb
|
1112
|
+
- spec/elasticsearch/api/actions/inference/put_mistral_spec.rb
|
1113
|
+
- spec/elasticsearch/api/actions/inference/put_openai_spec.rb
|
1055
1114
|
- spec/elasticsearch/api/actions/inference/put_spec.rb
|
1056
|
-
- spec/elasticsearch/api/actions/inference/
|
1115
|
+
- spec/elasticsearch/api/actions/inference/put_voyageai_spec.rb
|
1116
|
+
- spec/elasticsearch/api/actions/inference/put_watsonx_spec.rb
|
1117
|
+
- spec/elasticsearch/api/actions/inference/rerank_spec.rb
|
1118
|
+
- spec/elasticsearch/api/actions/inference/sparse_embedding_spec.rb
|
1119
|
+
- spec/elasticsearch/api/actions/inference/stream_completion_spec.rb
|
1120
|
+
- spec/elasticsearch/api/actions/inference/text_embedding_spec.rb
|
1121
|
+
- spec/elasticsearch/api/actions/inference/update_spec.rb
|
1057
1122
|
- spec/elasticsearch/api/actions/info_spec.rb
|
1058
1123
|
- spec/elasticsearch/api/actions/ingest/delete_geoip_database_spec.rb
|
1059
1124
|
- spec/elasticsearch/api/actions/ingest/delete_ip_location_database_spec.rb
|
@@ -1131,6 +1196,7 @@ files:
|
|
1131
1196
|
- spec/elasticsearch/api/actions/security/create_api_key_spec.rb
|
1132
1197
|
- spec/elasticsearch/api/actions/security/create_cross_cluster_api_key_spec.rb
|
1133
1198
|
- spec/elasticsearch/api/actions/security/create_service_token_spec.rb
|
1199
|
+
- spec/elasticsearch/api/actions/security/delegate_pki_spec.rb
|
1134
1200
|
- spec/elasticsearch/api/actions/security/delete_service_token_spec.rb
|
1135
1201
|
- spec/elasticsearch/api/actions/security/disable_user_profile_spec.rb
|
1136
1202
|
- spec/elasticsearch/api/actions/security/enable_user_profile_spec.rb
|
@@ -1348,6 +1414,10 @@ files:
|
|
1348
1414
|
- spec/rest_api/skipped_tests_platinum.yml
|
1349
1415
|
- spec/rspec_formatter.rb
|
1350
1416
|
- spec/spec_helper.rb
|
1417
|
+
- spec/unit/actions/async_search/delete_spec.rb
|
1418
|
+
- spec/unit/actions/async_search/get_spec.rb
|
1419
|
+
- spec/unit/actions/async_search/status_spec.rb
|
1420
|
+
- spec/unit/actions/async_search/submit_spec.rb
|
1351
1421
|
- spec/yaml-test-runner/run.rb
|
1352
1422
|
- utils/Gemfile
|
1353
1423
|
- utils/README.md
|
@@ -1472,8 +1542,10 @@ test_files:
|
|
1472
1542
|
- spec/elasticsearch/api/actions/delete_by_query_spec.rb
|
1473
1543
|
- spec/elasticsearch/api/actions/delete_document_spec.rb
|
1474
1544
|
- spec/elasticsearch/api/actions/delete_script_spec.rb
|
1545
|
+
- spec/elasticsearch/api/actions/esql/async_query_delete_spec.rb
|
1475
1546
|
- spec/elasticsearch/api/actions/esql/async_query_get._spec.rb
|
1476
1547
|
- spec/elasticsearch/api/actions/esql/async_query_spec.rb
|
1548
|
+
- spec/elasticsearch/api/actions/esql/async_query_stop_spec.rb
|
1477
1549
|
- spec/elasticsearch/api/actions/esql/query_spec.rb
|
1478
1550
|
- spec/elasticsearch/api/actions/exists_document_spec.rb
|
1479
1551
|
- spec/elasticsearch/api/actions/explain_document_spec.rb
|
@@ -1511,6 +1583,7 @@ test_files:
|
|
1511
1583
|
- spec/elasticsearch/api/actions/indices/forcemerge_spec.rb
|
1512
1584
|
- spec/elasticsearch/api/actions/indices/get_alias_spec.rb
|
1513
1585
|
- spec/elasticsearch/api/actions/indices/get_data_lifecycle_spec.rb
|
1586
|
+
- spec/elasticsearch/api/actions/indices/get_data_lifecycle_stats_spec.rb
|
1514
1587
|
- spec/elasticsearch/api/actions/indices/get_field_mapping_spec.rb
|
1515
1588
|
- spec/elasticsearch/api/actions/indices/get_mapping_spec.rb
|
1516
1589
|
- spec/elasticsearch/api/actions/indices/get_settings_spec.rb
|
@@ -1533,11 +1606,33 @@ test_files:
|
|
1533
1606
|
- spec/elasticsearch/api/actions/indices/unfreeze_spec.rb
|
1534
1607
|
- spec/elasticsearch/api/actions/indices/update_aliases_spec.rb
|
1535
1608
|
- spec/elasticsearch/api/actions/indices/validate_query_spec.rb
|
1609
|
+
- spec/elasticsearch/api/actions/inference/chat_completion_unified_spec.rb
|
1610
|
+
- spec/elasticsearch/api/actions/inference/completion_spec.rb
|
1536
1611
|
- spec/elasticsearch/api/actions/inference/delete_spec.rb
|
1537
1612
|
- spec/elasticsearch/api/actions/inference/get_spec.rb
|
1538
1613
|
- spec/elasticsearch/api/actions/inference/inference_spec.rb
|
1614
|
+
- spec/elasticsearch/api/actions/inference/put_alibabacloud_spec.rb
|
1615
|
+
- spec/elasticsearch/api/actions/inference/put_amazonbedrock_spec.rb
|
1616
|
+
- spec/elasticsearch/api/actions/inference/put_anthropic_spec.rb
|
1617
|
+
- spec/elasticsearch/api/actions/inference/put_azureaistudio_spec.rb
|
1618
|
+
- spec/elasticsearch/api/actions/inference/put_azureopenai_spec.rb
|
1619
|
+
- spec/elasticsearch/api/actions/inference/put_cohere_spec.rb
|
1620
|
+
- spec/elasticsearch/api/actions/inference/put_elasticsearch_spec.rb
|
1621
|
+
- spec/elasticsearch/api/actions/inference/put_elser_spec.rb
|
1622
|
+
- spec/elasticsearch/api/actions/inference/put_googleaistudio_spec.rb
|
1623
|
+
- spec/elasticsearch/api/actions/inference/put_googlevertexai_spec.rb
|
1624
|
+
- spec/elasticsearch/api/actions/inference/put_huggingface_spec.rb
|
1625
|
+
- spec/elasticsearch/api/actions/inference/put_jinaai_spec.rb
|
1626
|
+
- spec/elasticsearch/api/actions/inference/put_mistral_spec.rb
|
1627
|
+
- spec/elasticsearch/api/actions/inference/put_openai_spec.rb
|
1539
1628
|
- spec/elasticsearch/api/actions/inference/put_spec.rb
|
1540
|
-
- spec/elasticsearch/api/actions/inference/
|
1629
|
+
- spec/elasticsearch/api/actions/inference/put_voyageai_spec.rb
|
1630
|
+
- spec/elasticsearch/api/actions/inference/put_watsonx_spec.rb
|
1631
|
+
- spec/elasticsearch/api/actions/inference/rerank_spec.rb
|
1632
|
+
- spec/elasticsearch/api/actions/inference/sparse_embedding_spec.rb
|
1633
|
+
- spec/elasticsearch/api/actions/inference/stream_completion_spec.rb
|
1634
|
+
- spec/elasticsearch/api/actions/inference/text_embedding_spec.rb
|
1635
|
+
- spec/elasticsearch/api/actions/inference/update_spec.rb
|
1541
1636
|
- spec/elasticsearch/api/actions/info_spec.rb
|
1542
1637
|
- spec/elasticsearch/api/actions/ingest/delete_geoip_database_spec.rb
|
1543
1638
|
- spec/elasticsearch/api/actions/ingest/delete_ip_location_database_spec.rb
|
@@ -1615,6 +1710,7 @@ test_files:
|
|
1615
1710
|
- spec/elasticsearch/api/actions/security/create_api_key_spec.rb
|
1616
1711
|
- spec/elasticsearch/api/actions/security/create_cross_cluster_api_key_spec.rb
|
1617
1712
|
- spec/elasticsearch/api/actions/security/create_service_token_spec.rb
|
1713
|
+
- spec/elasticsearch/api/actions/security/delegate_pki_spec.rb
|
1618
1714
|
- spec/elasticsearch/api/actions/security/delete_service_token_spec.rb
|
1619
1715
|
- spec/elasticsearch/api/actions/security/disable_user_profile_spec.rb
|
1620
1716
|
- spec/elasticsearch/api/actions/security/enable_user_profile_spec.rb
|
@@ -1832,4 +1928,8 @@ test_files:
|
|
1832
1928
|
- spec/rest_api/skipped_tests_platinum.yml
|
1833
1929
|
- spec/rspec_formatter.rb
|
1834
1930
|
- spec/spec_helper.rb
|
1931
|
+
- spec/unit/actions/async_search/delete_spec.rb
|
1932
|
+
- spec/unit/actions/async_search/get_spec.rb
|
1933
|
+
- spec/unit/actions/async_search/status_spec.rb
|
1934
|
+
- spec/unit/actions/async_search/submit_spec.rb
|
1835
1935
|
- spec/yaml-test-runner/run.rb
|