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

Switch from XContentType to MediaType to fix compilation errors #232

Conversation

martin-gaievski
Copy link
Member

Description

Fix compilation errors after merge of opensearch-project/OpenSearch#8636 in core OpenSearch, switched from XContentType to MediaType

Check List

  • All tests pass
  • Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Martin Gaievski <gaievski@amazon.com>
@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #232 (1066c35) into main (a9adfe0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #232   +/-   ##
=========================================
  Coverage     89.55%   89.55%           
  Complexity      103      103           
=========================================
  Files             7        7           
  Lines           316      316           
  Branches         52       52           
=========================================
  Hits            283      283           
  Misses           16       16           
  Partials         17       17           

Copy link
Member

@vamshin vamshin left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks

@martin-gaievski
Copy link
Member Author

Need to backport this 2.x later, original core PR opensearch-project/OpenSearch#8636 is marked for 2.10, but backport in core is not done yet.

@martin-gaievski martin-gaievski merged commit bfbf1ef into opensearch-project:main Jul 25, 2023
30 checks passed
navneet1v pushed a commit to navneet1v/neural-search that referenced this pull request Aug 17, 2023
navneet1v added a commit that referenced this pull request Aug 17, 2023
….x branch (#253)

* Fixed compilation errors after refactoring in core (#249)

Signed-off-by: Martin Gaievski <gaievski@amazon.com>

* Fixing test classes after core refactoring (#237)

Signed-off-by: Martin Gaievski <gaievski@amazon.com>

* Fixed compilation errors after refactoring in core Strings class (#243)

Signed-off-by: Martin Gaievski <gaievski@amazon.com>

* Switch from XContentType to MediaType to fix compilation errors (#232)

Signed-off-by: Martin Gaievski <gaievski@amazon.com>

* Fixing the Media type being not able to be read from Headers.

Signed-off-by: Navneet Verma <navneev@amazon.com>

---------

Signed-off-by: Martin Gaievski <gaievski@amazon.com>
Signed-off-by: Navneet Verma <navneev@amazon.com>
Co-authored-by: Martin Gaievski <gaievski@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants