Skip to content

fix(elasticsearch-logger): add compatibility headers#10828

Merged
juststillthinking merged 6 commits into
apache:masterfrom
lakshya8066:elastic
Feb 1, 2024
Merged

fix(elasticsearch-logger): add compatibility headers#10828
juststillthinking merged 6 commits into
apache:masterfrom
lakshya8066:elastic

Conversation

@lakshya8066

@lakshya8066 lakshya8066 commented Jan 16, 2024

Copy link
Copy Markdown
Contributor

Description

  1. Add compatibility headers to ensure smooth transition from version 7.x to 8.x
  2. update the elasticsearch in test env

Fixes #8647

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@pottekkat

Copy link
Copy Markdown
Member

Could you check the failing test cases? It is because of this change.

@lakshya8066 lakshya8066 changed the title fix: elasticsearch version fix: add compatibility headers Jan 17, 2024
@shreemaan-abhishek
shreemaan-abhishek marked this pull request as ready for review January 18, 2024 03:34
@juststillthinking juststillthinking changed the title fix: add compatibility headers fix(elasticsearch-logger): add compatibility headers Jan 18, 2024
@juststillthinking

Copy link
Copy Markdown
Contributor

This PR changes the version of the elastic search used for testing the elasticsearch-logger plugin to version 8.11.3

I didn't see this?

@lakshya8066

Copy link
Copy Markdown
Contributor Author

oh my bad, initially this PR was supposed to change the version as well but I am getting errors on upgrading the version. I don't know how to solve the errors.
So for now, I am just adding the headers. I will change the version as soon as I detect the bug

@juststillthinking
juststillthinking marked this pull request as draft January 19, 2024 01:59
@juststillthinking
juststillthinking marked this pull request as ready for review January 19, 2024 01:59
@juststillthinking

Copy link
Copy Markdown
Contributor

The pr seems not ready if you don't upgrade the elasticsearch

@shreemaan-abhishek

Copy link
Copy Markdown
Contributor

@gaoxingliang please review if you can.

@Revolyssup Revolyssup left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@juststillthinking
juststillthinking merged commit 77585e2 into apache:master Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: ElasticSearch logger not working with error Action/metadata line [1] contains an unknown parameter [_type]

5 participants