elasticsearch-xpack 6.1.0 → 6.2.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 +5 -5
- data/.gitignore +17 -0
- data/Gemfile +22 -0
- data/Rakefile +9 -0
- data/elasticsearch-xpack.gemspec +3 -2
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_calendar_event.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_forecast.rb +33 -0
- data/lib/elasticsearch/xpack/api/actions/machine_learning/find_file_structure.rb +26 -0
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_datafeed_stats.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_filter.rb +26 -0
- data/lib/elasticsearch/xpack/api/actions/monitoring/bulk.rb +2 -1
- data/lib/elasticsearch/xpack/api/actions/rollup/get_rollup_caps.rb +0 -2
- data/lib/elasticsearch/xpack/api/actions/rollup/get_rollup_index_caps.rb +26 -0
- data/lib/elasticsearch/xpack/api/actions/rollup/rollup_search.rb +4 -1
- data/lib/elasticsearch/xpack/api/actions/security/delete_privileges.rb +27 -0
- data/lib/elasticsearch/xpack/api/actions/security/get_privileges.rb +27 -0
- data/lib/elasticsearch/xpack/api/actions/security/get_role_mapping.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/security/get_user_privileges.rb +20 -0
- data/lib/elasticsearch/xpack/api/actions/security/has_privileges.rb +27 -0
- data/lib/elasticsearch/xpack/api/actions/security/put_privileges.rb +29 -0
- data/lib/elasticsearch/xpack/api/actions/watcher/ack_watch.rb +5 -2
- data/lib/elasticsearch/xpack/api/actions/watcher/execute_watch.rb +3 -1
- data/lib/elasticsearch/xpack/api/actions/watcher/put_watch.rb +2 -1
- data/lib/elasticsearch/xpack/api/actions/watcher/stats.rb +1 -1
- data/lib/elasticsearch/xpack/version.rb +1 -1
- metadata +32 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ba21d5d044a3a304a7f34e2b325fc4b38e84c20360412103995798b3dd74f36e
|
4
|
+
data.tar.gz: 5b966d86e2514af0ded5b5319f2b7711a8f321194576f9c08b503def4a8f516a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec7f1c86b17ffff3e54343425fc8e2a516cebd2678afa39af397dace74e450b5eb813f2aa73fae133c2f72e619cbaf099dc982385e66eea3ad85b351019fa8db
|
7
|
+
data.tar.gz: 333abbafeef8b30aa435027624fe9b245949f742fc0236db0861d1678386448b5a38de7d35962701e59e7f9a24979876d61c0bfa0c285768dac2985399409f42
|
data/.gitignore
ADDED
data/Gemfile
CHANGED
@@ -2,3 +2,25 @@ source 'https://rubygems.org'
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in elasticsearch-xpack.gemspec
|
4
4
|
gemspec
|
5
|
+
|
6
|
+
group :development do
|
7
|
+
gem 'rspec'
|
8
|
+
gem 'pry-nav'
|
9
|
+
end
|
10
|
+
|
11
|
+
|
12
|
+
if File.exist? File.expand_path("../../elasticsearch-api/elasticsearch-api.gemspec", __FILE__)
|
13
|
+
gem 'elasticsearch-api', :path => File.expand_path("../../elasticsearch-api", __FILE__), :require => false
|
14
|
+
end
|
15
|
+
|
16
|
+
if File.exist? File.expand_path("../../elasticsearch-transport/elasticsearch-transport.gemspec", __FILE__)
|
17
|
+
gem 'elasticsearch-transport', :path => File.expand_path("../../elasticsearch-transport", __FILE__), :require => false
|
18
|
+
end
|
19
|
+
|
20
|
+
if File.exist? File.expand_path("../../elasticsearch/elasticsearch.gemspec", __FILE__)
|
21
|
+
gem 'elasticsearch', :path => File.expand_path("../../elasticsearch/", __FILE__)
|
22
|
+
end
|
23
|
+
|
24
|
+
if File.exist? File.expand_path("../../elasticsearch/elasticsearch-extensions.gemspec", __FILE__)
|
25
|
+
gem 'elasticsearch-extensions', :path => File.expand_path("../../elasticsearch-extensions/", __FILE__)
|
26
|
+
end
|
data/Rakefile
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'bundler/gem_tasks'
|
2
2
|
|
3
3
|
require 'rake/testtask'
|
4
|
+
require 'rspec/core/rake_task'
|
4
5
|
|
5
6
|
task :default do
|
6
7
|
exec "rake --tasks"
|
@@ -14,6 +15,14 @@ Rake::TestTask.new('test:unit') do |test|
|
|
14
15
|
end
|
15
16
|
|
16
17
|
namespace :test do
|
18
|
+
|
19
|
+
RSpec::Core::RakeTask.new(:spec)
|
20
|
+
|
21
|
+
desc "Run rest api yaml tests"
|
22
|
+
Rake::TestTask.new(:rest_api) do |test|
|
23
|
+
test.deps = [ :spec ]
|
24
|
+
end
|
25
|
+
|
17
26
|
desc "Run integration tests"
|
18
27
|
task :integration do
|
19
28
|
sh <<-COMMAND
|
data/elasticsearch-xpack.gemspec
CHANGED
@@ -12,14 +12,15 @@ Gem::Specification.new do |spec|
|
|
12
12
|
spec.summary = "Ruby integrations for the X-Pack extensions for Elasticsearch"
|
13
13
|
spec.description = "Ruby integrations for the X-Pack extensions for Elasticsearch"
|
14
14
|
spec.homepage = "https://github.com/elastic/elasticsearch-ruby/tree/master/elasticsearch-xpack"
|
15
|
-
spec.license = "Apache
|
15
|
+
spec.license = "Apache-2.0"
|
16
16
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
18
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_development_dependency "bundler"
|
21
|
+
spec.add_development_dependency "bundler"
|
22
22
|
spec.add_development_dependency "rake", "~> 11.1"
|
23
|
+
spec.add_development_dependency "ruby-prof" unless defined?(JRUBY_VERSION) || defined?(Rubinius)
|
23
24
|
|
24
25
|
spec.add_dependency "elasticsearch-api", '~> 6'
|
25
26
|
|
@@ -15,7 +15,7 @@ module Elasticsearch
|
|
15
15
|
raise ArgumentError, "Required argument 'calendar_id' missing" unless arguments[:calendar_id]
|
16
16
|
raise ArgumentError, "Required argument 'event_id' missing" unless arguments[:event_id]
|
17
17
|
method = Elasticsearch::API::HTTP_DELETE
|
18
|
-
path = "_xpack/ml/calendars/#{arguments[:calendar_id]}/events/#{arguments[:event_id]}"
|
18
|
+
path = "_xpack/ml/calendars/#{arguments[:calendar_id]}/events/#{URI.escape(arguments[:event_id])}"
|
19
19
|
params = {}
|
20
20
|
body = nil
|
21
21
|
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module MachineLearning
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# @option arguments [String] :job_id The ID of the job from which to delete forecasts (*Required*)
|
8
|
+
# @option arguments [String] :forecast_id The ID of the forecast to delete, can be comma delimited list.
|
9
|
+
# Leaving blank implies `_all`
|
10
|
+
# @option arguments [Boolean] :allow_no_forecasts Whether to ignore if `_all` matches no forecasts
|
11
|
+
# @option arguments [Time] :timeout Controls the time to wait until the forecast(s) are deleted.
|
12
|
+
# Default to 30 seconds.
|
13
|
+
#
|
14
|
+
def delete_forecast(arguments={})
|
15
|
+
raise ArgumentError, "Required argument 'job_id' missing" unless arguments[:job_id]
|
16
|
+
method = Elasticsearch::API::HTTP_DELETE
|
17
|
+
path = "_xpack/ml/anomaly_detectors/#{arguments[:job_id]}/_forecast/#{arguments[:forecast_id]}"
|
18
|
+
|
19
|
+
valid_params = [
|
20
|
+
:forecast_id,
|
21
|
+
:allow_no_forecasts,
|
22
|
+
:timeout ]
|
23
|
+
|
24
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
25
|
+
body = nil
|
26
|
+
|
27
|
+
perform_request(method, path, params, body).body
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module MachineLearning
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# Finds the structure of a text file. The text file must contain data that is suitable to be
|
8
|
+
# ingested into Elasticsearch.
|
9
|
+
#
|
10
|
+
# @option arguments [Hash] :body The contents of the file to be analyzed (*Required*)
|
11
|
+
#
|
12
|
+
# @see http://www.elastic.co/guide/en/elasticsearch/reference/current/ml-file-structure.html
|
13
|
+
#
|
14
|
+
def find_file_structure(arguments={})
|
15
|
+
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
16
|
+
method = Elasticsearch::API::HTTP_POST
|
17
|
+
path = "_xpack/ml/find_file_structure"
|
18
|
+
body = Elasticsearch::API::Utils.__bulkify(arguments.delete(:body))
|
19
|
+
|
20
|
+
perform_request(method, path, arguments, body).body
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -17,7 +17,7 @@ module Elasticsearch
|
|
17
17
|
|
18
18
|
method = Elasticsearch::API::HTTP_GET
|
19
19
|
path = Elasticsearch::API::Utils.__pathify "_xpack/ml/datafeeds", arguments[:datafeed_id], "/_stats"
|
20
|
-
params =
|
20
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
21
21
|
body = nil
|
22
22
|
|
23
23
|
perform_request(method, path, params, body).body
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module MachineLearning
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# Updates the description of a filter, adds items, or removes items.
|
8
|
+
#
|
9
|
+
# @option arguments [String] :filter_id The ID of the filter to update (*Required*)
|
10
|
+
# @option arguments [Hash] :body The filter update (*Required*)
|
11
|
+
#
|
12
|
+
def update_filter(arguments={})
|
13
|
+
raise ArgumentError, "Required argument 'filter_id' missing" unless arguments[:filter_id]
|
14
|
+
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
15
|
+
method = Elasticsearch::API::HTTP_POST
|
16
|
+
path = "_xpack/ml/filters/#{arguments[:filter_id]}/_update"
|
17
|
+
params = {}
|
18
|
+
body = arguments[:body]
|
19
|
+
|
20
|
+
perform_request(method, path, params, body).body
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -8,8 +8,6 @@ module Elasticsearch
|
|
8
8
|
#
|
9
9
|
# @option arguments [String] :id The ID of the index to check rollup capabilities on, or left blank for all jobs
|
10
10
|
#
|
11
|
-
# @see
|
12
|
-
#
|
13
11
|
def get_rollup_caps(arguments={})
|
14
12
|
method = Elasticsearch::API::HTTP_GET
|
15
13
|
path = "_xpack/rollup/data/#{arguments[:id]}"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module Rollup
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# TODO: Description
|
8
|
+
#
|
9
|
+
# @option arguments [String] :index The rollup index or index pattern to obtain rollup capabilities from (*Required*)
|
10
|
+
#
|
11
|
+
# @see
|
12
|
+
#
|
13
|
+
def get_rollup_index_caps(arguments={})
|
14
|
+
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
|
15
|
+
method = Elasticsearch::API::HTTP_GET
|
16
|
+
path = "#{arguments[:index]}/_xpack/rollup/data"
|
17
|
+
params = {}
|
18
|
+
body = nil
|
19
|
+
|
20
|
+
perform_request(method, path, params, body).body
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -15,9 +15,12 @@ module Elasticsearch
|
|
15
15
|
def rollup_search(arguments={})
|
16
16
|
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
|
17
17
|
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
18
|
+
|
19
|
+
valid_params = [ :typed_keys ]
|
20
|
+
|
18
21
|
method = Elasticsearch::API::HTTP_GET
|
19
22
|
path = "#{arguments[:index]}/_rollup_search"
|
20
|
-
params =
|
23
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
21
24
|
body = arguments[:body]
|
22
25
|
|
23
26
|
perform_request(method, path, params, body).body
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module Security
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# @option arguments [String] :application Application name (*Required*)
|
8
|
+
# @option arguments [Boolean] :name Privilege name (*Required*)
|
9
|
+
#
|
10
|
+
def delete_privileges(arguments={})
|
11
|
+
raise ArgumentError, "Required argument 'name' missing" unless arguments[:name]
|
12
|
+
raise ArgumentError, "Required argument 'application' missing" unless arguments[:application]
|
13
|
+
|
14
|
+
valid_params = [ :refresh ]
|
15
|
+
|
16
|
+
method = Elasticsearch::API::HTTP_DELETE
|
17
|
+
path = "_xpack/security/privilege/#{arguments.delete(:application)}/#{arguments[:name]}"
|
18
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
19
|
+
body = nil
|
20
|
+
|
21
|
+
perform_request(method, path, params, body).body
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module Security
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# Retrieve one or more roles from the native realm
|
8
|
+
#
|
9
|
+
# @option arguments [String] :name Role name
|
10
|
+
#
|
11
|
+
# @see https://www.elastic.co/guide/en/x-pack/current/security-api-roles.html#security-api-get-role
|
12
|
+
#
|
13
|
+
def get_privileges(arguments={})
|
14
|
+
method = Elasticsearch::API::HTTP_GET
|
15
|
+
path = Elasticsearch::API::Utils.__pathify "_xpack/security/privilege",
|
16
|
+
arguments[:application],
|
17
|
+
Elasticsearch::API::Utils.__listify(arguments[:name])
|
18
|
+
params = {}
|
19
|
+
body = nil
|
20
|
+
|
21
|
+
perform_request(method, path, params, body).body
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -12,7 +12,7 @@ module Elasticsearch
|
|
12
12
|
#
|
13
13
|
def get_role_mapping(arguments={})
|
14
14
|
method = Elasticsearch::API::HTTP_GET
|
15
|
-
path = "_xpack/security/role_mapping/#{arguments[:name]}"
|
15
|
+
path = "_xpack/security/role_mapping/#{Elasticsearch::API::Utils.__listify(arguments[:name])}"
|
16
16
|
params = {}
|
17
17
|
body = nil
|
18
18
|
|
@@ -0,0 +1,20 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module Security
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# Get user privileges
|
8
|
+
#
|
9
|
+
def get_user_privileges(arguments={})
|
10
|
+
method = Elasticsearch::API::HTTP_GET
|
11
|
+
params = {}
|
12
|
+
body = nil
|
13
|
+
|
14
|
+
perform_request(method, '_xpack/security/user/_privileges', params, body).body
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module Security
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# Remove a role from the native realm
|
8
|
+
#
|
9
|
+
# @option arguments [String] :user Username
|
10
|
+
# @option arguments [String] :body The privileges to test (*Required*)
|
11
|
+
#
|
12
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html
|
13
|
+
#
|
14
|
+
def has_privileges(arguments={})
|
15
|
+
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
16
|
+
|
17
|
+
method = Elasticsearch::API::HTTP_GET
|
18
|
+
|
19
|
+
path = Elasticsearch::API::Utils.__pathify "_xpack/security/user", arguments[:user], "_has_privileges"
|
20
|
+
|
21
|
+
perform_request(method, path, {}, arguments[:body]).body
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module Elasticsearch
|
2
|
+
module XPack
|
3
|
+
module API
|
4
|
+
module Security
|
5
|
+
module Actions
|
6
|
+
|
7
|
+
# Add a privilege
|
8
|
+
#
|
9
|
+
# @option arguments [Hash] :body The privilege(s) to add (*Required*)
|
10
|
+
# @option arguments [Boolean] :refresh If `true` (the default) then refresh the affected shards to make this operation visible to search,
|
11
|
+
# if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.
|
12
|
+
#
|
13
|
+
def put_privileges(arguments={})
|
14
|
+
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
|
15
|
+
|
16
|
+
valid_params = [ :refresh ]
|
17
|
+
|
18
|
+
method = Elasticsearch::API::HTTP_PUT
|
19
|
+
path = "_xpack/security/privilege"
|
20
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
21
|
+
body = arguments[:body]
|
22
|
+
|
23
|
+
perform_request(method, path, params, body).body
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -16,14 +16,17 @@ module Elasticsearch
|
|
16
16
|
raise ArgumentError, "Required argument 'watch_id' missing" unless arguments[:watch_id]
|
17
17
|
|
18
18
|
valid_params = [
|
19
|
-
:master_timeout
|
20
|
-
:action_id ]
|
19
|
+
:master_timeout ]
|
21
20
|
|
22
21
|
arguments = arguments.clone
|
23
22
|
watch_id = arguments.delete(:watch_id)
|
23
|
+
action_id = arguments.delete(:action_id)
|
24
24
|
|
25
25
|
method = Elasticsearch::API::HTTP_PUT
|
26
|
+
|
26
27
|
path = "_xpack/watcher/watch/#{watch_id}/_ack"
|
28
|
+
path << "/#{action_id}" if action_id
|
29
|
+
|
27
30
|
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
28
31
|
body = nil
|
29
32
|
|
@@ -15,7 +15,9 @@ module Elasticsearch
|
|
15
15
|
def execute_watch(arguments={})
|
16
16
|
valid_params = [ :debug ]
|
17
17
|
method = Elasticsearch::API::HTTP_PUT
|
18
|
-
|
18
|
+
|
19
|
+
path = Elasticsearch::API::Utils.__pathify "_xpack/watcher/watch", arguments.delete(:id), "_execute"
|
20
|
+
|
19
21
|
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
20
22
|
body = arguments[:body]
|
21
23
|
|
@@ -12,7 +12,7 @@ module Elasticsearch
|
|
12
12
|
# @see https://www.elastic.co/guide/en/x-pack/current/watcher-api-stats.html
|
13
13
|
#
|
14
14
|
def stats(arguments={})
|
15
|
-
valid_params = [ :metric ]
|
15
|
+
valid_params = [ :metric, :emit_stacktraces ]
|
16
16
|
method = Elasticsearch::API::HTTP_GET
|
17
17
|
path = "_xpack/watcher/stats"
|
18
18
|
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, valid_params
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticsearch-xpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '11.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ruby-prof
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: elasticsearch-api
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,6 +227,7 @@ executables: []
|
|
213
227
|
extensions: []
|
214
228
|
extra_rdoc_files: []
|
215
229
|
files:
|
230
|
+
- ".gitignore"
|
216
231
|
- Gemfile
|
217
232
|
- LICENSE.txt
|
218
233
|
- README.md
|
@@ -236,8 +251,10 @@ files:
|
|
236
251
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_datafeed.rb
|
237
252
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_expired_data.rb
|
238
253
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_filter.rb
|
254
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_forecast.rb
|
239
255
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_job.rb
|
240
256
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_model_snapshot.rb
|
257
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/find_file_structure.rb
|
241
258
|
- lib/elasticsearch/xpack/api/actions/machine_learning/flush_job.rb
|
242
259
|
- lib/elasticsearch/xpack/api/actions/machine_learning/forecast.rb
|
243
260
|
- lib/elasticsearch/xpack/api/actions/machine_learning/get_buckets.rb
|
@@ -267,6 +284,7 @@ files:
|
|
267
284
|
- lib/elasticsearch/xpack/api/actions/machine_learning/start_datafeed.rb
|
268
285
|
- lib/elasticsearch/xpack/api/actions/machine_learning/stop_datafeed.rb
|
269
286
|
- lib/elasticsearch/xpack/api/actions/machine_learning/update_datafeed.rb
|
287
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/update_filter.rb
|
270
288
|
- lib/elasticsearch/xpack/api/actions/machine_learning/update_job.rb
|
271
289
|
- lib/elasticsearch/xpack/api/actions/machine_learning/update_model_snapshot.rb
|
272
290
|
- lib/elasticsearch/xpack/api/actions/machine_learning/validate.rb
|
@@ -278,6 +296,7 @@ files:
|
|
278
296
|
- lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb
|
279
297
|
- lib/elasticsearch/xpack/api/actions/rollup/get_jobs.rb
|
280
298
|
- lib/elasticsearch/xpack/api/actions/rollup/get_rollup_caps.rb
|
299
|
+
- lib/elasticsearch/xpack/api/actions/rollup/get_rollup_index_caps.rb
|
281
300
|
- lib/elasticsearch/xpack/api/actions/rollup/put_job.rb
|
282
301
|
- lib/elasticsearch/xpack/api/actions/rollup/rollup_search.rb
|
283
302
|
- lib/elasticsearch/xpack/api/actions/rollup/start_job.rb
|
@@ -286,16 +305,21 @@ files:
|
|
286
305
|
- lib/elasticsearch/xpack/api/actions/security/change_password.rb
|
287
306
|
- lib/elasticsearch/xpack/api/actions/security/clear_cached_realms.rb
|
288
307
|
- lib/elasticsearch/xpack/api/actions/security/clear_cached_roles.rb
|
308
|
+
- lib/elasticsearch/xpack/api/actions/security/delete_privileges.rb
|
289
309
|
- lib/elasticsearch/xpack/api/actions/security/delete_role.rb
|
290
310
|
- lib/elasticsearch/xpack/api/actions/security/delete_role_mapping.rb
|
291
311
|
- lib/elasticsearch/xpack/api/actions/security/delete_user.rb
|
292
312
|
- lib/elasticsearch/xpack/api/actions/security/disable_user.rb
|
293
313
|
- lib/elasticsearch/xpack/api/actions/security/enable_user.rb
|
314
|
+
- lib/elasticsearch/xpack/api/actions/security/get_privileges.rb
|
294
315
|
- lib/elasticsearch/xpack/api/actions/security/get_role.rb
|
295
316
|
- lib/elasticsearch/xpack/api/actions/security/get_role_mapping.rb
|
296
317
|
- lib/elasticsearch/xpack/api/actions/security/get_token.rb
|
297
318
|
- lib/elasticsearch/xpack/api/actions/security/get_user.rb
|
319
|
+
- lib/elasticsearch/xpack/api/actions/security/get_user_privileges.rb
|
320
|
+
- lib/elasticsearch/xpack/api/actions/security/has_privileges.rb
|
298
321
|
- lib/elasticsearch/xpack/api/actions/security/invalidate_token.rb
|
322
|
+
- lib/elasticsearch/xpack/api/actions/security/put_privileges.rb
|
299
323
|
- lib/elasticsearch/xpack/api/actions/security/put_role.rb
|
300
324
|
- lib/elasticsearch/xpack/api/actions/security/put_role_mapping.rb
|
301
325
|
- lib/elasticsearch/xpack/api/actions/security/put_user.rb
|
@@ -333,7 +357,7 @@ files:
|
|
333
357
|
- pkg/elasticsearch-xpack-6.0.0.gem
|
334
358
|
homepage: https://github.com/elastic/elasticsearch-ruby/tree/master/elasticsearch-xpack
|
335
359
|
licenses:
|
336
|
-
- Apache
|
360
|
+
- Apache-2.0
|
337
361
|
metadata: {}
|
338
362
|
post_install_message:
|
339
363
|
rdoc_options: []
|
@@ -350,8 +374,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
350
374
|
- !ruby/object:Gem::Version
|
351
375
|
version: '0'
|
352
376
|
requirements: []
|
353
|
-
|
354
|
-
rubygems_version: 2.6.11
|
377
|
+
rubygems_version: 3.0.2
|
355
378
|
signing_key:
|
356
379
|
specification_version: 4
|
357
380
|
summary: Ruby integrations for the X-Pack extensions for Elasticsearch
|