Skip to content

Update elasticsearch client version#97360

Closed
mshustov wants to merge 2 commits intoelastic:masterfrom
mshustov:update-es-types-next
Closed

Update elasticsearch client version#97360
mshustov wants to merge 2 commits intoelastic:masterfrom
mshustov:update-es-types-next

Conversation

@mshustov
Copy link
Copy Markdown
Contributor

@mshustov mshustov commented Apr 16, 2021

Summary

Update @elastic/elaticsearch to the next canary version and fix type errors.

@mshustov mshustov added chore v8.0.0 release_note:skip Skip the PR/issue when compiling release notes v7.13.0 labels Apr 16, 2021
@mshustov mshustov requested review from a team as code owners April 16, 2021 08:36
@mshustov mshustov requested a review from a team April 16, 2021 08:36
@mshustov mshustov requested review from a team as code owners April 16, 2021 08:36
@mshustov mshustov marked this pull request as draft April 16, 2021 08:36
@kibanamachine
Copy link
Copy Markdown
Contributor

kibanamachine commented Apr 16, 2021

💔 Build Failed

Failed CI Steps

Metrics [docs]

‼️ ERROR: metrics for 5920bd0 were not reported

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@ppisljar ppisljar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

app services changes LGTM

Copy link
Copy Markdown
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kibana app changes look great to me! Code review only (removing ts-expect-error)

Copy link
Copy Markdown
Contributor

@ymao1 ymao1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Task manager changes LGTM!

[index]: {
aliases: { foo: index },
mappings: { dynamic: 'strict', properties: { a: 'b' } },
mappings: { dynamic: 'strict', properties: { a: 'b' } as any },
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we fix the mocked result instead of casting it as any? { a: 'b' } doesn't seem to fit any mapping definition.

index,
timeout: DEFAULT_TIMEOUT,
body: mappings,
body: mappings as estypes.TypeMapping,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we @elastic/elasticsearch? The reason it's failing is that GenericProperty expects all properties to be mandatory.

Copy link
Copy Markdown
Contributor

@wylieconlon wylieconlon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing these errors from the last review!

Copy link
Copy Markdown
Contributor

@sebelga sebelga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ES UI changes LGTM

@spalger spalger added v7.14.0 and removed v7.13.0 labels Apr 21, 2021
@mshustov mshustov closed this Apr 26, 2021
@mshustov mshustov deleted the update-es-types-next branch April 26, 2021 10:06
@mshustov
Copy link
Copy Markdown
Contributor Author

closed in favour of #98266

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants