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 <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…te (opensearch-project#306) (opensearch-project#313)

Signed-off-by: Siva <ychnagasivareddy@gmail.com>

Signed-off-by: Siva <ychnagasivareddy@gmail.com>
) (opensearch-project#320)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…oject#276) (opensearch-project#319)

* Removing unsupported dynamic_templates option

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Update CHANGELOG

Signed-off-by: Vacha Shah <vachshah@amazon.com>

Signed-off-by: Vacha Shah <vachshah@amazon.com>
(cherry picked from commit 52679c3)

Co-authored-by: Vacha Shah <vachshah@amazon.com>
…-project#327)

Signed-off-by: dblock <dblock@amazon.com>

(cherry picked from commit 4165674)

Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
…earch-project#281) (opensearch-project#328)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…nsearch-project#335)

Signed-off-by: dblock <dblock@amazon.com>

Signed-off-by: dblock <dblock@amazon.com>
(cherry picked from commit 6096034)
Signed-off-by: dblock <dblock@amazon.com>

Signed-off-by: dblock <dblock@amazon.com>
(cherry picked from commit 8c6bac4)

Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>

Signed-off-by: Vacha Shah <vachshah@amazon.com>
…opensearch-project#332)

Signed-off-by: dblock <dblock@amazon.com>

(cherry picked from commit 37d4800)

Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
…oject#339) (opensearch-project#344)

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

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding CHANGELOG entry

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding documentation comment

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding tests

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Addressing comments

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Addressing comments

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Removing refresh policy for integ tests for Sigv4

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Updating the developer guide

Signed-off-by: Vacha Shah <vachshah@amazon.com>

Signed-off-by: Vacha Shah <vachshah@amazon.com>

Signed-off-by: Vacha Shah <vachshah@amazon.com>
…project#321) (opensearch-project#345)

* Add release workflows

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

(cherry picked from commit c171531)
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
…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 <git@danielhart.me>

* Remove commented code

Signed-off-by: Dan Hart <git@danielhart.me>

* Fix format of changelog item

Signed-off-by: Dan Hart <git@danielhart.me>

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

Signed-off-by: Dan Hart <git@danielhart.me>
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 <btellier@linagora.com>

Signed-off-by: Benoit Tellier <btellier@linagora.com>
…pensearch-project#358)

* Bulk UpdateOperation misses upsert options



* Fix formatting



---------


(cherry picked from commit fbef578)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
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 <123amitai@gmail.com>
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 <szczepanczyk.dominik@gmail.com>

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

Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>

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

Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>

---------

Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>
(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 <vachshah@amazon.com>

---------

Signed-off-by: Dominik Szczepanczyk <szczepanczyk.dominik@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Vacha Shah <vachshah@amazon.com>
…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 <dblock@amazon.com>
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 <vachshah@amazon.com>
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 <vachshah@amazon.com>
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 <andriy.redko@aiven.io>
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: Vacha Shah <vachshah@amazon.com>
…arch-project#394)

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>
Co-authored-by: Sayali Gaikawad <61760125+gaiksaya@users.noreply.github.com>
…opensearch-project#400)

(cherry picked from commit 4c2d39d)

Signed-off-by: Ilya Lukyanovich <l000kian@gmail.com>
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 <vachshah@amazon.com>

* Update COMPATIBILITY.md

Co-authored-by: Andriy Redko <drreta@gmail.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@dblock.org>
Co-authored-by: Andriy Redko <drreta@gmail.com>
…-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] <support@github.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
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 <luneo7@gmail.com>
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 <dblock@amazon.com>
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#965)

Signed-off-by: dblock <dblock@amazon.com>
Co-authored-by: Oksana Yakusheva <oksanay@cloudcruiser.com>
) (opensearch-project#971)

(cherry picked from commit de05226)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
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 <vachshah@amazon.com>

* Adding tests

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding guides, samples and fixing tests

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Addressing comments

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>

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

Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
Signed-off-by: dblock <dblock@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
….8.172 (opensearch-project#980)

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

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Update CHANGELOG after 2.10.2

Signed-off-by: Vacha Shah <vachshah@amazon.com>

---------

Signed-off-by: Vacha Shah <vachshah@amazon.com>
…search-project#982)

* Fix the deserialization of SortOptions



* add changelog



* spotless



---------


(cherry picked from commit e672fdc)

Signed-off-by: bowenlan-amzn <bowenlan23@gmail.com>
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 <andriy.redko@aiven.io>
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: Andriy Redko <andriy.redko@aiven.io>
… 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 <andrew@parmet.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
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 <andriy.redko@aiven.io>
…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 <miguelvilag@gmail.com>
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 <dbswns97@gmail.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Co-authored-by: AntCode97 <50140266+AntCode97@users.noreply.github.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…-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] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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 <tsfarr@amazon.com>

* spotlessApply

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

---------

Signed-off-by: Thomas Farr <tsfarr@amazon.com>
(cherry picked from commit 5d5c6b5)
…nsearch-project#1033) (opensearch-project#1034)

* Default analyzer deserialization to custom type when unspecified

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* Add changelog

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

* Fix for java8

Signed-off-by: Thomas Farr <tsfarr@amazon.com>

---------

Signed-off-by: Thomas Farr <tsfarr@amazon.com>
(cherry picked from commit 80dc741)
Addresses bug in opensearch-project#1042

Signed-off-by: Brendon Faleiro <faleiro@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet