-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate es API exposed from setup contract (#67596)
* move elasticsearch client under legacy namespace * update mocks and tests * update platform code * update legacy code * update plugins using elasticsearch setup API * update request handler context * update docs * rename remaining places * address comments * fix merge conflict error
- Loading branch information
Showing
50 changed files
with
292 additions
and
395 deletions.
There are no files selected for viewing
27 changes: 0 additions & 27 deletions
27
.../core/server/kibana-plugin-core-server.elasticsearchservicesetup.adminclient.md
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
...core/server/kibana-plugin-core-server.elasticsearchservicesetup.createclient.md
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
...t/core/server/kibana-plugin-core-server.elasticsearchservicesetup.dataclient.md
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
...pment/core/server/kibana-plugin-core-server.elasticsearchservicesetup.legacy.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) > [ElasticsearchServiceSetup](./kibana-plugin-core-server.elasticsearchservicesetup.md) > [legacy](./kibana-plugin-core-server.elasticsearchservicesetup.legacy.md) | ||
|
||
## ElasticsearchServiceSetup.legacy property | ||
|
||
> Warning: This API is now obsolete. | ||
> | ||
> Use [ElasticsearchServiceStart.legacy](./kibana-plugin-core-server.elasticsearchservicestart.legacy.md) instead. | ||
> | ||
<b>Signature:</b> | ||
|
||
```typescript | ||
legacy: { | ||
readonly createClient: (type: string, clientConfig?: Partial<ElasticsearchClientConfig>) => ICustomClusterClient; | ||
readonly client: IClusterClient; | ||
}; | ||
``` |
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.