Skip to content

Commit c7b47ed

Browse files
Merge branch 'master' of github.com:elastic/kibana into ingest_pipelines/tests
2 parents 86ab90a + 1e20cd4 commit c7b47ed

File tree

623 files changed

+8915
-3817
lines changed

Some content is hidden

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

623 files changed

+8915
-3817
lines changed

.eslintrc.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -296,10 +296,7 @@ module.exports = {
296296
errorMessage: `Plugins may only import from src/core/server and src/core/public.`,
297297
},
298298
{
299-
target: [
300-
'(src|x-pack)/plugins/*/server/**/*',
301-
'!x-pack/plugins/apm/**/*', // https://github.com/elastic/kibana/issues/67210
302-
],
299+
target: ['(src|x-pack)/plugins/*/server/**/*'],
303300
from: ['(src|x-pack)/plugins/*/public/**/*'],
304301
errorMessage: `Server code can not import from public, use a common directory.`,
305302
},

docs/api/using-api.asciidoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,8 @@ For all APIs, you must use a request header. The {kib} APIs support the `kbn-xsr
6161
By default, you must use `kbn-xsrf` for all API calls, except in the following scenarios:
6262

6363
* The API endpoint uses the `GET` or `HEAD` operations
64-
65-
* The path is whitelisted using the <<settings, `server.xsrf.whitelist`>> setting
66-
67-
* XSRF protections are disabled using the `server.xsrf.disableProtection` setting
64+
* The path is whitelisted using the <<settings-xsrf-whitelist, `server.xsrf.whitelist`>> setting
65+
* XSRF protections are disabled using the <<settings-xsrf-disableProtection, `server.xsrf.disableProtection`>> setting
6866

6967
`Content-Type: application/json`::
7068
Applicable only when you send a payload in the API request. {kib} API requests and responses use JSON.

docs/apm/api.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ users interacting with APM APIs must have <<apm-app-api-user,sufficient privileg
4040
By default, you must use `kbn-xsrf` for all API calls, except in the following scenarios:
4141

4242
* The API endpoint uses the `GET` or `HEAD` operations
43-
* The path is whitelisted using the <<settings, `server.xsrf.whitelist`>> setting
44-
* XSRF protections are disabled using the `server.xsrf.disableProtection` setting
43+
* The path is whitelisted using the <<settings-xsrf-whitelist, `server.xsrf.whitelist`>> setting
44+
* XSRF protections are disabled using the <<settings-xsrf-disableProtection, `server.xsrf.disableProtection`>> setting
4545

4646
`Content-Type: application/json`::
4747
Applicable only when you send a payload in the API request.

docs/developer/getting-started/index.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ you can switch to the correct version when using nvm by running:
3030
nvm use
3131
----
3232

33-
Install the latest version of https://yarnpkg.com[yarn].
33+
Install the latest version of https://classic.yarnpkg.com/en/docs/install[yarn v1].
3434

3535
Bootstrap {kib} and install all the dependencies:
3636

docs/developer/plugin/external-plugin-functional-tests.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To get started copy and paste this example to `test/functional/config.js`:
1313
["source","js"]
1414
-----------
1515
import { resolve } from 'path';
16-
import { resolveKibanaPath } from '@kbn/plugin-helpers';
16+
import { REPO_ROOT } from '@kbn/dev-utils';
1717
1818
import { MyServiceProvider } from './services/my_service';
1919
import { MyAppPageProvider } from './services/my_app_page';
@@ -24,7 +24,7 @@ export default async function ({ readConfigFile }) {
2424
2525
// read the {kib} config file so that we can utilize some of
2626
// its services and PageObjects
27-
const kibanaConfig = await readConfigFile(resolveKibanaPath('test/functional/config.js'));
27+
const kibanaConfig = await readConfigFile(resolve(REPO_ROOT, 'test/functional/config.js'));
2828
2929
return {
3030
// list paths to the files that contain your plugins tests
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [ACTION\_GLOBAL\_APPLY\_FILTER](./kibana-plugin-plugins-data-public.action_global_apply_filter.md)
4+
5+
## ACTION\_GLOBAL\_APPLY\_FILTER variable
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
ACTION_GLOBAL_APPLY_FILTER = "ACTION_GLOBAL_APPLY_FILTER"
11+
```

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.fieldlist._constructor_.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Constructs a new instance of the `FieldList` class
99
<b>Signature:</b>
1010

1111
```typescript
12-
constructor(indexPattern: IndexPattern, specs?: FieldSpec[], shortDotsEnable?: boolean, onNotification?: () => void);
12+
constructor(indexPattern: IndexPattern, specs?: FieldSpec[], shortDotsEnable?: boolean, onNotification?: OnNotification);
1313
```
1414

1515
## Parameters
@@ -19,5 +19,5 @@ constructor(indexPattern: IndexPattern, specs?: FieldSpec[], shortDotsEnable?: b
1919
| indexPattern | <code>IndexPattern</code> | |
2020
| specs | <code>FieldSpec[]</code> | |
2121
| shortDotsEnable | <code>boolean</code> | |
22-
| onNotification | <code>() =&gt; void</code> | |
22+
| onNotification | <code>OnNotification</code> | |
2323

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-plugins-data-public](./kibana-plugin-plugins-data-public.md) &gt; [IndexPattern](./kibana-plugin-plugins-data-public.indexpattern.md) &gt; [intervalName](./kibana-plugin-plugins-data-public.indexpattern.intervalname.md)
4+
5+
## IndexPattern.intervalName property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
intervalName: string | undefined;
11+
```

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ export declare class IndexPattern implements IIndexPattern
2727
| [formatField](./kibana-plugin-plugins-data-public.indexpattern.formatfield.md) | | <code>any</code> | |
2828
| [formatHit](./kibana-plugin-plugins-data-public.indexpattern.formathit.md) | | <code>any</code> | |
2929
| [id](./kibana-plugin-plugins-data-public.indexpattern.id.md) | | <code>string</code> | |
30+
| [intervalName](./kibana-plugin-plugins-data-public.indexpattern.intervalname.md) | | <code>string &#124; undefined</code> | |
3031
| [metaFields](./kibana-plugin-plugins-data-public.indexpattern.metafields.md) | | <code>string[]</code> | |
32+
| [sourceFilters](./kibana-plugin-plugins-data-public.indexpattern.sourcefilters.md) | | <code>SourceFilter[]</code> | |
3133
| [timeFieldName](./kibana-plugin-plugins-data-public.indexpattern.timefieldname.md) | | <code>string &#124; undefined</code> | |
3234
| [title](./kibana-plugin-plugins-data-public.indexpattern.title.md) | | <code>string</code> | |
35+
| [type](./kibana-plugin-plugins-data-public.indexpattern.type.md) | | <code>string &#124; undefined</code> | |
3336
| [typeMeta](./kibana-plugin-plugins-data-public.indexpattern.typemeta.md) | | <code>TypeMeta</code> | |
3437
3538
## Methods

docs/development/plugins/data/public/kibana-plugin-plugins-data-public.indexpattern.prepbody.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,26 @@
88

99
```typescript
1010
prepBody(): {
11-
[key: string]: any;
11+
title: string;
12+
timeFieldName: string | undefined;
13+
intervalName: string | undefined;
14+
sourceFilters: string | undefined;
15+
fields: string | undefined;
16+
fieldFormatMap: string | undefined;
17+
type: string | undefined;
18+
typeMeta: string | undefined;
1219
};
1320
```
1421
<b>Returns:</b>
1522

1623
`{
17-
[key: string]: any;
24+
title: string;
25+
timeFieldName: string | undefined;
26+
intervalName: string | undefined;
27+
sourceFilters: string | undefined;
28+
fields: string | undefined;
29+
fieldFormatMap: string | undefined;
30+
type: string | undefined;
31+
typeMeta: string | undefined;
1832
}`
1933

0 commit comments

Comments
 (0)