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

2.x #1045

Closed
wants to merge 182 commits into from
Closed

2.x #1045

wants to merge 182 commits into from

Conversation

BrendonFaleiro
Copy link
Contributor

reta and others added 30 commits November 9, 2022 11:46
…#259)

Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>
) (opensearch-project#320)

Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>

Signed-off-by: Andriy Redko <[email protected]>
…oject#276) (opensearch-project#319)

* Removing unsupported dynamic_templates option

Signed-off-by: Vacha Shah <[email protected]>

* Update CHANGELOG

Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
(cherry picked from commit 52679c3)

Co-authored-by: Vacha Shah <[email protected]>
…-project#327)

Signed-off-by: dblock <[email protected]>

(cherry picked from commit 4165674)

Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Signed-off-by: dblock <[email protected]>

Signed-off-by: dblock <[email protected]>
(cherry picked from commit 8c6bac4)

Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
…opensearch-project#332)

Signed-off-by: dblock <[email protected]>

(cherry picked from commit 37d4800)

Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
…oject#339) (opensearch-project#344)

* Adding X-Amz-Content-Sha256 header for signed requests

Signed-off-by: Vacha Shah <[email protected]>

* Adding CHANGELOG entry

Signed-off-by: Vacha Shah <[email protected]>

* Adding documentation comment

Signed-off-by: Vacha Shah <[email protected]>

* Adding tests

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

* Removing refresh policy for integ tests for Sigv4

Signed-off-by: Vacha Shah <[email protected]>

* Updating the developer guide

Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
…project#321) (opensearch-project#345)

* Add release workflows

Signed-off-by: Sayali Gaikawad <[email protected]>

(cherry picked from commit c171531)
Signed-off-by: Sayali Gaikawad <[email protected]>

Signed-off-by: Sayali Gaikawad <[email protected]>
…pensearch-project#347) (opensearch-project#350)

* Fix issue with completion suggester being parsed as term suggester.

This commit fixes the issue where a completion suggester search request
was being parsed as a term suggester and failing due to "Missing
required property 'TermSuggestOption.score'"

This solution was originally proposed by Github user @apatrida

Signed-off-by: Dan Hart <[email protected]>

* Remove commented code

Signed-off-by: Dan Hart <[email protected]>

* Fix format of changelog item

Signed-off-by: Dan Hart <[email protected]>

Signed-off-by: Dan Hart <[email protected]>
(cherry picked from commit 013d8d7)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

Signed-off-by: Dan Hart <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Benoit Tellier <[email protected]>

Signed-off-by: Benoit Tellier <[email protected]>
…pensearch-project#358)

* Bulk UpdateOperation misses upsert options



* Fix formatting



---------


(cherry picked from commit fbef578)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#368)

* Upgrading compatibility to opensearch 2.5



* latest 2.4 version



* keep existing compatibility matrix rows, this pr adds a new row for versions of opensearch after 2.3.0



---------


(cherry picked from commit a924a74)

Signed-off-by: amitai stern <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
)

* Feature/range aggregation fix 369 (opensearch-project#370)

* test: create integration tests for date_range and range aggregation (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* fix: add a missing key propery to the RangeBucket (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

* docs: add CHANGELOG entry (opensearch-project#369)

Signed-off-by: Dominik Szczepanczyk <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
(cherry picked from commit 99d0e6a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Fixing compile errors

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Dominik Szczepanczyk <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Vacha Shah <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vacha Shah <[email protected]>
…ct#386)

* Refactor two-client usage.



* Avoid double-closing the client on cleanup.



* Refactor constructors to take sync/async explicitly.



* Corrected comments and cleaned up variable naming.




(cherry picked from commit a0ca15c)

Signed-off-by: dblock <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#384)

(cherry picked from commit 75c5e59)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ensearch-project#385) (opensearch-project#393)

(cherry picked from commit b61467d)

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 9b9ec00)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…arch-project#394)

Signed-off-by: Sayali Gaikawad <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>
Co-authored-by: Sayali Gaikawad <[email protected]>
…opensearch-project#400)

(cherry picked from commit 4c2d39d)

Signed-off-by: Ilya Lukyanovich <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Increment client version to 2.3.0

Signed-off-by: Vacha Shah <[email protected]>

* Update COMPATIBILITY.md

Co-authored-by: Andriy Redko <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Co-authored-by: Andriy Redko <[email protected]>
…-client (opensearch-project#403) (opensearch-project#408)

* Bump io.github.classgraph:classgraph in /java-client

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.156 to 4.8.157.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.156...classgraph-4.8.157)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...



* Update changelog



---------




(cherry picked from commit 5c444d2)

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
…ch-project#410)

(cherry picked from commit aaeb185)

Signed-off-by: luneo7 <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dblock and others added 18 commits April 30, 2024 10:41
…ect#963) (opensearch-project#964)

(cherry picked from commit 364f61c)

Signed-off-by: dblock <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
) (opensearch-project#971)

(cherry picked from commit de05226)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…pensearch-project#974)

* Fixing composite aggregations with correct parameters (opensearch-project#967)

* Fixing composite aggregations with correct parameters

Signed-off-by: Vacha Shah <[email protected]>

* Adding tests

Signed-off-by: Vacha Shah <[email protected]>

* Adding guides, samples and fixing tests

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>

* Fix: test. (opensearch-project#972)

Signed-off-by: dblock <[email protected]>
Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
Signed-off-by: dblock <[email protected]>
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
….8.172 (opensearch-project#980)

* Bump io.github.classgraph:classgraph from 4.8.170 to 4.8.172

Signed-off-by: Vacha Shah <[email protected]>

* Update CHANGELOG after 2.10.2

Signed-off-by: Vacha Shah <[email protected]>

---------

Signed-off-by: Vacha Shah <[email protected]>
…search-project#982)

* Fix the deserialization of SortOptions



* add changelog



* spotless



---------


(cherry picked from commit e672fdc)

Signed-off-by: bowenlan-amzn <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ransport (opensearch-project#978) (opensearch-project#984)

* [BUG] Generic HTTP Actions in Java Client does not work with AwsSdk2Transport



* Address code review comments



---------


(cherry picked from commit b8e0dad)

Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
… to preserve caller stack traces (opensearch-project#656) (opensearch-project#1006)

* wrap exceptions thrown by async transport implementations in IOException



* license headers



* changelog



* tolerate null causes



* fix tests



* remove print



* one more license header



* fix last non-aws test



* use multicatch to restrict caught exceptions



* Replicate the RestClient exception wrapping for async invocation flow



* replicate hc5 exception extraction strategy in aws transport



* move other tests



* lint



* delete aws test for now; add support for OpenSearchClientException



* reintroduce an aws test, sadly, not extending the abstract case



* java 8



* replicate ISE



* poke



* handle some netty-specific channel exceptions



* poke



* nevermind netty



* io before rt



* no hc5



---------




(cherry picked from commit db50b7d)

Signed-off-by: Andrew Parmet <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andriy Redko <[email protected]>
…oject#1010)

* Add text embedding processor



* add changelog entry



* add (de)serialization test



* fix files headers



* fix for java 8



---------


(cherry picked from commit 5b90848)

Signed-off-by: miguel-vila <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…h-project#1012)

* modify to not use URLEncodedUtils



* add a license header



* add pathEncoder test



* modify to use ByteBuffer in encodeBytes method



* modify to use URLEncoder



* delete PathEncoder



* modify to use URLEncodedUtils per version per Classpath



* fix to use MethodHandle instead of reflection



* add CHANGELOG.md



---------

Signed-off-by: AntCode97 <[email protected]>
Signed-off-by: Andriy Redko <[email protected]>
Co-authored-by: AntCode97 <[email protected]>
…-client (opensearch-project#1019) (opensearch-project#1021)

* Bump io.github.classgraph:classgraph in /java-client

Bumps [io.github.classgraph:classgraph](https://github.com/classgraph/classgraph) from 4.8.172 to 4.8.173.
- [Release notes](https://github.com/classgraph/classgraph/releases)
- [Commits](classgraph/classgraph@classgraph-4.8.172...classgraph-4.8.173)

---
updated-dependencies:
- dependency-name: io.github.classgraph:classgraph
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 4a459f7)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…roject#1028)

* Enforce license headers

Signed-off-by: Thomas Farr <[email protected]>

* spotlessApply

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 5d5c6b5)
…nsearch-project#1033) (opensearch-project#1034)

* Default analyzer deserialization to custom type when unspecified

Signed-off-by: Thomas Farr <[email protected]>

* Add changelog

Signed-off-by: Thomas Farr <[email protected]>

* Fix for java8

Signed-off-by: Thomas Farr <[email protected]>

---------

Signed-off-by: Thomas Farr <[email protected]>
(cherry picked from commit 80dc741)
Addresses bug in opensearch-project#1042

Signed-off-by: Brendon Faleiro <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet