Skip to content
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

Update @elastic/elasticsearch to 8.0.0-canary13 #98266

Merged
merged 100 commits into from
Jun 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
501dc8f
bump @elastic/elasticsearch to canary.7
mshustov Apr 26, 2021
f54192e
address errors in core
mshustov Apr 26, 2021
2db55e3
address errors in data plugin
mshustov Apr 26, 2021
e8f4424
address errors in Alerting team plugins
mshustov Apr 26, 2021
5a06616
remove outdated messages in Lens
mshustov Apr 26, 2021
2201e25
remove unnecessary comments in ML
mshustov Apr 26, 2021
2815faa
address errors in Observability plugin
mshustov Apr 26, 2021
1171f07
address errors in reporting plugin
mshustov Apr 26, 2021
adcb00f
address errors in Rule registry plugin
mshustov Apr 26, 2021
911bdd3
fix errors in Security plugins
mshustov Apr 26, 2021
c6ccefb
fix errors in ES-UI plugin
mshustov Apr 26, 2021
a79ded4
remove unnecessary union.
mshustov Apr 26, 2021
78e0b57
update core tests
mshustov Apr 26, 2021
00d8356
fix kbn-es-archiver
mshustov Apr 26, 2021
eb93d74
update to canary 8
mshustov May 4, 2021
b73a043
Merge branch 'master' into update-es-to-canary-7
mshustov May 14, 2021
10fc716
bump to v9
mshustov May 14, 2021
5b2f816
use new typings
mshustov May 14, 2021
7d66a3d
fix new errors in core
mshustov May 14, 2021
4f3d917
Merge branch 'master' into update-es-to-canary-7
mshustov May 18, 2021
1bcdc62
fix errors in core typeings
mshustov May 18, 2021
67d12d5
fix type errors in data plugin
mshustov May 18, 2021
e777436
fix type errors in telemetray plugin
mshustov May 18, 2021
9e7cdc5
fix data plugin tests
mshustov May 18, 2021
c90d623
fix search examples type error
mshustov May 18, 2021
c6e56de
fix errors in discover plugin
mshustov May 18, 2021
ea14ba1
fix errors in index_pattern_management
mshustov May 18, 2021
41a2a37
fix type errors in vis_type_*
mshustov May 18, 2021
d4d3bd7
fix errors in typings/elasticsearch
mshustov May 18, 2021
dc45dc4
fix type errors in actions plugin
mshustov May 18, 2021
6041055
fix type errors in alerting and apm plugins
mshustov May 18, 2021
e5866ce
fix type errors in canvas and cases
mshustov May 18, 2021
9e83b4c
fix errors in event_log
mshustov May 18, 2021
2f39a5b
fix type errors in ILM and ingest_pipelines
mshustov May 18, 2021
3ed8434
fix errors in lens plugin
mshustov May 18, 2021
5ba2bbd
fix errors in lists plugin
mshustov May 18, 2021
50941bd
fix errors in logstash
mshustov May 18, 2021
c9c7b32
fix errors in metrics_entities
mshustov May 18, 2021
4deea47
fix errors in o11y
mshustov May 18, 2021
a02b37c
fix errors in watcher
mshustov May 18, 2021
4f4f435
fix errors in uptime
mshustov May 18, 2021
3ec7ea4
fix errors in upgrade_assistant
mshustov May 18, 2021
498a5a9
fix errors in task_manager
mshustov May 18, 2021
e66294b
fix errors in stack_alerts
mshustov May 18, 2021
6071ab8
fix errors in security_solution
mshustov May 18, 2021
af3d7a6
fix errors in rule_registry
mshustov May 18, 2021
4f6a79d
fix errors in snapshot_restore
mshustov May 18, 2021
39c5e1c
fix remaining errors
mshustov May 18, 2021
7d6ad5c
fix search intergration tests
mshustov May 18, 2021
19b8fe0
adjust assetion
mshustov May 18, 2021
2d0c51e
Merge branch 'master' into update-es-to-canary-7
mshustov May 19, 2021
00a4af4
bump version to canary.10
mshustov May 19, 2021
812195f
adapt code to new naming schema
mshustov May 19, 2021
287745b
use mapping types provided by the client library
mshustov May 19, 2021
f85e9ba
Revert "adjust assetion"
mshustov May 19, 2021
2f58edb
fix so intergration tests
mshustov May 19, 2021
6043554
fix http integration tests
mshustov May 19, 2021
87e7786
Merge branch 'master' into update-es-to-canary-7
mshustov May 19, 2021
63ff8c7
Merge branch 'master' into update-es-to-canary-7
mshustov May 22, 2021
194bdb2
bump version to canary 11
mshustov May 22, 2021
f4731c4
fix login test
mshustov May 22, 2021
cdb2017
fix http integration test
mshustov May 22, 2021
4d70bd0
fix apm test
mshustov May 22, 2021
9e5aa9b
update docs
mshustov May 22, 2021
93e5d3e
fixing some ml types
jgowdyelastic May 26, 2021
572da7e
Merge branch 'master' into update-es-to-canary-7
mshustov Jun 3, 2021
a449332
fix new errors in data plugin
mshustov Jun 3, 2021
e0afe3c
fix new errors in alerting plugin
mshustov Jun 3, 2021
4adebdd
fix new errors in lists plugin
mshustov Jun 3, 2021
d0f0a27
fix new errors in reporting
mshustov Jun 3, 2021
0245d27
fix or mute errors in rule_registry plugin
mshustov Jun 3, 2021
21f196b
Merge remote-tracking branch 'origin/update-es-to-canary-7' into upda…
mshustov Jun 3, 2021
a02b056
more ML type fixes
jgowdyelastic Jun 3, 2021
8e91339
bump to canary 12
mshustov Jun 3, 2021
8123a98
Merge remote-tracking branch 'origin/update-es-to-canary-7' into upda…
mshustov Jun 3, 2021
689e765
Merge branch 'master' into update-es-to-canary-7
mshustov Jun 3, 2021
2231476
fix errors after merge conflict
mshustov Jun 3, 2021
ce581f6
additional ML fixes
jgowdyelastic Jun 4, 2021
1e7fab5
Merge remote-tracking branch 'origin/update-es-to-canary-7' into upda…
mshustov Jun 4, 2021
c068c1b
bump to canary 13
mshustov Jun 4, 2021
c07f8e8
fix errors in apm plugin
mshustov Jun 4, 2021
f2f2749
fix errors in fleet plugin
mshustov Jun 4, 2021
0b46cbb
fix errors in infra plugin
mshustov Jun 4, 2021
5a39655
fix errors in monitoring plugin
mshustov Jun 4, 2021
596e8f4
fix errors in osquery plugin
mshustov Jun 4, 2021
4e5e3d4
fix errors in security solution plugins
mshustov Jun 4, 2021
4d562e5
fix errors in transform plugin
mshustov Jun 4, 2021
7eec0dd
Update type imports for ES
dgieselaar Jun 7, 2021
ec4469f
Merge remote-tracking branch 'origin/update-es-to-canary-7' into upda…
mshustov Jun 7, 2021
50a8117
Merge branch 'master' into update-es-to-canary-7
mshustov Jun 7, 2021
b36574a
fix errors in x-pack plugins
mshustov Jun 7, 2021
cd8a885
fix errors in tests
mshustov Jun 7, 2021
3909a74
update docs
mshustov Jun 7, 2021
635a2c3
fix errors in x-pack/test
mshustov Jun 7, 2021
d05b773
Merge branch 'master' into update-es-to-canary-7
mshustov Jun 7, 2021
5e6ec78
update error description
mshustov Jun 7, 2021
a87d4dd
Merge branch 'master' into update-es-to-canary-7
mshustov Jun 8, 2021
7304b6c
fix errors after master merge
mshustov Jun 8, 2021
13cca1f
update comment in infra plugin
mshustov Jun 8, 2021
6e549ed
fix new errors on xpack tests/
mshustov Jun 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface SavedObjectsFindOptions
| [searchAfter](./kibana-plugin-core-public.savedobjectsfindoptions.searchafter.md) | <code>estypes.Id[]</code> | Use the sort values from the previous page to retrieve the next page of results. |
| [searchFields](./kibana-plugin-core-public.savedobjectsfindoptions.searchfields.md) | <code>string[]</code> | The fields to perform the parsed query against. See Elasticsearch Simple Query String <code>fields</code> argument for more information |
| [sortField](./kibana-plugin-core-public.savedobjectsfindoptions.sortfield.md) | <code>string</code> | |
| [sortOrder](./kibana-plugin-core-public.savedobjectsfindoptions.sortorder.md) | <code>estypes.SortOrder</code> | |
| [sortOrder](./kibana-plugin-core-public.savedobjectsfindoptions.sortorder.md) | <code>estypes.SearchSortOrder</code> | |
| [type](./kibana-plugin-core-public.savedobjectsfindoptions.type.md) | <code>string &#124; string[]</code> | |
| [typeToNamespacesMap](./kibana-plugin-core-public.savedobjectsfindoptions.typetonamespacesmap.md) | <code>Map&lt;string, string[] &#124; undefined&gt;</code> | This map defines each type to search for, and the namespace(s) to search for the type in; this is only intended to be used by a saved object client wrapper. If this is defined, it supersedes the <code>type</code> and <code>namespaces</code> fields when building the Elasticsearch query. Any types that are not included in this map will be excluded entirely. If a type is included but its value is undefined, the operation will search for that type in the Default namespace. |

Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
sortOrder?: estypes.SortOrder;
sortOrder?: estypes.SearchSortOrder;
```
2 changes: 0 additions & 2 deletions docs/development/core/server/kibana-plugin-core-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ The plugin integrates with the core system via lifecycle events: `setup`<!-- -->
| [SavedObjectsCollectMultiNamespaceReferencesObject](./kibana-plugin-core-server.savedobjectscollectmultinamespacereferencesobject.md) | An object to collect references for. It must be a multi-namespace type (in other words, the object type must be registered with the <code>namespaceType: 'multiple'</code> or <code>namespaceType: 'multiple-isolated'</code> option).<!-- -->Note: if options.purpose is 'updateObjectsSpaces', it must be a shareable type (in other words, the object type must be registered with the <code>namespaceType: 'multiple'</code>). |
| [SavedObjectsCollectMultiNamespaceReferencesOptions](./kibana-plugin-core-server.savedobjectscollectmultinamespacereferencesoptions.md) | Options for collecting references. |
| [SavedObjectsCollectMultiNamespaceReferencesResponse](./kibana-plugin-core-server.savedobjectscollectmultinamespacereferencesresponse.md) | The response when object references are collected. |
| [SavedObjectsComplexFieldMapping](./kibana-plugin-core-server.savedobjectscomplexfieldmapping.md) | See [SavedObjectsFieldMapping](./kibana-plugin-core-server.savedobjectsfieldmapping.md) for documentation. |
| [SavedObjectsCoreFieldMapping](./kibana-plugin-core-server.savedobjectscorefieldmapping.md) | See [SavedObjectsFieldMapping](./kibana-plugin-core-server.savedobjectsfieldmapping.md) for documentation. |
| [SavedObjectsCreateOptions](./kibana-plugin-core-server.savedobjectscreateoptions.md) | |
| [SavedObjectsCreatePointInTimeFinderDependencies](./kibana-plugin-core-server.savedobjectscreatepointintimefinderdependencies.md) | |
| [SavedObjectsDeleteByNamespaceOptions](./kibana-plugin-core-server.savedobjectsdeletebynamespaceoptions.md) | |
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ Please refer to [elasticsearch documentation](https://www.elastic.co/guide/en/el
<b>Signature:</b>

```typescript
export declare type SavedObjectsFieldMapping = SavedObjectsCoreFieldMapping | SavedObjectsComplexFieldMapping;
export declare type SavedObjectsFieldMapping = estypes.MappingProperty & {
dynamic?: false | 'strict';
};
```
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface SavedObjectsFindOptions
| [searchAfter](./kibana-plugin-core-server.savedobjectsfindoptions.searchafter.md) | <code>estypes.Id[]</code> | Use the sort values from the previous page to retrieve the next page of results. |
| [searchFields](./kibana-plugin-core-server.savedobjectsfindoptions.searchfields.md) | <code>string[]</code> | The fields to perform the parsed query against. See Elasticsearch Simple Query String <code>fields</code> argument for more information |
| [sortField](./kibana-plugin-core-server.savedobjectsfindoptions.sortfield.md) | <code>string</code> | |
| [sortOrder](./kibana-plugin-core-server.savedobjectsfindoptions.sortorder.md) | <code>estypes.SortOrder</code> | |
| [sortOrder](./kibana-plugin-core-server.savedobjectsfindoptions.sortorder.md) | <code>estypes.SearchSortOrder</code> | |
| [type](./kibana-plugin-core-server.savedobjectsfindoptions.type.md) | <code>string &#124; string[]</code> | |
| [typeToNamespacesMap](./kibana-plugin-core-server.savedobjectsfindoptions.typetonamespacesmap.md) | <code>Map&lt;string, string[] &#124; undefined&gt;</code> | This map defines each type to search for, and the namespace(s) to search for the type in; this is only intended to be used by a saved object client wrapper. If this is defined, it supersedes the <code>type</code> and <code>namespaces</code> fields when building the Elasticsearch query. Any types that are not included in this map will be excluded entirely. If a type is included but its value is undefined, the operation will search for that type in the Default namespace. |

Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
sortOrder?: estypes.SortOrder;
sortOrder?: estypes.SearchSortOrder;
```
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
lang?: string;
lang?: estypes.ScriptLanguage;
```
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface IFieldType
| [esTypes](./kibana-plugin-plugins-data-public.ifieldtype.estypes.md) | <code>string[]</code> | |
| [filterable](./kibana-plugin-plugins-data-public.ifieldtype.filterable.md) | <code>boolean</code> | |
| [format](./kibana-plugin-plugins-data-public.ifieldtype.format.md) | <code>any</code> | |
| [lang](./kibana-plugin-plugins-data-public.ifieldtype.lang.md) | <code>string</code> | |
| [lang](./kibana-plugin-plugins-data-public.ifieldtype.lang.md) | <code>estypes.ScriptLanguage</code> | |
| [name](./kibana-plugin-plugins-data-public.ifieldtype.name.md) | <code>string</code> | |
| [readFromDocValues](./kibana-plugin-plugins-data-public.ifieldtype.readfromdocvalues.md) | <code>boolean</code> | |
| [script](./kibana-plugin-plugins-data-public.ifieldtype.script.md) | <code>string</code> | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
>

Add scripted field to field list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
>

<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
>

<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
>

Remove scripted field from field list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Script field language
<b>Signature:</b>

```typescript
get lang(): string | undefined;
get lang(): "painless" | "expression" | "mustache" | "java" | undefined;

set lang(lang: string | undefined);
set lang(lang: "painless" | "expression" | "mustache" | "java" | undefined);
```
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export declare class IndexPatternField implements IFieldType
| [esTypes](./kibana-plugin-plugins-data-public.indexpatternfield.estypes.md) | | <code>string[] &#124; undefined</code> | |
| [filterable](./kibana-plugin-plugins-data-public.indexpatternfield.filterable.md) | | <code>boolean</code> | |
| [isMapped](./kibana-plugin-plugins-data-public.indexpatternfield.ismapped.md) | | <code>boolean &#124; undefined</code> | Is the field part of the index mapping? |
| [lang](./kibana-plugin-plugins-data-public.indexpatternfield.lang.md) | | <code>string &#124; undefined</code> | Script field language |
| [lang](./kibana-plugin-plugins-data-public.indexpatternfield.lang.md) | | <code>&quot;painless&quot; &#124; &quot;expression&quot; &#124; &quot;mustache&quot; &#124; &quot;java&quot; &#124; undefined</code> | Script field language |
| [name](./kibana-plugin-plugins-data-public.indexpatternfield.name.md) | | <code>string</code> | |
| [readFromDocValues](./kibana-plugin-plugins-data-public.indexpatternfield.readfromdocvalues.md) | | <code>boolean</code> | |
| [runtimeField](./kibana-plugin-plugins-data-public.indexpatternfield.runtimefield.md) | | <code>RuntimeField &#124; undefined</code> | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
toJSON(): {
count: number;
script: string | undefined;
lang: string | undefined;
lang: "painless" | "expression" | "mustache" | "java" | undefined;
conflictDescriptions: Record<string, string[]> | undefined;
name: string;
type: string;
Expand All @@ -28,7 +28,7 @@ toJSON(): {
`{
count: number;
script: string | undefined;
lang: string | undefined;
lang: "painless" | "expression" | "mustache" | "java" | undefined;
conflictDescriptions: Record<string, string[]> | undefined;
name: string;
type: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export declare type PhraseFilter = Filter & {
script?: {
script: {
source?: any;
lang?: string;
lang?: estypes.ScriptLanguage;
params: any;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export declare type RangeFilter = Filter & EsRangeFilter & {
script?: {
script: {
params: any;
lang: string;
lang: estypes.ScriptLanguage;
source: any;
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
lang?: string;
lang?: estypes.ScriptLanguage;
```
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export interface Reason
| Property | Type | Description |
| --- | --- | --- |
| [caused\_by](./kibana-plugin-plugins-data-public.reason.caused_by.md) | <code>{</code><br/><code> type: string;</code><br/><code> reason: string;</code><br/><code> }</code> | |
| [lang](./kibana-plugin-plugins-data-public.reason.lang.md) | <code>string</code> | |
| [lang](./kibana-plugin-plugins-data-public.reason.lang.md) | <code>estypes.ScriptLanguage</code> | |
| [position](./kibana-plugin-plugins-data-public.reason.position.md) | <code>{</code><br/><code> offset: number;</code><br/><code> start: number;</code><br/><code> end: number;</code><br/><code> }</code> | |
| [reason](./kibana-plugin-plugins-data-public.reason.reason.md) | <code>string</code> | |
| [script\_stack](./kibana-plugin-plugins-data-public.reason.script_stack.md) | <code>string[]</code> | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
<b>Signature:</b>

```typescript
lang?: string;
lang?: estypes.ScriptLanguage;
```
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export interface IFieldType
| [esTypes](./kibana-plugin-plugins-data-server.ifieldtype.estypes.md) | <code>string[]</code> | |
| [filterable](./kibana-plugin-plugins-data-server.ifieldtype.filterable.md) | <code>boolean</code> | |
| [format](./kibana-plugin-plugins-data-server.ifieldtype.format.md) | <code>any</code> | |
| [lang](./kibana-plugin-plugins-data-server.ifieldtype.lang.md) | <code>string</code> | |
| [lang](./kibana-plugin-plugins-data-server.ifieldtype.lang.md) | <code>estypes.ScriptLanguage</code> | |
| [name](./kibana-plugin-plugins-data-server.ifieldtype.name.md) | <code>string</code> | |
| [readFromDocValues](./kibana-plugin-plugins-data-server.ifieldtype.readfromdocvalues.md) | <code>boolean</code> | |
| [script](./kibana-plugin-plugins-data-server.ifieldtype.script.md) | <code>string</code> | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
>

Add scripted field to field list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
>

<b>Signature:</b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

> Warning: This API is now obsolete.
>
> use runtime field instead
>

<b>Signature:</b>
Expand Down
Loading