-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ES] Upgrade client to v8.0 #113950
Merged
Merged
[ES] Upgrade client to v8.0 #113950
Changes from 176 commits
Commits
Show all changes
210 commits
Select commit
Hold shift + click to select a range
03079d4
bump to a pre-8.0 version
mshustov 453157a
export KibanaClient from /lib sub-folder
mshustov adf623c
workaround the problem of the absence of estypes
mshustov ff63c52
update es client usage in pacakges
mshustov b085089
export estypes from another path
mshustov 1faf379
import errors from root
mshustov ceb4886
import errors from root 2
mshustov f93b8dc
update transport import
mshustov 279533d
update import path for /api/types
mshustov 13b152f
update import path for /api/types
mshustov baa07a5
import errors from top export
mshustov 14d6fb5
use TransportResult instead if ApiResponse
mshustov cf0bdf6
fix errors in client_config
mshustov ede95bb
fix src/core/server/saved_objects/migrationsv2/actions/integration_te…
mshustov 525bdbd
use KibanaClient in mock. we dont export the original Client
mshustov d3607c5
fix client mocks
mshustov 9f5446c
fix errors on SO
mshustov 2f67f71
fix remaining core errors
mshustov 6ee98bd
update estype import path
mshustov 1e7846d
fix errors in data plugin
mshustov 4d76b09
fix data_views
mshustov 23d56e5
fix es_ui_shared
mshustov 54b34fa
fix errors in interactive_setup
mshustov 57e797e
fix errors in ./test folder
mshustov 47afcf8
add @elastic/transport to the runtime deps
mshustov c8a71b0
fix errors in packages
mshustov 6e0a34f
fix erros in src/core
mshustov 1647724
fix errors in test/
mshustov 4ed2d11
fix an error in actions plugin
mshustov abe4e73
woraround and fix errors in APM plugin
mshustov 79348ad
fix errors in canvas
mshustov f4a7dfd
fix errors in event_log
mshustov 6c105fc
fix errors in fleet
mshustov 53e1105
fix errors in ILM
mshustov 3beef6a
fix errors in infra
mshustov e41e566
fix errors in ingest_pipeline
mshustov e686e86
fix errors in lens
mshustov 3b82324
fix errors in license_management
mshustov a2d00ea
fix errors in licensing
mshustov b9e09d6
fix errors in logstash
mshustov cf0ee25
fix errors in ml
mshustov 1575bcb
fix errors in monitoring
mshustov cbf44d4
fix errors in observability
mshustov 1786edc
fix errors in rule_registry
mshustov b30724d
fix errors in reporting
mshustov 053e4b8
fix errors in rule_registry
mshustov c5150db
fix errors in security
mshustov 51ca4d4
fix errors in security_solution
mshustov d3552e1
fix errors in snapshot_restore
mshustov dfe35f4
fix errors in transform
mshustov 724ec0b
fix errors in UA
mshustov fc9c4a4
fix errors in uptime
mshustov c1958a6
fix errors in x-pack/test
mshustov a7f0bf8
fix eslint errors
mshustov 0c6dc30
Merge branch 'master' into issue-108387-es-client-80
mshustov e37fff4
fix new errors
mshustov 12bb7a7
use default HTTP Connection. Undici does not support agent config opt…
mshustov ff79963
create does not accept require_alias option
mshustov 67785b1
update deps
mshustov 5ebf8e6
use transport types exported from ES client package
mshustov 211ff87
fix ErrorCause | string errors
mshustov 5871840
do not use enum
mshustov dc81ea8
fix errors in data plugin
mshustov 2c485c1
update x-pack code
mshustov 0a35a42
fix transport
mshustov 3c13ec5
fix apm search request
mshustov 497ea54
do not crash on reporting
mshustov e467a5e
fix kbn-test build
mshustov 407dd5d
mute reporting error to start
mshustov d04b2f5
fix ftr build
mshustov a042128
another attempt
mshustov 4ade5c8
Merge branch 'master' into issue-108387-es-client-80
mshustov 657e5bd
Merge remote-tracking branch 'restrry/issue-108387-es-client-80' into…
mshustov 07b0bc2
update import path
mshustov 4ce204e
address or mute new errors
mshustov dcb0acc
REMOVE me. pin transport version temporarily.
mshustov 5226feb
remove deep imports from transport package
mshustov a4edd38
fix jest crash
mshustov 957a56b
fix product check tests
mshustov 189af1a
remove unnecessary ts-expect-error
mshustov 7c4a313
fix a few failed unit tests
mshustov b356775
bump to canary 24
mshustov 7571003
remove unnecessary ts-expect-error
mshustov f46d758
remove dependency on transport
mshustov 0ee13e0
Merge remote-tracking branch 'upstream/issue-108387-es-client-80' int…
mshustov 692f8d4
fix types in tests
mshustov 686fde8
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov 5547746
mute errors in xpack tests
mshustov 5cd6b01
product check doesn;t spam in logs anymore
mshustov c14dc37
filterPath --> filter_path
mshustov 5f22e83
ignoreUnavailable --> ignore_unavailable
mshustov 77b7d20
ignoreUnavailable --> ignore_unavailable
mshustov eb1d72c
trackScores --> track_scores
mshustov e0582a6
trackTotalHits --> track_total_hits
mshustov 15d913f
fix es-arcives
mshustov f4cf334
fix data plugin crashes
mshustov 68d6ea3
fix watcher test utils
mshustov 3fbdad6
rollback unnecessary changes
mshustov e466e2f
fix another problem in es-archiver
mshustov 2cf1577
fix scroll. for whatever reason scroll fails when request scroll_id i…
mshustov 4ba25f3
add meta: true in kbn-securitysolution-es-utils
mshustov fb3a12d
bump client to canary 25
mshustov a7a03f6
fix errors in accordance with the es client spec
mshustov cc66f07
update securityscolution-es-utils
mshustov b2bebab
unify scroll api in reporting and fix tests
mshustov 6d0e46e
fix unit tests in watcher
mshustov b127d46
refactor APM to abort request with AbortController API
mshustov ddc5f80
fix missing es client calls in tests
mshustov 0d0765c
fix missing meta in detection engine FTR tests
pgayvallet 0d9cf97
fix another bunch of errors in js tests
mshustov 4b3797a
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov 7749d90
fix wrong coercion
mshustov 25a3506
remove test-grep pattern
pgayvallet cf8fa3d
fix apm unit test
mshustov 99009a7
rename terminateAfter to terminate_after in infra plugin
pgayvallet 16bb7c5
rename terminateAfter to terminate_after in uptime plugin
pgayvallet 55ad139
rename terminateAfter to terminate_after in apm plugin
pgayvallet 527d296
fix security roles FTR tests
pgayvallet 7c52a8e
fix reference
pgayvallet 0c8438d
fix post_privilidges test
mshustov f29aa5b
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov 747788f
fix post_privilidges
mshustov a19ff0a
bump client to 26
mshustov caa8be5
add meta for index_management test helpers
mshustov caa789f
remove ts-expect-error caused by bad type in reason
mshustov a33d8fc
bump client to 27
mshustov c038850
REMOVE me. workaround until fixed in the es client
mshustov 42c3493
fix incorrect type casting
mshustov b2a2861
swtich from camelCase params
mshustov 761875b
use `HttpConnection` for FTR-related clients
pgayvallet 696f452
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov 4a3f621
bump client to 29
mshustov 7e0159d
Revert "REMOVE me. workaround until fixed in the es client"
mshustov 645c5d8
Merge remote-tracking branch 'upstream/master' into issue-108387-es-c…
pgayvallet 64997e8
fix new util
pgayvallet 14737ef
revert repository changes
mshustov 6a9dc91
do not crash if cannot store event_loop data
mshustov 5436112
fix new estypes imports
pgayvallet f81f693
Merge remote-tracking branch 'upstream/issue-108387-es-client-80' int…
pgayvallet 6324647
fix more types
pgayvallet e089067
fix security test types and add ts-ignore for custom ES client
pgayvallet a156a6b
fix more estypes imports
pgayvallet 144e7b1
yet more ts violations
pgayvallet 1bb50f9
line by line fixing is hard
pgayvallet 63cc7ba
adapt `evaluateAlert` from infra as it's also used from FTR tests
pgayvallet 5e2a6f5
use convertToKibanaClient in FTR test instead of meta:true in plugin …
pgayvallet 2cd5bf7
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov ab1e13f
migrate from deprecated API in fleet
mshustov 6756931
fix intergration tests
mshustov 8240a84
fix fleet tests
mshustov d057875
Merge branch 'master' into issue-108387-es-client-80
mshustov 31aa7ad
fix another fleet test
mshustov f08a6e6
fix more tests
pgayvallet 31cea5f
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov f5b9335
let's call it a day
pgayvallet 8e3ec3e
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov ed2d516
Removes custom header check on 404 responses, includes es client Prod…
TinaHeiligers aa38eb4
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov 93f2f7c
disable APM until compatible with client v8
pgayvallet 0a615cb
skip async_search FTR test
pgayvallet b8caf61
use kbnClient in integration tests
mshustov b0e635b
bump version to 29
mshustov 587d1fd
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov 8baed5d
bump to 30
mshustov e5c70da
have configureClient return a KibanaClient instead of Client, remove …
pgayvallet 9c7b2af
bump to 31
pgayvallet 5ac713e
bump to 31
mshustov ef8345d
Revert "bump to 31"
mshustov d34c1ba
trigger stop to unusubscribe
mshustov 319cf99
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov e2bec10
update generated docs
pgayvallet 66fb5b9
remove obsolete test
pgayvallet 34310c4
Merge remote-tracking branch 'upstream/master' into issue-108387-es-c…
pgayvallet 8159269
put "as" back
mshustov 7dffa45
cleanup
mshustov b8a534c
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov b88c94c
skip test
mshustov 2133dc2
Merge branch 'master' into issue-108387-es-client-80
mshustov 617aaed
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov c175bee
remove new type errors in apm package
mshustov 168d660
remove ErrorCause casting
mshustov bccf202
update a comment
mshustov 887bade
bump version to 32
mshustov 8d6f5a0
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov b3281ba
remove unnecessary ts-expect-error in apm code
mshustov 96da44b
update comments
mshustov f02c82e
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov 35e16fa
update to client v33
mshustov 89c284f
remove outdated type definition
mshustov 97d5657
bump to 34 without params mutation
mshustov f7aa7ce
unskip the test that should not fail anymore
mshustov 22c8789
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov 5ad28bd
remove unnecessary ts-expect-error comments
mshustov 67a3570
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov e40e3e1
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov 18b23eb
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov 9ef6e22
update to v35. body can be string
mshustov 76c35a8
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov b1ad337
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov 476b331
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov 356a89b
move `sort` to body and use body friendly syntax
pgayvallet 3449629
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov b49a79c
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov 3b0d634
Merge remote-tracking branch 'upstream/master' into issue-108387-es-c…
pgayvallet 8e71e3d
Merge remote-tracking branch 'upstream/master' into issue-108387-es-c…
pgayvallet fb9896b
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov 40c4bc0
Merge remote-tracking branch 'origin/issue-108387-es-client-80' into …
mshustov ef609f5
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov 61b7f90
fix a failing test. maps register the same SO that has been already r…
mshustov 16198d1
Merge remote-tracking branch 'origin/master' into issue-108387-es-cli…
mshustov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
docs/development/core/public/kibana-plugin-core-public.doclinksstart.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
...opment/core/server/kibana-plugin-core-server.elasticsearcherrordetails.error.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [ElasticsearchErrorDetails](./kibana-plugin-core-server.elasticsearcherrordetails.md) > [error](./kibana-plugin-core-server.elasticsearcherrordetails.error.md) | ||
|
||
## ElasticsearchErrorDetails.error property | ||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
error?: { | ||
type: string; | ||
reason?: string; | ||
}; | ||
``` |
19 changes: 19 additions & 0 deletions
19
.../development/core/server/kibana-plugin-core-server.elasticsearcherrordetails.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<!-- Do not edit this file. It is automatically generated by API Documenter. --> | ||
|
||
[Home](./index.md) > [kibana-plugin-core-server](./kibana-plugin-core-server.md) > [ElasticsearchErrorDetails](./kibana-plugin-core-server.elasticsearcherrordetails.md) | ||
|
||
## ElasticsearchErrorDetails interface | ||
|
||
|
||
<b>Signature:</b> | ||
|
||
```typescript | ||
export interface ElasticsearchErrorDetails | ||
``` | ||
|
||
## Properties | ||
|
||
| Property | Type | Description | | ||
| --- | --- | --- | | ||
| [error](./kibana-plugin-core-server.elasticsearcherrordetails.error.md) | <code>{</code><br/><code> type: string;</code><br/><code> reason?: string;</code><br/><code> }</code> | | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 0 additions & 23 deletions
23
...core-server.savedobjectserrorhelpers.creategenericnotfoundesunavailableerror.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elastic/kibana-operations we can merge it after FF