Skip to content

[Backport 2.x] [Refactor] StreamIO and OpenSearchException foundation to core library (#8035)#8540

Merged
andrross merged 1 commit intoopensearch-project:2.xfrom
nknize:backport/backport-8035-to-2.x
Jul 7, 2023
Merged

[Backport 2.x] [Refactor] StreamIO and OpenSearchException foundation to core library (#8035)#8540
andrross merged 1 commit intoopensearch-project:2.xfrom
nknize:backport/backport-8035-to-2.x

Conversation

@nknize
Copy link
Copy Markdown
Contributor

@nknize nknize commented Jul 7, 2023

Backport 5a968a8 from #8035.

opensearch-project#8035)

This commit refactors the Stream IO classes from the server to core
library to support cloud native and serverless extensions.

The following classes are refactored:

* StreamInput
* StreamOutput
* Writeable
* NamedWriteable
* NamedWriteableRegistry
* Index
* ShardId
* BytesReference
* ByteArray
* BigArray
* SecureString
* Text
* ParsingException
* RestStatus

The namespace is left unchanged but will be refactored in a follow up
commit to avoid split package in order to support jigsaw modularity.

Signed-off-by: Nicholas Walter Knize <nknize@apache.org>
@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 7, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 7, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 7, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      2 org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString

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