Skip to content

Commit 08405a4

Browse files
committed
Updated VERSION to 7.713 + updated endpoint namespaces
1 parent 234950d commit 08405a4

File tree

11 files changed

+150
-7
lines changed

11 files changed

+150
-7
lines changed

lib/Search/Elasticsearch.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use Moo 2.001000 ();
2222
use Search::Elasticsearch::Util qw(parse_params load_plugin);
2323
use namespace::clean;
2424

25-
our $VERSION = '7.711001';
25+
our $VERSION = '7.713';
2626

2727
my %Default_Plugins = (
2828
client => [ 'Search::Elasticsearch::Client', '7_0::Direct' ],

lib/Search/Elasticsearch/Async.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
package Search::Elasticsearch::Async;
1919

20-
our $VERSION = '7.711001';
20+
our $VERSION = '7.713';
2121
use Search::Elasticsearch 7.00;
2222
use Promises 0.93 ();
2323
use parent 'Search::Elasticsearch';

lib/Search/Elasticsearch/Client/6_0.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
package Search::Elasticsearch::Client::6_0;
1919

20-
our $VERSION='7.711001';
20+
our $VERSION = '7.713';
2121
use Search::Elasticsearch 7.00 ();
2222

2323
1;

lib/Search/Elasticsearch/Client/6_0/Async.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
package Search::Elasticsearch::Client::6_0::Async;
1919

20-
our $VERSION='7.711001';
20+
our $VERSION = '7.713';
2121
use Search::Elasticsearch::Client::7_0 7.00 ();
2222

2323
1;

lib/Search/Elasticsearch/Client/7_0.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
package Search::Elasticsearch::Client::7_0;
1919

20-
our $VERSION='7.711001';
20+
our $VERSION = '7.713';
2121
use Search::Elasticsearch 7.00 ();
2222

2323
1;

lib/Search/Elasticsearch/Client/7_0/Async.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
package Search::Elasticsearch::Client::7_0::Async;
1919

20-
our $VERSION='7.711001';
20+
our $VERSION = '7.713';
2121
use Search::Elasticsearch::Client::7_0 7.00 ();
2222

2323
1;

lib/Search/Elasticsearch/Client/7_0/Direct.pm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,21 @@ has 'ilm' => ( is => 'lazy', init_arg => undef );
2929
has 'indices' => ( is => 'lazy', init_arg => undef );
3030
has 'ingest' => ( is => 'lazy', init_arg => undef );
3131
has 'license' => ( is => 'lazy', init_arg => undef );
32+
has 'logstash' => ( is => 'lazy', init_arg => undef );
3233
has 'migration' => ( is => 'lazy', init_arg => undef );
3334
has 'ml' => ( is => 'lazy', init_arg => undef );
3435
has 'monitoring' => ( is => 'lazy', init_arg => undef );
3536
has 'nodes' => ( is => 'lazy', init_arg => undef );
3637
has 'rollup' => ( is => 'lazy', init_arg => undef );
3738
has 'searchable_snapshots' => ( is => 'lazy', init_arg => undef );
3839
has 'security' => ( is => 'lazy', init_arg => undef );
40+
has 'shutdown' => ( is => 'lazy', init_arg => undef );
3941
has 'snapshot' => ( is => 'lazy', init_arg => undef );
4042
has 'slm' => ( is => 'lazy', init_arg => undef );
4143
has 'sql' => ( is => 'lazy', init_arg => undef );
4244
has 'ssl' => ( is => 'lazy', init_arg => undef );
4345
has 'tasks' => ( is => 'lazy', init_arg => undef );
46+
has 'text_structure' => ( is => 'lazy', init_arg => undef );
4447
has 'transform' => ( is => 'lazy', init_arg => undef );
4548
has 'watcher' => ( is => 'lazy', init_arg => undef );
4649
has 'xpack' => ( is => 'lazy', init_arg => undef );
@@ -100,18 +103,21 @@ sub _build_ilm { shift->_build_namespace('ILM') }
100103
sub _build_indices { shift->_build_namespace('Indices') }
101104
sub _build_ingest { shift->_build_namespace('Ingest') }
102105
sub _build_license { shift->_build_namespace('License') }
106+
sub _build_logstash { shift->_build_namespace('Logstash') }
103107
sub _build_migration { shift->_build_namespace('Migration') }
104108
sub _build_ml { shift->_build_namespace('ML') }
105109
sub _build_monitoring { shift->_build_namespace('Monitoring') }
106110
sub _build_nodes { shift->_build_namespace('Nodes') }
107111
sub _build_rollup { shift->_build_namespace('Rollup') }
108112
sub _build_searchable_snapshots { shift->_build_namespace('SearchableSnapshots') }
109113
sub _build_security { shift->_build_namespace('Security') }
114+
sub _build_shutdown { shift->_build_namespace('Shutdown') }
110115
sub _build_snapshot { shift->_build_namespace('Snapshot') }
111116
sub _build_slm { shift->_build_namespace('Slm') }
112117
sub _build_sql { shift->_build_namespace('SQL') }
113118
sub _build_ssl { shift->_build_namespace('SSL') }
114119
sub _build_tasks { shift->_build_namespace('Tasks') }
120+
sub _build_text_structure { shift->_build_namespace('TextStructure') }
115121
sub _build_transform { shift->_build_namespace('Transform') }
116122
sub _build_watcher { shift->_build_namespace('Watcher') }
117123
sub _build_xpack { shift->_build_namespace('XPack') }
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
package Search::Elasticsearch::Client::7_0::Direct::Logstash;
19+
20+
use Moo;
21+
with 'Search::Elasticsearch::Client::7_0::Role::API';
22+
with 'Search::Elasticsearch::Role::Client::Direct';
23+
use namespace::clean;
24+
25+
__PACKAGE__->_install_api('logstash');
26+
27+
1;
28+
29+
__END__
30+
31+
# ABSTRACT: Plugin providing Logstash API for Search::Elasticsearch 7.x
32+
33+
=head1 SYNOPSIS
34+
35+
my $response = $es->logstash->get_pipeline(
36+
id => 'my_id'
37+
);
38+
39+
=head2 DESCRIPTION
40+
41+
This class extends the L<Search::Elasticsearch> client with a C<logstash>
42+
namespace, to support the API for the Logstash plugin for Elasticsearch.
43+
44+
=head1 METHODS
45+
46+
The full documentation for the Logstash plugin is available here:
47+
L<https://www.elastic.co/guide/en/elasticsearch/reference/current/logstash-apis.html>
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
package Search::Elasticsearch::Client::7_0::Direct::Shutdown;
19+
20+
use Moo;
21+
with 'Search::Elasticsearch::Client::7_0::Role::API';
22+
with 'Search::Elasticsearch::Role::Client::Direct';
23+
use namespace::clean;
24+
25+
__PACKAGE__->_install_api('shutdown');
26+
27+
1;
28+
29+
__END__
30+
31+
# ABSTRACT: Plugin providing Shutdown feature for Search::Elasticsearch 7.x
32+
33+
=head1 SYNOPSIS
34+
35+
my $response = $es->shutdown->put_node(
36+
node_id => $node_id
37+
);
38+
39+
=head2 DESCRIPTION
40+
41+
This class extends the L<Search::Elasticsearch> client with an C<shutdown>
42+
namespace, to support the experimental shutdown APIs.
43+
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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+
package Search::Elasticsearch::Client::7_0::Direct::TextStructure;
19+
20+
use Moo;
21+
with 'Search::Elasticsearch::Client::7_0::Role::API';
22+
with 'Search::Elasticsearch::Role::Client::Direct';
23+
__PACKAGE__->_install_api('text_structure');
24+
25+
1;
26+
27+
__END__
28+
29+
# ABSTRACT: Plugin providing TextStructure for Search::Elasticsearch 7.x
30+
31+
=head1 SYNOPSIS
32+
33+
my $response = $es->text_structure->find_structure(
34+
# values here
35+
);
36+
37+
=head2 DESCRIPTION
38+
39+
NOTE: this API is experimental and may be changed or removed completely in a future release.
40+
41+
This class extends the L<Search::Elasticsearch> client with a C<text_structure>
42+
namespace, to support the API for the Text Structure plugin for Elasticsearch.
43+
44+
=head1 METHODS
45+
46+
The full documentation for the Text Structure plugin is available here:
47+
L<https://www.elastic.co/guide/en/elasticsearch/reference/current/find-structure.html>

lib/Search/Elasticsearch/Cxn/NetCurl.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use Moo;
2121
with 'Search::Elasticsearch::Role::Cxn', 'Search::Elasticsearch::Role::Is_Sync';
2222

2323
use Search::Elasticsearch 7.00;
24-
our $VERSION = "7.711001";
24+
our $VERSION = "7.713";
2525

2626
use HTTP::Parser::XS qw(HEADERS_AS_HASHREF parse_http_response);
2727
use Try::Tiny;

0 commit comments

Comments
 (0)