Commit graph

613 commits

Author SHA1 Message Date
Saman Nourkhalaj
7c342f1241
Add Logback config to java REST client docs (#94358) 2023-03-08 19:31:47 +01:00
Egor Krylovich
bd30534452
90630: Fix links to Apache HTTP Client doc (#92174) 2022-12-07 11:50:22 +00:00
satyam kale
e864173caf
fixed link in apache RequestConfig.Builder on documentation (#92073)
* fixed link in apache RequestConfig.Builder on documentation

* HttpAsyncClientBuilder link fixed
2022-12-06 13:56:50 +01:00
Thiago Barbosa
58237b2ccf
fixing Apache HttpHost url on java-rest doc (#91945) 2022-11-29 11:49:27 +01:00
Martijn van Groningen
eec64f72bf
Remove HLRC docs and related integration tests. (#81358)
The HLRC will no longer be published from 8.0.0 and onwards.
Also the HLRC docs are no longer published, so these can be removed now.

The HLRC is currently used in a number of java rest tests and
for this reason it can't be removed completely.

Closes #81299
2021-12-17 07:39:14 +01:00
Ioannis Kakavas
5d3b6bf2f7
Allow node to enroll to cluster on startup (#77718)
The functionality to enroll a new node to a cluster was
introduced in #77292 as a CLI tool. This change replaces this
CLI tool with the option to trigger the enrollment functionality 
on startup of elasticsearch via a named argument that can be 
passed to the elasticsearch startup script (--enrollment-token)
so that the users that want to enroll a node to a cluster can do 
this with one command instead of two. 

In a followup PR we are introducing a CLI tool version of this
functionality, that can be used to reconfigure packaged
installations.
2021-10-27 08:13:49 +03:00
Dan Hermann
4a36d5cd79
Remove endpoint for freezing indices (#78918) 2021-10-26 06:37:56 -05:00
István Zoltán Szabó
c9ec9a35a5
[DOCS] Adds link that points to Java API Client to HLRC deprecation note. (#78957) 2021-10-12 10:04:43 +02:00
István Zoltán Szabó
fdf739b712
[DOCS] Removes LLRC from Java REST book. (#78602) 2021-10-05 16:22:59 +02:00
István Zoltán Szabó
2d6f6b6421
[DOCS] Removes new HLRC section from Java REST Client book. (#78368) 2021-09-28 12:30:12 +02:00
István Zoltán Szabó
303d7b8388
[DOCS] Adds deprecation notice to the index file of Java HLRC. (#77988) 2021-09-20 10:57:23 +02:00
István Zoltán Szabó
9120bc84b2
[DOCS] Removes deprecated word from HLRC title. (#77851) 2021-09-16 11:55:09 +02:00
István Zoltán Szabó
a062f7d521
[DOCS] Adds new Java high-level client book (#77747) 2021-09-15 15:28:31 -07:00
Yang Wang
00c3b5c8d9
CreateApiKey response now returns the base64 encoded credentials (#77351)
This PR adds a new "encoded" field to the response of CreateApiKey API.
It is the base64 encoded value of "id:api_key". The field is added for
the convenience of the API consumers so that no extra
computation/encoding is needed. Sometimes the extra computation/encoding
can be error prone or not feasible for simple clients.

Resolves: #50235
2021-09-14 14:22:35 +10:00
weensykim
a50a8f9eb9
[DOCS] Fix typo (#76911) 2021-08-25 10:03:51 -04:00
Ioannis Kakavas
a59684835d
Enroll Kibana API uses Service Accounts (#76370)
This commit changes the Enroll Kibana API to create and return
a token for this service account, instead of setting and returning the
password of the kibana_system built-in user. Both the token name and
value are returned in the response of the API.
2021-08-17 14:41:35 +03:00
Yang Wang
7bb1185806
HLRC support for query API key API (#76520)
This PR adds HLRC for the new Query API key API added with #75335 and #76144

Relates: #71023
2021-08-17 16:00:55 +10:00
Yang Wang
e4f7132055
Return file-backed service tokens from all nodes (#75200)
The Get service account credentials API now returns file-backed tokens from all
nodes instead of only the local node. For each file-backed service token, we
list names of the nodes where this token is found. The response for node-local
credentials (currently only file-backed tokens) is place inside the
"nodes_credentials.file_tokens" field. There is also a nodes_credentials._nodes
field containing information about the overall request execution (it works the
same way as the _nodes field of Nodes info API, etc.) Detailed response sample
can be found in #74530

This PR also removes the beta label from the API's documentation page.

Resolves: #74530
2021-08-03 13:43:46 +10:00
Alexander Reelsen
007ae01600
Docs: Fix node selector documentation (#75217) 2021-07-13 10:44:37 +01:00
Ioannis Kakavas
74932503a6
Enroll Node API doesn't return a cluster name (#74514)
During implementation we discovered that the clusters should not
necessarily have a unique name and thus we don't need to convey
this information in the response of the Enroll Node API.
2021-06-24 11:27:04 +03:00
Ioannis Kakavas
82e7fbda53
Add the Enroll Kibana API (#72207)
This change adds the Enroll Kibana API that enables a Kibana instance to
configure itself to communicate with a secured elasticsearch cluster
2021-06-23 22:58:46 +03:00
Lisa Cawley
68c33dc713
[DOCS] Add get user privileges API (#73016) 2021-06-22 08:16:21 -07:00
Yang Wang
2350369782
Service Accounts - HLRC (#72431)
This PR adds corresponding components in High Level Rest Client for the new
APIs related to the service accounts feature.
2021-06-17 21:27:20 +10:00
Nhat Nguyen
1211b9d5e4
Fix HLRC doc link for point in time API (#73874)
The PIT's docs in HLRC wasn't linked properly.
2021-06-09 12:32:30 -04:00
James Rodewig
b6f194341b
[DOCS] Remove unneeded phrase (#73752) (#73766)
Co-authored-by: AndyHunt66 <andrew.hunt@elastic.co>
2021-06-04 08:58:52 -04:00
Francisco Fernández Castaño
a8101f346f
Add support for index pattern exclusion in CCR AutoFollow (#72935)
This commit adds the ability to specify exclusion patterns in Auto-Follow patterns. This allows excluding indices that match any of the inclusion patterns and also match some of the exclusion patterns giving more fine grained control in scenarios where this is important.

Related #67686
2021-06-04 13:53:30 +02:00
David Kyle
94adaa55c0
[ML] Merge the pytorch-inference feature branch (#73660)
The feature branch contains changes to configure PyTorch models with a 
TrainedModelConfig and defines a format to store the binary models. 
The _start and _stop deployment actions control the model lifecycle 
and the model can be directly evaluated with the _infer endpoint. 
2 Types of NLP tasks are supported: Named Entity Recognition and Fill Mask.

The feature branch consists of these PRs: #73523, #72218, #71679
#71323, #71035, #71177, #70713
2021-06-03 12:43:06 +01:00
David Roberts
0059c59e25
[ML] Make ml_standard tokenizer the default for new categorization jobs (#72805)
Categorization jobs created once the entire cluster is upgraded to
version 7.14 or higher will default to using the new ml_standard
tokenizer rather than the previous default of the ml_classic
tokenizer, and will incorporate the new first_non_blank_line char
filter so that categorization is based purely on the first non-blank
line of each message.

The difference between the ml_classic and ml_standard tokenizers
is that ml_classic splits on slashes and colons, so creates multiple
tokens from URLs and filesystem paths, whereas ml_standard attempts
to keep URLs, email addresses and filesystem paths as single tokens.

It is still possible to config the ml_classic tokenizer if you
prefer: just provide a categorization_analyzer within your
analysis_config and whichever tokenizer you choose (which could be
ml_classic or any other Elasticsearch tokenizer) will be used.

To opt out of using first_non_blank_line as a default char filter,
you must explicitly specify a categorization_analyzer that does not
include it.

If no categorization_analyzer is specified but categorization_filters
are specified then the categorization filters are converted to char
filters applied that are applied after first_non_blank_line.

Closes elastic/ml-cpp#1724
2021-06-01 15:11:32 +01:00
Nhat Nguyen
44fc661835
Add point in time to HLRC (#72167)
Closes #70593
2021-05-12 17:59:25 -04:00
Ioannis Kakavas
b826703e21
Enroll node API (#72129)
Enroll node API can be used by new nodes in order to join an
existing cluster that has security features enabled. The response
of a call to this API contains all the necessary information that
the new node requires in order to configure itself and bootstrap
trust with the existing cluster.
2021-05-12 08:45:02 +03:00
James Rodewig
ba66669eb3
[DOCS] Rename mount types for searchable snapshots (#72699)
Changes:

* Renames 'full copy searchable snapshot' to 'fully mounted index.'
* Renames 'shared cache searchable snapshot' to 'partially mounted index.'
* Removes some unneeded cache setup instructions for the frozen tier. We added a default cache size with #71844.
2021-05-05 16:35:33 -04:00
Lisa Cawley
52c88a763e
[DOCS] Add runtime_mappings to update datafeed API in HLRC (#71772)
Co-authored-by: David Kyle <david.kyle@elastic.co>
2021-04-22 08:22:13 -07:00
Tanguy Leroux
571acfe3e3
Add Searchable Snapshots Cache Stats API to HLRC (#71858)
In #71701 we added a new REST API that provides statistics 
about the searchable snapshots cache on Frozen Tier.

This commit adds the necessary plumbing to expose this API 
in the High Level REST Client. It also exposes the documentation 
of the Mount Snapshot API that was created in #68949 but not 
made accessible.
2021-04-20 13:35:21 +02:00
James Rodewig
3d172da8dd
[DOCS] Fix create enrich policy API title (#71494) 2021-04-08 15:35:53 -04:00
James Rodewig
693807a6d3
[DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
Ivan Brusic
57ac4d9d13
[DOCS] Fix typos in HLRC delete stored script API (#70897) 2021-03-26 12:08:27 -04:00
István Zoltán Szabó
9a8c6fb66f
[DOCS] Removes beta labels from DFA related docs. (#70808) 2021-03-26 09:46:41 +01:00
Tanguy Leroux
222f2a0f6c
Add documentation for Clone Snapshot Java API (#70720)
This commit adds some missing documentation about 
the Clone Snapshot Java API.

Relates #63863
2021-03-24 15:33:09 +01:00
James Rodewig
5c75d004fa
[DOCS] Replace put with create or update in API names (#70330)
Co-authored-by: debadair <debadair@elastic.co>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2021-03-15 14:49:44 -04:00
James Rodewig
9af74ec561
[DOCS] Remove added admons (#69452) 2021-02-23 10:35:21 -05:00
Lisa Cawley
ed4b215e32
[DOCS] Add grant API key to Java HLRC (#63783)
Co-authored-by: Tim Vernum <tim@adjective.org>
2021-02-22 10:11:26 -08:00
Benjamin Trent
2ee6dc37b6
[ML][HLRC] adds put and delete trained model alias APIs to rest high-level client (#69214)
adds put (and reassign) and delete trained model alias APIs to the rest high-level client.

This adds some serialization objects and request wrappers.
2021-02-19 14:18:26 -05:00
Dimitris Athanasiou
7fb98c0d3c
[ML] Add runtime mappings to data frame analytics source config (#69183)
Users can now specify runtime mappings as part of the source config
of a data frame analytics job. Those runtime mappings become part of
the mapping of the destination index. This ensures the fields are
accessible in the destination index even if the relevant data frame
analytics job gets deleted.

Closes #65056
2021-02-19 16:29:19 +02:00
Joe Gallo
7e7c5db74e
Rename max_single_primary_size to max_primary_shard_size (#69239) 2021-02-18 21:13:58 -05:00
James Rodewig
31fc59efdf
[DOCS] Fix capitalization for Query DSL (#69236) 2021-02-18 18:57:19 -05:00
Lisa Cawley
f37bd12735
Adds retention policy to HLRC put transform API (#68768)
Co-authored-by: Hendrik Muhs <hendrik.muhs@elastic.co>
2021-02-17 09:53:37 -08:00
James Rodewig
9b88ae92e6
[DOCS] Fix typos for duplicate words (#69125) 2021-02-17 10:34:20 -05:00
Jason Tedor
985ae9a1ae
Add Searchable Snapshots APIs to HLRC (#68949)
This commit adds the Searchable Snapshots APIs (the mount snapshot API)
to the high-level REST client.
2021-02-12 07:53:30 -05:00
Joe Gallo
4d18334442
Add max_single_primary_size as a condition for the rollover index API (#67842) 2021-02-03 10:39:06 -05:00
Valeriy Khakhutskyy
78368428b3
[ML] Add early stopping DFA configuration parameter (#68099)
The PR adds early_stopping_enabled optional data frame analysis configuration parameter. The enhancement was already described in elastic/ml-cpp#1676 and so I mark it here as non-issue.
2021-02-01 11:41:28 +01:00