elasticsearch-xpack 7.5.0 → 7.6.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +14 -11
- data/elasticsearch-xpack.gemspec +27 -27
- data/lib/elasticsearch/xpack.rb +4 -0
- data/lib/elasticsearch/xpack/api/actions/license/get.rb +3 -1
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_data_frame_analytics.rb +9 -1
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_trained_model.rb +36 -0
- data/lib/elasticsearch/xpack/api/actions/machine_learning/explain_data_frame_analytics.rb +39 -0
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_trained_models.rb +54 -0
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_trained_models_stats.rb +50 -0
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_trained_model.rb +38 -0
- data/lib/elasticsearch/xpack/api/actions/monitoring/bulk.rb +31 -18
- data/lib/elasticsearch/xpack/api/actions/monitoring/params_registry.rb +0 -1
- data/lib/elasticsearch/xpack/api/actions/sql/clear_cursor.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/sql/query.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/sql/translate.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/ssl/certificates.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/usage.rb +1 -1
- data/lib/elasticsearch/xpack/version.rb +1 -1
- metadata +16 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43c522c8e39b38035f0a343ecc8a90fb98dee9922962342d285abecca41a5e19
|
4
|
+
data.tar.gz: 609ae664f414df98e14cc3adbb6ee809e901fce3954a8ce3016352951b287680
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35ae1f61e60ab23bb229c582884de3d580f3f159c3848bc1d74bbb1ff6cec0fae626e7c16dfe34d0d0d1ec9c6bc24b37b584041f959e6f3ea00a28ab0c713d6c
|
7
|
+
data.tar.gz: e5744a801a1fcfa277f35a3b4718be3951ee4258ca4e48342069ff4f1d9c74769eb1d43f04d8828635d56122c2ef399d3c0eeee790dbe0259e7758f7e737dfa4
|
data/Gemfile
CHANGED
@@ -9,22 +9,25 @@ gemspec
|
|
9
9
|
|
10
10
|
group :development do
|
11
11
|
gem 'rspec'
|
12
|
-
|
12
|
+
if defined?(JRUBY_VERSION)
|
13
|
+
gem 'pry-nav'
|
14
|
+
else
|
15
|
+
gem 'pry-byebug'
|
16
|
+
end
|
13
17
|
end
|
14
18
|
|
15
|
-
|
16
|
-
|
17
|
-
gem 'elasticsearch-api', :path => File.expand_path("../../elasticsearch-api", __FILE__), :require => false
|
19
|
+
if File.exist? File.expand_path('../../elasticsearch-api/elasticsearch-api.gemspec', __FILE__)
|
20
|
+
gem 'elasticsearch-api', path: File.expand_path('../../elasticsearch-api', __FILE__), require: false
|
18
21
|
end
|
19
22
|
|
20
|
-
if File.exist? File.expand_path(
|
21
|
-
gem 'elasticsearch-transport', :
|
23
|
+
if File.exist? File.expand_path('../../elasticsearch-transport/elasticsearch-transport.gemspec', __FILE__)
|
24
|
+
gem 'elasticsearch-transport', path: File.expand_path('../../elasticsearch-transport', __FILE__), require: false
|
22
25
|
end
|
23
26
|
|
24
|
-
if File.exist? File.expand_path(
|
25
|
-
gem 'elasticsearch', :
|
27
|
+
if File.exist? File.expand_path('../../elasticsearch/elasticsearch.gemspec', __FILE__)
|
28
|
+
gem 'elasticsearch', path: File.expand_path('../../elasticsearch/', __FILE__)
|
26
29
|
end
|
27
30
|
|
28
|
-
if File.exist? File.expand_path(
|
29
|
-
gem 'elasticsearch-extensions', :
|
30
|
-
end
|
31
|
+
if File.exist? File.expand_path('../../elasticsearch/elasticsearch-extensions.gemspec', __FILE__)
|
32
|
+
gem 'elasticsearch-extensions', path: File.expand_path('../../elasticsearch-extensions/', __FILE__)
|
33
|
+
end
|
data/elasticsearch-xpack.gemspec
CHANGED
@@ -8,36 +8,36 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
8
8
|
require 'elasticsearch/xpack/version'
|
9
9
|
|
10
10
|
Gem::Specification.new do |spec|
|
11
|
-
spec.name =
|
11
|
+
spec.name = 'elasticsearch-xpack'
|
12
12
|
spec.version = Elasticsearch::XPack::VERSION
|
13
|
-
spec.authors = [
|
14
|
-
spec.email = [
|
13
|
+
spec.authors = ['Karel Minarik']
|
14
|
+
spec.email = ['karel@elastic.co']
|
15
15
|
|
16
|
-
spec.summary =
|
17
|
-
spec.description =
|
18
|
-
spec.homepage =
|
19
|
-
spec.license =
|
16
|
+
spec.summary = 'Ruby integrations for the X-Pack extensions for Elasticsearch'
|
17
|
+
spec.description = 'Ruby integrations for the X-Pack extensions for Elasticsearch'
|
18
|
+
spec.homepage = 'https://github.com/elastic/elasticsearch-xpack-ruby'
|
19
|
+
spec.license = 'Apache-2.0'
|
20
20
|
|
21
21
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
22
22
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
23
|
-
spec.require_paths = [
|
24
|
-
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.add_development_dependency
|
27
|
-
spec.add_development_dependency
|
28
|
-
|
29
|
-
spec.add_dependency
|
30
|
-
|
31
|
-
spec.add_development_dependency
|
32
|
-
spec.add_development_dependency
|
33
|
-
spec.add_development_dependency
|
34
|
-
|
35
|
-
spec.add_development_dependency
|
36
|
-
spec.add_development_dependency
|
37
|
-
spec.add_development_dependency
|
38
|
-
spec.add_development_dependency
|
39
|
-
spec.add_development_dependency
|
40
|
-
spec.add_development_dependency
|
41
|
-
spec.add_development_dependency
|
42
|
-
spec.add_development_dependency
|
23
|
+
spec.require_paths = ['lib']
|
24
|
+
|
25
|
+
spec.add_development_dependency 'bundler'
|
26
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
27
|
+
spec.add_development_dependency 'ruby-prof' unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
28
|
+
|
29
|
+
spec.add_dependency 'elasticsearch-api', '>= 6'
|
30
|
+
|
31
|
+
spec.add_development_dependency 'elasticsearch', '>= 6'
|
32
|
+
spec.add_development_dependency 'elasticsearch-transport', '>= 6'
|
33
|
+
spec.add_development_dependency 'elasticsearch-extensions'
|
34
|
+
|
35
|
+
spec.add_development_dependency 'activesupport'
|
36
|
+
spec.add_development_dependency 'ansi'
|
37
|
+
spec.add_development_dependency 'minitest'
|
38
|
+
spec.add_development_dependency 'minitest-reporters'
|
39
|
+
spec.add_development_dependency 'mocha'
|
40
|
+
spec.add_development_dependency 'pry'
|
41
|
+
spec.add_development_dependency 'shoulda-context'
|
42
|
+
spec.add_development_dependency 'yard'
|
43
43
|
end
|
data/lib/elasticsearch/xpack.rb
CHANGED
@@ -11,6 +11,7 @@ module Elasticsearch
|
|
11
11
|
|
12
12
|
#
|
13
13
|
# @option arguments [Boolean] :local Return local information, do not retrieve the state from master node (default: false)
|
14
|
+
# @option arguments [Boolean] :accept_enterprise If the active license is an enterprise license, return type as 'enterprise' (default: false)
|
14
15
|
|
15
16
|
#
|
16
17
|
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/get-license.html
|
@@ -30,7 +31,8 @@ module Elasticsearch
|
|
30
31
|
#
|
31
32
|
# @since 6.2.0
|
32
33
|
ParamsRegistry.register(:get, [
|
33
|
-
:local
|
34
|
+
:local,
|
35
|
+
:accept_enterprise
|
34
36
|
].freeze)
|
35
37
|
end
|
36
38
|
end
|
@@ -11,6 +11,7 @@ module Elasticsearch
|
|
11
11
|
|
12
12
|
#
|
13
13
|
# @option arguments [String] :id The ID of the data frame analytics to delete
|
14
|
+
# @option arguments [Boolean] :force True if the job should be forcefully deleted
|
14
15
|
|
15
16
|
#
|
16
17
|
# @see http://www.elastic.co/guide/en/elasticsearch/reference/current/delete-dfanalytics.html
|
@@ -24,11 +25,18 @@ module Elasticsearch
|
|
24
25
|
|
25
26
|
method = Elasticsearch::API::HTTP_DELETE
|
26
27
|
path = "_ml/data_frame/analytics/#{Elasticsearch::API::Utils.__listify(_id)}"
|
27
|
-
params =
|
28
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
28
29
|
|
29
30
|
body = nil
|
30
31
|
perform_request(method, path, params, body).body
|
31
32
|
end
|
33
|
+
|
34
|
+
# Register this action with its valid params when the module is loaded.
|
35
|
+
#
|
36
|
+
# @since 6.2.0
|
37
|
+
ParamsRegistry.register(:delete_data_frame_analytics, [
|
38
|
+
:force
|
39
|
+
].freeze)
|
32
40
|
end
|
33
41
|
end
|
34
42
|
end
|
@@ -0,0 +1,36 @@
|
|
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
|
4
|
+
|
5
|
+
module Elasticsearch
|
6
|
+
module XPack
|
7
|
+
module API
|
8
|
+
module MachineLearning
|
9
|
+
module Actions
|
10
|
+
# TODO: Description
|
11
|
+
|
12
|
+
#
|
13
|
+
# @option arguments [String] :model_id The ID of the trained model to delete
|
14
|
+
|
15
|
+
#
|
16
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference.html
|
17
|
+
#
|
18
|
+
def delete_trained_model(arguments = {})
|
19
|
+
raise ArgumentError, "Required argument 'model_id' missing" unless arguments[:model_id]
|
20
|
+
|
21
|
+
arguments = arguments.clone
|
22
|
+
|
23
|
+
_model_id = arguments.delete(:model_id)
|
24
|
+
|
25
|
+
method = Elasticsearch::API::HTTP_DELETE
|
26
|
+
path = "_ml/inference/#{Elasticsearch::API::Utils.__listify(_model_id)}"
|
27
|
+
params = {}
|
28
|
+
|
29
|
+
body = nil
|
30
|
+
perform_request(method, path, params, body).body
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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
|
4
|
+
|
5
|
+
module Elasticsearch
|
6
|
+
module XPack
|
7
|
+
module API
|
8
|
+
module MachineLearning
|
9
|
+
module Actions
|
10
|
+
# TODO: Description
|
11
|
+
|
12
|
+
#
|
13
|
+
# @option arguments [String] :id The ID of the data frame analytics to explain
|
14
|
+
|
15
|
+
# @option arguments [Hash] :body The data frame analytics config to explain
|
16
|
+
#
|
17
|
+
# @see http://www.elastic.co/guide/en/elasticsearch/reference/current/explain-dfanalytics.html
|
18
|
+
#
|
19
|
+
def explain_data_frame_analytics(arguments = {})
|
20
|
+
arguments = arguments.clone
|
21
|
+
|
22
|
+
_id = arguments.delete(:id)
|
23
|
+
|
24
|
+
method = Elasticsearch::API::HTTP_GET
|
25
|
+
path = if _id
|
26
|
+
"_ml/data_frame/analytics/#{Elasticsearch::API::Utils.__listify(_id)}/_explain"
|
27
|
+
else
|
28
|
+
"_ml/data_frame/analytics/_explain"
|
29
|
+
end
|
30
|
+
params = {}
|
31
|
+
|
32
|
+
body = arguments[:body]
|
33
|
+
perform_request(method, path, params, body).body
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,54 @@
|
|
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
|
4
|
+
|
5
|
+
module Elasticsearch
|
6
|
+
module XPack
|
7
|
+
module API
|
8
|
+
module MachineLearning
|
9
|
+
module Actions
|
10
|
+
# TODO: Description
|
11
|
+
|
12
|
+
#
|
13
|
+
# @option arguments [String] :model_id The ID of the trained models to fetch
|
14
|
+
# @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)
|
15
|
+
# @option arguments [Boolean] :include_model_definition Should the full model definition be included in the results. These definitions can be large. So be cautious when including them. Defaults to false.
|
16
|
+
# @option arguments [Boolean] :decompress_definition Should the model definition be decompressed into valid JSON or returned in a custom compressed format. Defaults to true.
|
17
|
+
# @option arguments [Int] :from skips a number of trained models
|
18
|
+
# @option arguments [Int] :size specifies a max number of trained models to get
|
19
|
+
|
20
|
+
#
|
21
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference.html
|
22
|
+
#
|
23
|
+
def get_trained_models(arguments = {})
|
24
|
+
arguments = arguments.clone
|
25
|
+
|
26
|
+
_model_id = arguments.delete(:model_id)
|
27
|
+
|
28
|
+
method = Elasticsearch::API::HTTP_GET
|
29
|
+
path = if _model_id
|
30
|
+
"_ml/inference/#{Elasticsearch::API::Utils.__listify(_model_id)}"
|
31
|
+
else
|
32
|
+
"_ml/inference"
|
33
|
+
end
|
34
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
35
|
+
|
36
|
+
body = nil
|
37
|
+
perform_request(method, path, params, body).body
|
38
|
+
end
|
39
|
+
|
40
|
+
# Register this action with its valid params when the module is loaded.
|
41
|
+
#
|
42
|
+
# @since 6.2.0
|
43
|
+
ParamsRegistry.register(:get_trained_models, [
|
44
|
+
:allow_no_match,
|
45
|
+
:include_model_definition,
|
46
|
+
:decompress_definition,
|
47
|
+
:from,
|
48
|
+
:size
|
49
|
+
].freeze)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,50 @@
|
|
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
|
4
|
+
|
5
|
+
module Elasticsearch
|
6
|
+
module XPack
|
7
|
+
module API
|
8
|
+
module MachineLearning
|
9
|
+
module Actions
|
10
|
+
# TODO: Description
|
11
|
+
|
12
|
+
#
|
13
|
+
# @option arguments [String] :model_id The ID of the trained models stats to fetch
|
14
|
+
# @option arguments [Boolean] :allow_no_match Whether to ignore if a wildcard expression matches no trained models. (This includes `_all` string or when no trained models have been specified)
|
15
|
+
# @option arguments [Int] :from skips a number of trained models
|
16
|
+
# @option arguments [Int] :size specifies a max number of trained models to get
|
17
|
+
|
18
|
+
#
|
19
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/get-inference-stats.html
|
20
|
+
#
|
21
|
+
def get_trained_models_stats(arguments = {})
|
22
|
+
arguments = arguments.clone
|
23
|
+
|
24
|
+
_model_id = arguments.delete(:model_id)
|
25
|
+
|
26
|
+
method = Elasticsearch::API::HTTP_GET
|
27
|
+
path = if _model_id
|
28
|
+
"_ml/inference/#{Elasticsearch::API::Utils.__listify(_model_id)}/_stats"
|
29
|
+
else
|
30
|
+
"_ml/inference/_stats"
|
31
|
+
end
|
32
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
33
|
+
|
34
|
+
body = nil
|
35
|
+
perform_request(method, path, params, body).body
|
36
|
+
end
|
37
|
+
|
38
|
+
# Register this action with its valid params when the module is loaded.
|
39
|
+
#
|
40
|
+
# @since 6.2.0
|
41
|
+
ParamsRegistry.register(:get_trained_models_stats, [
|
42
|
+
:allow_no_match,
|
43
|
+
:from,
|
44
|
+
:size
|
45
|
+
].freeze)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
@@ -0,0 +1,38 @@
|
|
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
|
4
|
+
|
5
|
+
module Elasticsearch
|
6
|
+
module XPack
|
7
|
+
module API
|
8
|
+
module MachineLearning
|
9
|
+
module Actions
|
10
|
+
# TODO: Description
|
11
|
+
|
12
|
+
#
|
13
|
+
# @option arguments [String] :model_id The ID of the trained models to store
|
14
|
+
|
15
|
+
# @option arguments [Hash] :body The trained model configuration (*Required*)
|
16
|
+
#
|
17
|
+
# @see TODO
|
18
|
+
#
|
19
|
+
def put_trained_model(arguments = {})
|
20
|
+
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
21
|
+
raise ArgumentError, "Required argument 'model_id' missing" unless arguments[:model_id]
|
22
|
+
|
23
|
+
arguments = arguments.clone
|
24
|
+
|
25
|
+
_model_id = arguments.delete(:model_id)
|
26
|
+
|
27
|
+
method = Elasticsearch::API::HTTP_PUT
|
28
|
+
path = "_ml/inference/#{Elasticsearch::API::Utils.__listify(_model_id)}"
|
29
|
+
params = {}
|
30
|
+
|
31
|
+
body = arguments[:body]
|
32
|
+
perform_request(method, path, params, body).body
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -7,45 +7,58 @@ module Elasticsearch
|
|
7
7
|
module API
|
8
8
|
module Monitoring
|
9
9
|
module Actions
|
10
|
+
# TODO: Description
|
10
11
|
|
11
|
-
# Insert monitoring data in bulk
|
12
12
|
#
|
13
|
-
# @option arguments [String] :type Default document type for items which don't provide one
|
14
|
-
# @option arguments [Hash] :body The operation definition and data (action-data pairs), separated by newlines (*Required*)
|
13
|
+
# @option arguments [String] :type Default document type for items which don't provide one *Deprecated*
|
15
14
|
# @option arguments [String] :system_id Identifier of the monitored system
|
16
|
-
# @option arguments [String] :system_api_version API
|
17
|
-
# @option arguments [String] :
|
15
|
+
# @option arguments [String] :system_api_version API Version of the monitored system
|
16
|
+
# @option arguments [String] :interval Collection interval (e.g., '10s' or '10000ms') of the payload
|
17
|
+
|
18
|
+
# @option arguments [Hash] :body The operation definition and data (action-data pairs), separated by newlines (*Required*)
|
19
|
+
#
|
20
|
+
# *Deprecation notice*:
|
21
|
+
# Specifying types in urls has been deprecated
|
22
|
+
# Deprecated since version 7.0.0
|
23
|
+
#
|
18
24
|
#
|
19
|
-
# @see
|
25
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/monitor-elasticsearch-cluster.html
|
20
26
|
#
|
21
|
-
def bulk(arguments={})
|
27
|
+
def bulk(arguments = {})
|
22
28
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
29
|
+
|
23
30
|
arguments = arguments.clone
|
24
|
-
|
25
|
-
|
31
|
+
|
32
|
+
_type = arguments.delete(:type)
|
26
33
|
|
27
34
|
method = Elasticsearch::API::HTTP_POST
|
28
|
-
path =
|
35
|
+
path = if _type
|
36
|
+
"_monitoring/#{Elasticsearch::API::Utils.__listify(_type)}/bulk"
|
37
|
+
else
|
38
|
+
"_monitoring/bulk"
|
39
|
+
end
|
29
40
|
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
30
41
|
|
42
|
+
body = arguments[:body]
|
31
43
|
if body.is_a? Array
|
32
44
|
payload = Elasticsearch::API::Utils.__bulkify(body)
|
33
45
|
else
|
34
46
|
payload = body
|
35
|
-
|
47
|
+
end
|
36
48
|
|
37
|
-
perform_request(method, path, params, payload).body
|
49
|
+
perform_request(method, path, params, payload, { "Content-Type" => "application/x-ndjson" }).body
|
38
50
|
end
|
39
51
|
|
40
52
|
# Register this action with its valid params when the module is loaded.
|
41
53
|
#
|
42
|
-
# @since
|
43
|
-
ParamsRegistry.register(:bulk, [
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
54
|
+
# @since 6.2.0
|
55
|
+
ParamsRegistry.register(:bulk, [
|
56
|
+
:system_id,
|
57
|
+
:system_api_version,
|
58
|
+
:interval
|
59
|
+
].freeze)
|
48
60
|
end
|
49
61
|
end
|
62
|
+
end
|
50
63
|
end
|
51
64
|
end
|
@@ -12,7 +12,7 @@ module Elasticsearch
|
|
12
12
|
# @option arguments [Time] :master_timeout Specify timeout for watch write operation
|
13
13
|
|
14
14
|
#
|
15
|
-
# @see
|
15
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html
|
16
16
|
#
|
17
17
|
def usage(arguments = {})
|
18
18
|
arguments = arguments.clone
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-xpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.6.0.pre
|
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-
|
11
|
+
date: 2020-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '12.3'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '12.3'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ruby-prof
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -165,7 +165,7 @@ dependencies:
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
168
|
+
name: mocha
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - ">="
|
@@ -179,7 +179,7 @@ dependencies:
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: pry
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - ">="
|
@@ -193,7 +193,7 @@ dependencies:
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
196
|
+
name: shoulda-context
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - ">="
|
@@ -207,7 +207,7 @@ dependencies:
|
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
209
|
- !ruby/object:Gem::Dependency
|
210
|
-
name:
|
210
|
+
name: yard
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
@@ -282,8 +282,10 @@ files:
|
|
282
282
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_forecast.rb
|
283
283
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_job.rb
|
284
284
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_model_snapshot.rb
|
285
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_trained_model.rb
|
285
286
|
- lib/elasticsearch/xpack/api/actions/machine_learning/estimate_memory_usage.rb
|
286
287
|
- lib/elasticsearch/xpack/api/actions/machine_learning/evaluate_data_frame.rb
|
288
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/explain_data_frame_analytics.rb
|
287
289
|
- lib/elasticsearch/xpack/api/actions/machine_learning/find_file_structure.rb
|
288
290
|
- lib/elasticsearch/xpack/api/actions/machine_learning/flush_job.rb
|
289
291
|
- lib/elasticsearch/xpack/api/actions/machine_learning/forecast.rb
|
@@ -302,6 +304,8 @@ files:
|
|
302
304
|
- lib/elasticsearch/xpack/api/actions/machine_learning/get_model_snapshots.rb
|
303
305
|
- lib/elasticsearch/xpack/api/actions/machine_learning/get_overall_buckets.rb
|
304
306
|
- lib/elasticsearch/xpack/api/actions/machine_learning/get_records.rb
|
307
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/get_trained_models.rb
|
308
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/get_trained_models_stats.rb
|
305
309
|
- lib/elasticsearch/xpack/api/actions/machine_learning/info.rb
|
306
310
|
- lib/elasticsearch/xpack/api/actions/machine_learning/open_job.rb
|
307
311
|
- lib/elasticsearch/xpack/api/actions/machine_learning/params_registry.rb
|
@@ -314,6 +318,7 @@ files:
|
|
314
318
|
- lib/elasticsearch/xpack/api/actions/machine_learning/put_datafeed.rb
|
315
319
|
- lib/elasticsearch/xpack/api/actions/machine_learning/put_filter.rb
|
316
320
|
- lib/elasticsearch/xpack/api/actions/machine_learning/put_job.rb
|
321
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/put_trained_model.rb
|
317
322
|
- lib/elasticsearch/xpack/api/actions/machine_learning/revert_model_snapshot.rb
|
318
323
|
- lib/elasticsearch/xpack/api/actions/machine_learning/set_upgrade_mode.rb
|
319
324
|
- lib/elasticsearch/xpack/api/actions/machine_learning/start_data_frame_analytics.rb
|
@@ -413,11 +418,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
413
418
|
version: '0'
|
414
419
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
415
420
|
requirements:
|
416
|
-
- - "
|
421
|
+
- - ">"
|
417
422
|
- !ruby/object:Gem::Version
|
418
|
-
version:
|
423
|
+
version: 1.3.1
|
419
424
|
requirements: []
|
420
|
-
rubygems_version: 3.
|
425
|
+
rubygems_version: 3.1.2
|
421
426
|
signing_key:
|
422
427
|
specification_version: 4
|
423
428
|
summary: Ruby integrations for the X-Pack extensions for Elasticsearch
|