Skip to content

Commit

Permalink
[Refactor] StreamIO and OpenSearchException foundation to core library (
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Shivansh Arora <hishiv@amazon.com>
  • Loading branch information
nknize authored and shiv0408 committed Apr 25, 2024
1 parent 94c3b34 commit 96d534b
Show file tree
Hide file tree
Showing 133 changed files with 1,993 additions and 2,178 deletions.
283 changes: 0 additions & 283 deletions libs/core/src/main/java/org/opensearch/BaseExceptionsHelper.java

This file was deleted.

Loading

0 comments on commit 96d534b

Please sign in to comment.