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

[Backport 2.x] [Refactor] OpenSearchException and ExceptionsHelper foundation to base class (#7508) #8460

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

nknize
Copy link
Collaborator

@nknize nknize commented Jul 6, 2023

Backport 1e08b5a from #7508.

…e class (opensearch-project#7508)

Creates new BaseOpenSearchException and BaseExceptionsHelper in core
library as a step to moving OpenSearch exception mechanisms from the
server module to core library. This is a move to support serverless and
cloud native capabilities without requiring the server module for core
opensearch indexing, search, and compute capabilities.

Signed-off-by: Nicholas Walter Knize <[email protected]>
@nknize nknize added enhancement Enhancement or improvement to existing feature or request backport PRs or issues specific to backporting features or enhancments v2.9.0 'Issues and PRs related to version v2.9.0' labels Jul 6, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jul 6, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.remotestore.SegmentReplicationUsingRemoteStoreIT.testCancelPrimaryAllocation

@codecov
Copy link

codecov bot commented Jul 6, 2023

Codecov Report

Merging #8460 (3d6b296) into 2.x (c56d165) will decrease coverage by 0.10%.
The diff coverage is 74.07%.

@@             Coverage Diff              @@
##                2.x    #8460      +/-   ##
============================================
- Coverage     70.61%   70.52%   -0.10%     
+ Complexity    57074    57027      -47     
============================================
  Files          4743     4746       +3     
  Lines        270436   270449      +13     
  Branches      39931    39931              
============================================
- Hits         190974   190729     -245     
- Misses        63041    63335     +294     
+ Partials      16421    16385      -36     
Impacted Files Coverage Δ
...rg/opensearch/client/ClusterRequestConverters.java 44.28% <ø> (ø)
...rg/opensearch/client/IndicesRequestConverters.java 71.03% <ø> (+0.27%) ⬆️
.../java/org/opensearch/client/RequestConverters.java 84.35% <ø> (+0.16%) ⬆️
...g/opensearch/client/SnapshotRequestConverters.java 79.31% <ø> (+0.86%) ⬆️
.../java/org/opensearch/client/core/CountRequest.java 68.42% <ø> (-2.64%) ⬇️
.../org/opensearch/client/indices/AnalyzeRequest.java 76.00% <ø> (ø)
...client/indices/ComponentTemplatesExistRequest.java 0.00% <ø> (ø)
...t/indices/ComposableIndexTemplateExistRequest.java 0.00% <ø> (ø)
...ensearch/client/indices/DetailAnalyzeResponse.java 54.79% <ø> (ø)
...search/client/indices/GetFieldMappingsRequest.java 57.14% <ø> (-19.05%) ⬇️
... and 234 more

... and 434 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport PRs or issues specific to backporting features or enhancments enhancement Enhancement or improvement to existing feature or request v2.9.0 'Issues and PRs related to version v2.9.0'
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants