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 elasticsearch client version #97360

Closed
wants to merge 2 commits into from

Conversation

mshustov
Copy link
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
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
Member

@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
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
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!

@@ -40,7 +40,7 @@ describe('ElasticIndex', () => {
return elasticsearchClientMock.createSuccessTransportRequestPromise({
[index]: {
aliases: { foo: index },
mappings: { dynamic: 'strict', properties: { a: 'b' } },
mappings: { dynamic: 'strict', properties: { a: 'b' } as any },
Copy link
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.

@@ -813,7 +812,7 @@ export const updateAndPickupMappings = (
.putMapping({
index,
timeout: DEFAULT_TIMEOUT,
body: mappings,
body: mappings as estypes.TypeMapping,
Copy link
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
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
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

@mshustov
Copy link
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.

9 participants