Skip to content

Conversation

MaxKsyunz
Copy link
Collaborator

Description

Cherry pick of cd95bc5 plus fixes for 2.x-only changes.

Issues Resolved

#1475

Check List

  • All tests pass, including unit test, integration test and doctest
  • Commits are signed 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.

Max Ksyunz added 2 commits March 29, 2023 09:36
Xcontent classes were moved in this PR opensearch-project/OpenSearch#5902 causing builds to fail.

---------

Signed-off-by: MaxKsyunz <maxk@bitquilltech.com>
(cherry picked from commit cd95bc5)
Signed-off-by: MaxKsyunz <maxk@bitquilltech.com>
@MaxKsyunz MaxKsyunz requested a review from a team as a code owner March 29, 2023 17:21
@MaxKsyunz MaxKsyunz changed the title Update to account for XContent Refactor in 2.x Update to account for XContent refactor in 2.x Mar 29, 2023
@codecov-commenter
Copy link

codecov-commenter commented Mar 29, 2023

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.46%. Comparing base (1aa1861) to head (7d3793b).
⚠️ Report is 373 commits behind head on 2.x.

Additional details and impacted files
@@             Coverage Diff              @@
##                2.x    #1485      +/-   ##
============================================
- Coverage     99.96%   98.46%   -1.50%     
- Complexity     2593     3867    +1274     
============================================
  Files           220      345     +125     
  Lines          6205     9600    +3395     
  Branches        378      616     +238     
============================================
+ Hits           6203     9453    +3250     
- Misses            2      142     +140     
- Partials          0        5       +5     
Flag Coverage Δ
sql-engine 98.46% <ø> (-1.50%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Yury-Fridlyand
Yury-Fridlyand previously approved these changes Mar 29, 2023
Copy link
Collaborator

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

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

Import reorder may be needed to satisfy the checkstyle.

rupal-bq
rupal-bq previously approved these changes Mar 29, 2023
build.gradle Outdated
maven { url "https://aws.oss.sonatype.org/content/repositories/snapshots" }
mavenCentral()
// todo. remove this when lucene 9.4.0 is released
maven { url "https://d1nvenhzbhpy0q.cloudfront.net/snapshots/lucene/" }
Copy link
Collaborator

Choose a reason for hiding this comment

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

why was this added?

Copy link
Collaborator Author

@MaxKsyunz MaxKsyunz Mar 29, 2023

Choose a reason for hiding this comment

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

Good catch! I'll remove it -- it does not apply to 2.x branch.
It was added when main was bumped to 3.0.

The PR to main moved that line because the build was picking up dependencies from that random repository instead of sonatype and failing.
image

derek-ho
derek-ho previously approved these changes Mar 29, 2023
Copy link
Collaborator

@derek-ho derek-ho left a comment

Choose a reason for hiding this comment

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

mostly LGTM

Signed-off-by: MaxKsyunz <maxk@bitquilltech.com>
@MaxKsyunz MaxKsyunz dismissed stale reviews from derek-ho, rupal-bq, and Yury-Fridlyand via 7d3793b March 29, 2023 19:49
Copy link
Collaborator

@dai-chen dai-chen 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 the fix!

@Yury-Fridlyand Yury-Fridlyand merged commit 56eea47 into opensearch-project:2.x Mar 29, 2023
@Yury-Fridlyand Yury-Fridlyand deleted the 2.x-build-fixes branch March 29, 2023 20:52
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.

6 participants