Skip to content

Commit ce2ee00

Browse files
committed
Merge branch 'master' into task-manager/fix-flaky-test
* master: (38 commits) [Discover] Context unskip date nanos functional tests (#73781) [ML] Migrate to React BrowserRouter and Kibana provided History. (#71941) [Discover] Improve saveSearch functional test handling (#73626) [Metrics UI] Fix all threshold alert conditions disappearing due to alert prefill (#73708) [Metrics UI] Fix alert previews of ungrouped alerts (#73735) [SIEM] Fixes "include building block button" to operate (#73900) [Metrics UI] Fix alert management to open without refresh (#73739) [Security Solution][Lists] - Tests cleanup and remove unnecessary import (#73865) [Ingest Management] main branch uses epr-snapshot. Others production (#73555) [Canvas][tech-debt] Fix SVG not shrinking vertically properly (#73867) [Maps] upgrade turf (#73816) [Security Solution][Telemetry] Concurrent telemetry requests (#73558) [Security Solution][Exceptions] - Update how nested entries are displayed in exceptions viewer (#73745) [Security Solution][Exceptions] Adds autocomplete workaround for .text fields (#73761) [Metrics UI] Fix previewing of No Data results (#73753) Closes #72914 by hiding anomaly detection settings links when the ml plugin is disabled. (#73638) [Ingest Manager] Fix config selection in enrollment flyout from config list page (#73833) [DOCS] Fixes typo in Alerting actions (#73756) [APM] fixes linking errors to ML and Discover (#73758) Handle promise rejections when building artifacts (#73831) ...
2 parents 9e6f63f + 10f8bea commit ce2ee00

File tree

434 files changed

+11833
-4242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

434 files changed

+11833
-4242
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ module.exports = {
529529
'x-pack/test_utils/**/*',
530530
'x-pack/gulpfile.js',
531531
'x-pack/plugins/apm/public/utils/testHelpers.js',
532+
'x-pack/plugins/canvas/shareable_runtime/postcss.config.js',
532533
],
533534
rules: {
534535
'import/no-extraneous-dependencies': [

docs/development/core/server/kibana-plugin-core-server.assistanceapiresponse.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
## AssistanceAPIResponse interface
66

7+
> Warning: This API is now obsolete.
8+
>
9+
>
710
811
<b>Signature:</b>
912

docs/development/core/server/kibana-plugin-core-server.assistantapiclientparams.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
## AssistantAPIClientParams interface
66

7+
> Warning: This API is now obsolete.
8+
>
9+
>
710
811
<b>Signature:</b>
912

docs/development/core/server/kibana-plugin-core-server.deprecationapiclientparams.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
## DeprecationAPIClientParams interface
66

7+
> Warning: This API is now obsolete.
8+
>
9+
>
710
811
<b>Signature:</b>
912

docs/development/core/server/kibana-plugin-core-server.deprecationapiresponse.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
## DeprecationAPIResponse interface
66

7+
> Warning: This API is now obsolete.
8+
>
9+
>
710
811
<b>Signature:</b>
912

docs/development/core/server/kibana-plugin-core-server.deprecationinfo.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
## DeprecationInfo interface
66

7+
> Warning: This API is now obsolete.
8+
>
9+
>
710
811
<b>Signature:</b>
912

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [ElasticsearchClientConfig](./kibana-plugin-core-server.elasticsearchclientconfig.md)
4+
5+
## ElasticsearchClientConfig type
6+
7+
Configuration options to be used to create a [cluster client](./kibana-plugin-core-server.iclusterclient.md) using the [createClient API](./kibana-plugin-core-server.elasticsearchservicestart.createclient.md)
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
export declare type ElasticsearchClientConfig = Pick<ElasticsearchConfig, 'customHeaders' | 'logQueries' | 'sniffOnStart' | 'sniffOnConnectionFault' | 'requestHeadersWhitelist' | 'sniffInterval' | 'hosts' | 'username' | 'password'> & {
13+
pingTimeout?: ElasticsearchConfig['pingTimeout'] | ClientOptions['pingTimeout'];
14+
requestTimeout?: ElasticsearchConfig['requestTimeout'] | ClientOptions['requestTimeout'];
15+
ssl?: Partial<ElasticsearchConfig['ssl']>;
16+
keepAlive?: boolean;
17+
};
18+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [ElasticsearchServiceStart](./kibana-plugin-core-server.elasticsearchservicestart.md) &gt; [client](./kibana-plugin-core-server.elasticsearchservicestart.client.md)
4+
5+
## ElasticsearchServiceStart.client property
6+
7+
A pre-configured [Elasticsearch client](./kibana-plugin-core-server.iclusterclient.md)
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
readonly client: IClusterClient;
13+
```
14+
15+
## Example
16+
17+
18+
```js
19+
const client = core.elasticsearch.client;
20+
21+
```
22+
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-core-server](./kibana-plugin-core-server.md) &gt; [ElasticsearchServiceStart](./kibana-plugin-core-server.elasticsearchservicestart.md) &gt; [createClient](./kibana-plugin-core-server.elasticsearchservicestart.createclient.md)
4+
5+
## ElasticsearchServiceStart.createClient property
6+
7+
Create application specific Elasticsearch cluster API client with customized config. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->.
8+
9+
<b>Signature:</b>
10+
11+
```typescript
12+
readonly createClient: (type: string, clientConfig?: Partial<ElasticsearchClientConfig>) => ICustomClusterClient;
13+
```
14+
15+
## Example
16+
17+
18+
```js
19+
const client = elasticsearch.createClient('my-app-name', config);
20+
const data = await client.asInternalUser.search();
21+
22+
```
23+

docs/development/core/server/kibana-plugin-core-server.elasticsearchservicestart.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@ export interface ElasticsearchServiceStart
1515

1616
| Property | Type | Description |
1717
| --- | --- | --- |
18+
| [client](./kibana-plugin-core-server.elasticsearchservicestart.client.md) | <code>IClusterClient</code> | A pre-configured [Elasticsearch client](./kibana-plugin-core-server.iclusterclient.md) |
19+
| [createClient](./kibana-plugin-core-server.elasticsearchservicestart.createclient.md) | <code>(type: string, clientConfig?: Partial&lt;ElasticsearchClientConfig&gt;) =&gt; ICustomClusterClient</code> | Create application specific Elasticsearch cluster API client with customized config. See [IClusterClient](./kibana-plugin-core-server.iclusterclient.md)<!-- -->. |
1820
| [legacy](./kibana-plugin-core-server.elasticsearchservicestart.legacy.md) | <code>{</code><br/><code> readonly createClient: (type: string, clientConfig?: Partial&lt;LegacyElasticsearchClientConfig&gt;) =&gt; ILegacyCustomClusterClient;</code><br/><code> readonly client: ILegacyClusterClient;</code><br/><code> }</code> | |
1921

0 commit comments

Comments
 (0)