elasticsearch-xpack 7.16.0 → 7.16.1
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/api/actions/fleet/msearch.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/monitoring/bulk.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/text_structure/find_structure.rb +1 -1
- data/lib/elasticsearch/xpack/api/actions/transform/delete_transform.rb +3 -1
- data/lib/elasticsearch/xpack/api/actions/transform/preview_transform.rb +9 -1
- data/lib/elasticsearch/xpack/api/actions/transform/put_transform.rb +3 -1
- data/lib/elasticsearch/xpack/api/actions/transform/update_transform.rb +3 -1
- data/lib/elasticsearch/xpack/api/actions/transform/upgrade_transforms.rb +3 -1
- data/lib/elasticsearch/xpack/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2173e26141bb5ca03ffd6eb505ff5b548598e6c1350a71b10b96a313e9d9583
|
4
|
+
data.tar.gz: 3aec5794efa36943d141c4e778188d310c1a7138cf92a4f897b8e7727d40223f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5ebde05b66aa8afd82b52d9f74acd7fc5861c0864d1b4974968aa4bacccbb4a21198fbf314c068fb8eabb967ecfc8c0f820f8051edb13064ead0b9fd1ad08e0
|
7
|
+
data.tar.gz: 52d41b1bd113b5860bb4954d5ea56ecb29dc11509a62185972cc21bdb8d9b388c800c4f2391837b5e59771e81c2c215ec44d02cd62d97f37cc1f52dc33bd1c29
|
@@ -24,6 +24,7 @@ module Elasticsearch
|
|
24
24
|
#
|
25
25
|
# @option arguments [String] :transform_id The id of the transform to delete
|
26
26
|
# @option arguments [Boolean] :force When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted.
|
27
|
+
# @option arguments [Time] :timeout Controls the time to wait for the transform deletion
|
27
28
|
# @option arguments [Hash] :headers Custom HTTP headers
|
28
29
|
#
|
29
30
|
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.16/delete-transform.html
|
@@ -49,7 +50,8 @@ module Elasticsearch
|
|
49
50
|
#
|
50
51
|
# @since 6.2.0
|
51
52
|
ParamsRegistry.register(:delete_transform, [
|
52
|
-
:force
|
53
|
+
:force,
|
54
|
+
:timeout
|
53
55
|
].freeze)
|
54
56
|
end
|
55
57
|
end
|
@@ -23,6 +23,7 @@ module Elasticsearch
|
|
23
23
|
# Previews a transform.
|
24
24
|
#
|
25
25
|
# @option arguments [String] :transform_id The id of the transform to preview.
|
26
|
+
# @option arguments [Time] :timeout Controls the time to wait for the preview
|
26
27
|
# @option arguments [Hash] :headers Custom HTTP headers
|
27
28
|
# @option arguments [Hash] :body The definition for the transform to preview
|
28
29
|
#
|
@@ -46,11 +47,18 @@ module Elasticsearch
|
|
46
47
|
else
|
47
48
|
"_transform/_preview"
|
48
49
|
end
|
49
|
-
params =
|
50
|
+
params = Elasticsearch::API::Utils.__validate_and_extract_params arguments, ParamsRegistry.get(__method__)
|
50
51
|
|
51
52
|
body = arguments[:body]
|
52
53
|
perform_request(method, path, params, body, headers).body
|
53
54
|
end
|
55
|
+
|
56
|
+
# Register this action with its valid params when the module is loaded.
|
57
|
+
#
|
58
|
+
# @since 6.2.0
|
59
|
+
ParamsRegistry.register(:preview_transform, [
|
60
|
+
:timeout
|
61
|
+
].freeze)
|
54
62
|
end
|
55
63
|
end
|
56
64
|
end
|
@@ -24,6 +24,7 @@ module Elasticsearch
|
|
24
24
|
#
|
25
25
|
# @option arguments [String] :transform_id The id of the new transform.
|
26
26
|
# @option arguments [Boolean] :defer_validation If validations should be deferred until transform starts, defaults to false.
|
27
|
+
# @option arguments [Time] :timeout Controls the time to wait for the transform to start
|
27
28
|
# @option arguments [Hash] :headers Custom HTTP headers
|
28
29
|
# @option arguments [Hash] :body The transform definition (*Required*)
|
29
30
|
#
|
@@ -51,7 +52,8 @@ module Elasticsearch
|
|
51
52
|
#
|
52
53
|
# @since 6.2.0
|
53
54
|
ParamsRegistry.register(:put_transform, [
|
54
|
-
:defer_validation
|
55
|
+
:defer_validation,
|
56
|
+
:timeout
|
55
57
|
].freeze)
|
56
58
|
end
|
57
59
|
end
|
@@ -24,6 +24,7 @@ module Elasticsearch
|
|
24
24
|
#
|
25
25
|
# @option arguments [String] :transform_id The id of the transform. (*Required*)
|
26
26
|
# @option arguments [Boolean] :defer_validation If validations should be deferred until transform starts, defaults to false.
|
27
|
+
# @option arguments [Time] :timeout Controls the time to wait for the update
|
27
28
|
# @option arguments [Hash] :headers Custom HTTP headers
|
28
29
|
# @option arguments [Hash] :body The update transform definition (*Required*)
|
29
30
|
#
|
@@ -51,7 +52,8 @@ module Elasticsearch
|
|
51
52
|
#
|
52
53
|
# @since 6.2.0
|
53
54
|
ParamsRegistry.register(:update_transform, [
|
54
|
-
:defer_validation
|
55
|
+
:defer_validation,
|
56
|
+
:timeout
|
55
57
|
].freeze)
|
56
58
|
end
|
57
59
|
end
|
@@ -23,6 +23,7 @@ module Elasticsearch
|
|
23
23
|
# Upgrades all transforms.
|
24
24
|
#
|
25
25
|
# @option arguments [Boolean] :dry_run Whether to only check for updates but don't execute
|
26
|
+
# @option arguments [Time] :timeout Controls the time to wait for the upgrade
|
26
27
|
# @option arguments [Hash] :headers Custom HTTP headers
|
27
28
|
#
|
28
29
|
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.16/upgrade-transforms.html
|
@@ -44,7 +45,8 @@ module Elasticsearch
|
|
44
45
|
#
|
45
46
|
# @since 6.2.0
|
46
47
|
ParamsRegistry.register(:upgrade_transforms, [
|
47
|
-
:dry_run
|
48
|
+
:dry_run,
|
49
|
+
:timeout
|
48
50
|
].freeze)
|
49
51
|
end
|
50
52
|
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.16.
|
4
|
+
version: 7.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karel Minarik
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|