Upgrade to OpenSearch 3.x APIs and align with cluster manager terminology #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates across the project, including upgrading dependencies, adding new features, and refactoring imports to align with updated APIs. The most significant changes involve upgrading to OpenSearch 3.0.0, updating dependencies, and adding placeholders for new API methods related to views and ingestion.
Dependency and Version Upgrades:
.github/workflows/maven.yml
from 17 to 21 to align with modern Java standards. ([.github/workflows/maven.ymlL23-R26](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-5dbf1a803ecc13ff945a08ed3eb09149a83615e83f15320550af8e3a91976446L23-R26)
)pom.xml
to3.0.0-SNAPSHOT
, along with updates to dependencies such as OpenSearch (3.0.0
), JUnit Jupiter (5.12.2
), Testcontainers (1.21.0
), and JUnit Platform Launcher (1.12.2
). ([[1]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L8-R8)
,[[2]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L39-R42)
,[[3]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-9c5fb3d1b7e3b0f54bc5c4182965c4fe1f9023d449017cece3005d3f90e8e4d8L195-R195)
)New Features (Placeholders for APIs):
HttpAbstractClient
,HttpClient
, andHttpIndicesAdminClient
to support view management (createView
,getView
,updateView
,deleteView
) and ingestion control (pauseIngestion
,resumeIngestion
,getIngestionState
). These methods currently throwUnsupportedOperationException
. ([[1]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-c176ad038255d1f0a0f2563b0d1b0c4e1085c58ae5a8f809c343ad7084474f3fR2073-R2154)
,[[2]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-41e385a94d02cc8a9e1a653fa1fe60a7404dfa8410f44047f4c2f34c278aa85fR1101-R1123)
,[[3]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-0f536e391ef241aa338b692e0c4fb5ae9b58d4f589a0dac87b3b62d2f36c1755R686-R766)
)Refactoring and API Alignment:
master
terminology withclustermanager
, aligning with OpenSearch 3.0.0's updated API. ([[1]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-c176ad038255d1f0a0f2563b0d1b0c4e1085c58ae5a8f809c343ad7084474f3fL408-R415)
,[[2]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-41e385a94d02cc8a9e1a653fa1fe60a7404dfa8410f44047f4c2f34c278aa85fL276-R280)
,[[3]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-9284170a24dd71b5855eb70ef2b7b2e5d6031b5b0e0f205c0dcf1e0fe3941d7fL23-R23)
,[[4]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-b7e6ee4aabbc730b906eaec2fa087247b0a2889a6ddea4ebb2e44b400cfd7078L22-R22)
)org.opensearch.client
imports withorg.opensearch.transport.client
inHttpAbstractClient
,HttpAdminClient
, andHttpIndicesAdminClient
for better compatibility with OpenSearch 3.0.0. ([[1]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-c176ad038255d1f0a0f2563b0d1b0c4e1085c58ae5a8f809c343ad7084474f3fL421-L426)
,[[2]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-8f4771492c5c6a23b1788f86bfcf7a127dd987a59b9e87586ae051410e01efbfL18-R20)
,[[3]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-0f536e391ef241aa338b692e0c4fb5ae9b58d4f589a0dac87b3b62d2f36c1755L112-R125)
)Minor Additions:
ScaleIndexRequestBuilder
and ingestion-related classes inHttpAbstractClient
andHttpIndicesAdminClient
to support future functionality. ([[1]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-c176ad038255d1f0a0f2563b0d1b0c4e1085c58ae5a8f809c343ad7084474f3fR287)
,[[2]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-0f536e391ef241aa338b692e0c4fb5ae9b58d4f589a0dac87b3b62d2f36c1755R79)
,[[3]](https://github.com/codelibs/fesen-httpclient/pull/3/files#diff-0f536e391ef241aa338b692e0c4fb5ae9b58d4f589a0dac87b3b62d2f36c1755R97-R102)
)