elasticsearch-xpack 7.6.0 → 7.7.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/elasticsearch/xpack.rb +12 -0
- data/lib/elasticsearch/xpack/api/actions/async_search/delete.rb +37 -0
- data/lib/elasticsearch/xpack/api/actions/async_search/get.rb +49 -0
- data/lib/elasticsearch/xpack/api/actions/async_search/params_registry.rb +49 -0
- data/lib/elasticsearch/xpack/api/actions/async_search/submit.rb +136 -0
- data/lib/elasticsearch/xpack/api/actions/cat/ml_data_frame_analytics.rb +65 -0
- data/lib/elasticsearch/xpack/api/actions/cat/ml_datafeeds.rb +61 -0
- data/lib/elasticsearch/xpack/api/actions/cat/ml_jobs.rb +65 -0
- data/lib/elasticsearch/xpack/api/actions/cat/ml_trained_models.rb +69 -0
- data/lib/elasticsearch/xpack/api/actions/cat/params_registry.rb +49 -0
- data/lib/elasticsearch/xpack/api/actions/cat/transform.rb +64 -0
- data/lib/elasticsearch/xpack/api/actions/cat/transforms.rb +65 -0
- data/lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/delete_transform.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/get_transform.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/get_transform_stats.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/preview_transform.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/put_transform.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/start_transform.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/stop_transform.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/update_transform.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/graph/explore.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/delete_lifecycle.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/explain_lifecycle.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/get_lifecycle.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/get_status.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/move_to_step.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/put_lifecycle.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/remove_policy.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/retry.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/start.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/index_lifecycle_management/stop.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/info.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/license/delete.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/license/get.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/license/get_basic_status.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/license/get_trial_status.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/license/post.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/license/post_start_basic.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/license/post_start_trial.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/close_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_calendar.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_calendar_event.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_calendar_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_data_frame_analytics.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_datafeed.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_expired_data.rb +7 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_filter.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_forecast.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_model_snapshot.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/delete_trained_model.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/estimate_model_memory.rb +35 -0
- data/lib/elasticsearch/xpack/api/actions/machine_learning/evaluate_data_frame.rb +7 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/explain_data_frame_analytics.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/find_file_structure.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/flush_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/forecast.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_buckets.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_calendar_events.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_calendars.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_categories.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_data_frame_analytics.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_data_frame_analytics_stats.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_datafeed_stats.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_datafeeds.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_filters.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_influencers.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_job_stats.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_jobs.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_model_snapshots.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_overall_buckets.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_records.rb +8 -7
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_trained_models.rb +9 -6
- data/lib/elasticsearch/xpack/api/actions/machine_learning/get_trained_models_stats.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/info.rb +7 -4
- data/lib/elasticsearch/xpack/api/actions/machine_learning/open_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/post_calendar_events.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/post_data.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/preview_datafeed.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_calendar.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_calendar_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_data_frame_analytics.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_datafeed.rb +22 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_filter.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/put_trained_model.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/revert_model_snapshot.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/set_upgrade_mode.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/start_data_frame_analytics.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/start_datafeed.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/stop_data_frame_analytics.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/stop_datafeed.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_datafeed.rb +22 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_filter.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/update_model_snapshot.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/machine_learning/validate.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/machine_learning/validate_detector.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/migration/deprecations.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/monitoring/bulk.rb +6 -4
- data/lib/elasticsearch/xpack/api/actions/rollup/delete_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/rollup/get_jobs.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/rollup/get_rollup_caps.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/rollup/get_rollup_index_caps.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/rollup/put_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/rollup/rollup_search.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/rollup/start_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/rollup/stop_job.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/security/authenticate.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/security/change_password.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/clear_cached_realms.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/security/clear_cached_roles.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/security/create_api_key.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/delete_privileges.rb +6 -4
- data/lib/elasticsearch/xpack/api/actions/security/delete_role.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/delete_role_mapping.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/delete_user.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/disable_user.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/enable_user.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/get_api_key.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/security/get_builtin_privileges.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/security/get_privileges.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/security/get_role.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/security/get_role_mapping.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/security/get_token.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/security/get_user.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/security/get_user_privileges.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/security/has_privileges.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/security/invalidate_api_key.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/security/invalidate_token.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/security/put_privileges.rb +6 -4
- data/lib/elasticsearch/xpack/api/actions/security/put_role.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/put_role_mapping.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/security/put_user.rb +5 -3
- data/lib/elasticsearch/xpack/api/actions/sql/clear_cursor.rb +7 -4
- data/lib/elasticsearch/xpack/api/actions/sql/query.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/sql/translate.rb +7 -4
- data/lib/elasticsearch/xpack/api/actions/ssl/certificates.rb +6 -3
- data/lib/elasticsearch/xpack/api/actions/transform/delete_transform.rb +45 -0
- data/lib/elasticsearch/xpack/api/actions/transform/get_transform.rb +51 -0
- data/lib/elasticsearch/xpack/api/actions/transform/get_transform_stats.rb +49 -0
- data/lib/elasticsearch/xpack/api/actions/transform/params_registry.rb +49 -0
- data/lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb +35 -0
- data/lib/elasticsearch/xpack/api/actions/transform/put_transform.rb +47 -0
- data/lib/elasticsearch/xpack/api/actions/transform/start_transform.rb +45 -0
- data/lib/elasticsearch/xpack/api/actions/transform/stop_transform.rb +53 -0
- data/lib/elasticsearch/xpack/api/actions/transform/update_transform.rb +47 -0
- data/lib/elasticsearch/xpack/api/actions/usage.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/watcher/ack_watch.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/watcher/activate_watch.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/watcher/deactivate_watch.rb +5 -4
- data/lib/elasticsearch/xpack/api/actions/watcher/delete_watch.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/watcher/execute_watch.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/watcher/get_watch.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/watcher/put_watch.rb +6 -5
- data/lib/elasticsearch/xpack/api/actions/watcher/start.rb +7 -4
- data/lib/elasticsearch/xpack/api/actions/watcher/stats.rb +7 -6
- data/lib/elasticsearch/xpack/api/actions/watcher/stop.rb +7 -4
- data/lib/elasticsearch/xpack/api/namespace/async_search.rb +22 -0
- data/lib/elasticsearch/xpack/api/namespace/cat.rb +21 -0
- data/lib/elasticsearch/xpack/api/namespace/transform.rb +22 -0
- data/lib/elasticsearch/xpack/version.rb +1 -1
- metadata +28 -4
@@ -7,17 +7,18 @@ module Elasticsearch
|
|
7
7
|
module API
|
8
8
|
module Watcher
|
9
9
|
module Actions
|
10
|
-
#
|
11
|
-
|
10
|
+
# Retrieves a watch by its ID.
|
12
11
|
#
|
13
12
|
# @option arguments [String] :id Watch ID
|
14
|
-
|
13
|
+
# @option arguments [Hash] :headers Custom HTTP headers
|
15
14
|
#
|
16
|
-
# @see
|
15
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-get-watch.html
|
17
16
|
#
|
18
17
|
def get_watch(arguments = {})
|
19
18
|
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
|
20
19
|
|
20
|
+
headers = arguments.delete(:headers) || {}
|
21
|
+
|
21
22
|
arguments = arguments.clone
|
22
23
|
|
23
24
|
_id = arguments.delete(:id)
|
@@ -27,7 +28,7 @@ module Elasticsearch
|
|
27
28
|
params = {}
|
28
29
|
|
29
30
|
body = nil
|
30
|
-
perform_request(method, path, params, body).body
|
31
|
+
perform_request(method, path, params, body, headers).body
|
31
32
|
end
|
32
33
|
end
|
33
34
|
end
|
@@ -7,22 +7,23 @@ module Elasticsearch
|
|
7
7
|
module API
|
8
8
|
module Watcher
|
9
9
|
module Actions
|
10
|
-
#
|
11
|
-
|
10
|
+
# Creates a new watch, or updates an existing one.
|
12
11
|
#
|
13
12
|
# @option arguments [String] :id Watch ID
|
14
13
|
# @option arguments [Boolean] :active Specify whether the watch is in/active by default
|
15
14
|
# @option arguments [Number] :version Explicit version number for concurrency control
|
16
15
|
# @option arguments [Number] :if_seq_no only update the watch if the last operation that has changed the watch has the specified sequence number
|
17
16
|
# @option arguments [Number] :if_primary_term only update the watch if the last operation that has changed the watch has the specified primary term
|
18
|
-
|
17
|
+
# @option arguments [Hash] :headers Custom HTTP headers
|
19
18
|
# @option arguments [Hash] :body The watch
|
20
19
|
#
|
21
|
-
# @see
|
20
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-put-watch.html
|
22
21
|
#
|
23
22
|
def put_watch(arguments = {})
|
24
23
|
raise ArgumentError, "Required argument 'id' missing" unless arguments[:id]
|
25
24
|
|
25
|
+
headers = arguments.delete(:headers) || {}
|
26
|
+
|
26
27
|
arguments = arguments.clone
|
27
28
|
|
28
29
|
_id = arguments.delete(:id)
|
@@ -32,7 +33,7 @@ module Elasticsearch
|
|
32
33
|
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
33
34
|
|
34
35
|
body = arguments[:body]
|
35
|
-
perform_request(method, path, params, body).body
|
36
|
+
perform_request(method, path, params, body, headers).body
|
36
37
|
end
|
37
38
|
|
38
39
|
# Register this action with its valid params when the module is loaded.
|
@@ -7,12 +7,15 @@ module Elasticsearch
|
|
7
7
|
module API
|
8
8
|
module Watcher
|
9
9
|
module Actions
|
10
|
-
#
|
11
|
-
|
10
|
+
# Starts Watcher if it is not already running.
|
11
|
+
#
|
12
|
+
# @option arguments [Hash] :headers Custom HTTP headers
|
12
13
|
#
|
13
|
-
# @see
|
14
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-start.html
|
14
15
|
#
|
15
16
|
def start(arguments = {})
|
17
|
+
headers = arguments.delete(:headers) || {}
|
18
|
+
|
16
19
|
arguments = arguments.clone
|
17
20
|
|
18
21
|
method = Elasticsearch::API::HTTP_POST
|
@@ -20,7 +23,7 @@ module Elasticsearch
|
|
20
23
|
params = {}
|
21
24
|
|
22
25
|
body = nil
|
23
|
-
perform_request(method, path, params, body).body
|
26
|
+
perform_request(method, path, params, body, headers).body
|
24
27
|
end
|
25
28
|
end
|
26
29
|
end
|
@@ -7,8 +7,7 @@ module Elasticsearch
|
|
7
7
|
module API
|
8
8
|
module Watcher
|
9
9
|
module Actions
|
10
|
-
#
|
11
|
-
|
10
|
+
# Retrieves the current Watcher metrics.
|
12
11
|
#
|
13
12
|
# @option arguments [List] :metric Controls what additional stat metrics should be include in the response
|
14
13
|
# (options: _all,queued_watches,current_watches,pending_watches)
|
@@ -17,11 +16,13 @@ module Elasticsearch
|
|
17
16
|
# (options: _all,queued_watches,current_watches,pending_watches)
|
18
17
|
|
19
18
|
# @option arguments [Boolean] :emit_stacktraces Emits stack traces of currently running watches
|
20
|
-
|
19
|
+
# @option arguments [Hash] :headers Custom HTTP headers
|
21
20
|
#
|
22
|
-
# @see
|
21
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stats.html
|
23
22
|
#
|
24
23
|
def stats(arguments = {})
|
24
|
+
headers = arguments.delete(:headers) || {}
|
25
|
+
|
25
26
|
arguments = arguments.clone
|
26
27
|
|
27
28
|
_metric = arguments.delete(:metric)
|
@@ -31,11 +32,11 @@ module Elasticsearch
|
|
31
32
|
"_watcher/stats/#{Elasticsearch::API::Utils.__listify(_metric)}"
|
32
33
|
else
|
33
34
|
"_watcher/stats"
|
34
|
-
|
35
|
+
end
|
35
36
|
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
36
37
|
|
37
38
|
body = nil
|
38
|
-
perform_request(method, path, params, body).body
|
39
|
+
perform_request(method, path, params, body, headers).body
|
39
40
|
end
|
40
41
|
|
41
42
|
# Register this action with its valid params when the module is loaded.
|
@@ -7,12 +7,15 @@ module Elasticsearch
|
|
7
7
|
module API
|
8
8
|
module Watcher
|
9
9
|
module Actions
|
10
|
-
#
|
11
|
-
|
10
|
+
# Stops Watcher if it is running.
|
11
|
+
#
|
12
|
+
# @option arguments [Hash] :headers Custom HTTP headers
|
12
13
|
#
|
13
|
-
# @see
|
14
|
+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-stop.html
|
14
15
|
#
|
15
16
|
def stop(arguments = {})
|
17
|
+
headers = arguments.delete(:headers) || {}
|
18
|
+
|
16
19
|
arguments = arguments.clone
|
17
20
|
|
18
21
|
method = Elasticsearch::API::HTTP_POST
|
@@ -20,7 +23,7 @@ module Elasticsearch
|
|
20
23
|
params = {}
|
21
24
|
|
22
25
|
body = nil
|
23
|
-
perform_request(method, path, params, body).body
|
26
|
+
perform_request(method, path, params, body, headers).body
|
24
27
|
end
|
25
28
|
end
|
26
29
|
end
|
@@ -0,0 +1,22 @@
|
|
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 AsyncSearch
|
9
|
+
module Actions; end
|
10
|
+
|
11
|
+
class AsyncSearchClient
|
12
|
+
include Elasticsearch::API::Common::Client, Elasticsearch::API::Common::Client::Base, AsyncSearch::Actions
|
13
|
+
end
|
14
|
+
|
15
|
+
def async_search
|
16
|
+
@async_search ||= AsyncSearchClient.new(self)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,21 @@
|
|
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 Cat
|
9
|
+
module Actions; end
|
10
|
+
|
11
|
+
class CatClient < Elasticsearch::API::Cat::CatClient
|
12
|
+
include Elasticsearch::API::Common::Client, Elasticsearch::API::Common::Client::Base, Cat::Actions
|
13
|
+
end
|
14
|
+
|
15
|
+
def cat
|
16
|
+
@cat ||= CatClient.new(self)
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,22 @@
|
|
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 Transform
|
9
|
+
module Actions; end
|
10
|
+
|
11
|
+
class TransformClient
|
12
|
+
include Elasticsearch::API::Common::Client, Elasticsearch::API::Common::Client::Base, Transform::Actions
|
13
|
+
end
|
14
|
+
|
15
|
+
def transform
|
16
|
+
@transform ||= TransformClient.new(self)
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
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.7.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-04-
|
11
|
+
date: 2020-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -235,6 +235,17 @@ files:
|
|
235
235
|
- elasticsearch-xpack.gemspec
|
236
236
|
- examples/watcher/error_500.rb
|
237
237
|
- lib/elasticsearch/xpack.rb
|
238
|
+
- lib/elasticsearch/xpack/api/actions/async_search/delete.rb
|
239
|
+
- lib/elasticsearch/xpack/api/actions/async_search/get.rb
|
240
|
+
- lib/elasticsearch/xpack/api/actions/async_search/params_registry.rb
|
241
|
+
- lib/elasticsearch/xpack/api/actions/async_search/submit.rb
|
242
|
+
- lib/elasticsearch/xpack/api/actions/cat/ml_data_frame_analytics.rb
|
243
|
+
- lib/elasticsearch/xpack/api/actions/cat/ml_datafeeds.rb
|
244
|
+
- lib/elasticsearch/xpack/api/actions/cat/ml_jobs.rb
|
245
|
+
- lib/elasticsearch/xpack/api/actions/cat/ml_trained_models.rb
|
246
|
+
- lib/elasticsearch/xpack/api/actions/cat/params_registry.rb
|
247
|
+
- lib/elasticsearch/xpack/api/actions/cat/transform.rb
|
248
|
+
- lib/elasticsearch/xpack/api/actions/cat/transforms.rb
|
238
249
|
- lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/delete_transform.rb
|
239
250
|
- lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/get_transform.rb
|
240
251
|
- lib/elasticsearch/xpack/api/actions/data_frame_transform_deprecated/get_transform_stats.rb
|
@@ -284,6 +295,7 @@ files:
|
|
284
295
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_model_snapshot.rb
|
285
296
|
- lib/elasticsearch/xpack/api/actions/machine_learning/delete_trained_model.rb
|
286
297
|
- lib/elasticsearch/xpack/api/actions/machine_learning/estimate_memory_usage.rb
|
298
|
+
- lib/elasticsearch/xpack/api/actions/machine_learning/estimate_model_memory.rb
|
287
299
|
- lib/elasticsearch/xpack/api/actions/machine_learning/evaluate_data_frame.rb
|
288
300
|
- lib/elasticsearch/xpack/api/actions/machine_learning/explain_data_frame_analytics.rb
|
289
301
|
- lib/elasticsearch/xpack/api/actions/machine_learning/find_file_structure.rb
|
@@ -378,6 +390,15 @@ files:
|
|
378
390
|
- lib/elasticsearch/xpack/api/actions/sql/translate.rb
|
379
391
|
- lib/elasticsearch/xpack/api/actions/ssl/certificates.rb
|
380
392
|
- lib/elasticsearch/xpack/api/actions/ssl/params_registry.rb
|
393
|
+
- lib/elasticsearch/xpack/api/actions/transform/delete_transform.rb
|
394
|
+
- lib/elasticsearch/xpack/api/actions/transform/get_transform.rb
|
395
|
+
- lib/elasticsearch/xpack/api/actions/transform/get_transform_stats.rb
|
396
|
+
- lib/elasticsearch/xpack/api/actions/transform/params_registry.rb
|
397
|
+
- lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb
|
398
|
+
- lib/elasticsearch/xpack/api/actions/transform/put_transform.rb
|
399
|
+
- lib/elasticsearch/xpack/api/actions/transform/start_transform.rb
|
400
|
+
- lib/elasticsearch/xpack/api/actions/transform/stop_transform.rb
|
401
|
+
- lib/elasticsearch/xpack/api/actions/transform/update_transform.rb
|
381
402
|
- lib/elasticsearch/xpack/api/actions/usage.rb
|
382
403
|
- lib/elasticsearch/xpack/api/actions/watcher/ack_watch.rb
|
383
404
|
- lib/elasticsearch/xpack/api/actions/watcher/activate_watch.rb
|
@@ -390,6 +411,8 @@ files:
|
|
390
411
|
- lib/elasticsearch/xpack/api/actions/watcher/start.rb
|
391
412
|
- lib/elasticsearch/xpack/api/actions/watcher/stats.rb
|
392
413
|
- lib/elasticsearch/xpack/api/actions/watcher/stop.rb
|
414
|
+
- lib/elasticsearch/xpack/api/namespace/async_search.rb
|
415
|
+
- lib/elasticsearch/xpack/api/namespace/cat.rb
|
393
416
|
- lib/elasticsearch/xpack/api/namespace/data_frame.rb
|
394
417
|
- lib/elasticsearch/xpack/api/namespace/graph.rb
|
395
418
|
- lib/elasticsearch/xpack/api/namespace/index_lifecycle_management.rb
|
@@ -401,6 +424,7 @@ files:
|
|
401
424
|
- lib/elasticsearch/xpack/api/namespace/security.rb
|
402
425
|
- lib/elasticsearch/xpack/api/namespace/sql.rb
|
403
426
|
- lib/elasticsearch/xpack/api/namespace/ssl.rb
|
427
|
+
- lib/elasticsearch/xpack/api/namespace/transform.rb
|
404
428
|
- lib/elasticsearch/xpack/api/namespace/watcher.rb
|
405
429
|
- lib/elasticsearch/xpack/version.rb
|
406
430
|
homepage: https://github.com/elastic/elasticsearch-xpack-ruby
|
@@ -418,9 +442,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
418
442
|
version: '0'
|
419
443
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
420
444
|
requirements:
|
421
|
-
- - "
|
445
|
+
- - ">"
|
422
446
|
- !ruby/object:Gem::Version
|
423
|
-
version:
|
447
|
+
version: 1.3.1
|
424
448
|
requirements: []
|
425
449
|
rubygems_version: 3.1.2
|
426
450
|
signing_key:
|