Commit Graph

1613 Commits

Author SHA1 Message Date
Daniel (dB.) Doubrovkine 55f9940d51 Remove HEAD-handling hack. (#794)
* remove HEAD -> GET workaround

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

* Removed remaining HEAD-handling code.

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

* Fixed remaining references to admin:admin.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
Co-authored-by: Vincent Castaneda <vincent.castaneda@sage.com>
2024-08-15 10:15:13 -04:00
dependabot[bot] 19a911387c Update sphinx requirement from <7.5 to <8.1 (#791)
* Update sphinx requirement from <7.5 to <8.1

Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/v8.0.2/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v8.0.2)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
...

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>
2024-08-14 20:08:10 -04:00
Daniel (dB.) Doubrovkine 2d6ae74211 Updated dependencies, generated API. (#793)
* Updated dependencies.

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

* Lock setuptools at 71.1.0.

Newer version seems to cause UserWarning: Unknown distribution option: 'test_suite'.

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

* Updated opensearch-py APIs to reflect opensearch-api-specification@9d3bc34.

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

* Do not test against flaky 2.0.

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

* Reduce test matrix and add 2.16.

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

* Fix missing spaces in generated descriptions.

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

* Removed 2.2.1.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2024-08-14 15:25:01 -07:00
Raphael 581cbbaf10 Fix spell typos and missing whitespace (#789) 2024-07-31 22:23:35 -04:00
Godefroy Amaury de Malefète a68e8b7daf Allow the use of percent string in Bool.__and__ method (#780)
Signed-off-by: Godefroy Amaury de Malefète <godefroy-de-montmirail-dit-le-hardi@protonmail.com>
2024-07-25 13:46:50 -04:00
dependabot[bot] a029343fb5 Update sphinx requirement from <7.4 to <7.5 (#788)
* Update sphinx requirement from <7.4 to <7.5

Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v7.4.7)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
...

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>
2024-07-22 10:40:24 -04:00
dependabot[bot] 68f5e654ee Update pytest-asyncio requirement from <=0.23.7 to <=0.23.8 (#787)
* Update pytest-asyncio requirement from <=0.23.7 to <=0.23.8

Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.1.1...v0.23.8)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

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>
2024-07-22 10:30:09 -04:00
Hugo van Kemenade e3005b8cff Bump GitHub Actions (#786)
Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-20 16:20:43 -04:00
Hugo van Kemenade 6e3f1a1194 Remove redundant mock backport dependency and upgrade syntax for Python 3.8+ (#785)
* Upgrade syntax with pyupgrade --py38-plus

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Convert to f-strings with flynt

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Format with Black

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Remove redundant mock backport dependency

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* isort imports

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Add changelog entry

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

---------

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-20 16:19:20 -04:00
Hugo van Kemenade de96d28e45 Remove redundant six dependency (#781)
* Don't create universal wheel for Python 3 only

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Update Black target version to match min Python supported

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Upgrade files using six to Python 3 syntax

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Remove redundant six dependency

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Format with Black

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Add changelog entry

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

---------

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-20 12:30:37 -04:00
Daniel (dB.) Doubrovkine 1ef788a55a Skip elements with titles. (#777)
* Skip elements with titles.

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

* Simplify and just skip by ref.

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

* Re-generate API spec.

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

* Do not skip alias tests.

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

* Actually skip node_id_or_metric.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2024-07-18 13:24:38 -07:00
Daniel (dB.) Doubrovkine 04b870d68a Skip put_aliases tests that don't require both index and alias parameters. (#778)
Signed-off-by: dblock <dblock@amazon.com>
2024-07-18 08:44:41 -07:00
opensearch-trigger-bot[bot] ea0a718754 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-07-15) (#775)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-07-15 08:30:16 -04:00
Keith Rozario a380e7083f Update guides-bulk example (#774)
Fixed examples to make them working python code. (missing commas and quotes.

Signed-off-by: Keith Rozario <795867+keithrozario@users.noreply.github.com>
2024-07-14 10:27:35 -04:00
opensearch-trigger-bot[bot] 04a2350ba0 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-07-12) (#773)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-07-11 22:33:22 -07:00
Patrick O'Connor 9ee0b23c63 rc corrected to response (#772)
* rc corrected to response

There seems to be a mistype in the code. I believe it's meant to say response

Signed-off-by: Patrick O'Connor <35761519+oconpa@users.noreply.github.com>

* Corrected line 33

Signed-off-by: Patrick O'Connor <35761519+oconpa@users.noreply.github.com>

---------

Signed-off-by: Patrick O'Connor <35761519+oconpa@users.noreply.github.com>
2024-07-11 22:30:44 -07:00
Vatsal f0bce7cf33 Fixed issue 769:Collapse not preserved when chaining a search instance (#771)
* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <vatsal.v.anand@gmail.com>

* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <vatsal.v.anand@gmail.com>

* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <vatsal.v.anand@gmail.com>

* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <vatsal.v.anand@gmail.com>

* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <vatsal.v.anand@gmail.com>

---------

Signed-off-by: vatsal <vatsal.v.anand@gmail.com>
2024-07-09 09:39:19 -07:00
opensearch-trigger-bot[bot] cef3cd5b1c Updated opensearch-py to reflect the latest OpenSearch API spec (2024-06-24) (#767)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-06-24 09:18:43 -07:00
opensearch-trigger-bot[bot] d39280759b Updated opensearch-py to reflect the latest OpenSearch API spec (2024-06-20) (#766)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-06-19 22:10:00 -07:00
Sai Medhini Reddy Maryada b0ca0f8625 Updated compatibility matrix to include latest OpenSearch versions (#765)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-06-18 14:56:55 -04:00
Derek Ho d3177a8bcb Pass in initial admin password and remove admin:admin references (#631)
* Update to pass in initial admin password

Signed-off-by: Derek Ho <dxho@amazon.com>

* Add changelog and logic to distinguish between versions

Signed-off-by: Derek Ho <dxho@amazon.com>

* fix syntax

Signed-off-by: Derek Ho <dxho@amazon.com>

* Revert tests

Signed-off-by: Derek Ho <dxho@amazon.com>

* Add 2.12 to the matrix and fix testing logic

Signed-off-by: Derek Ho <dxho@amazon.com>

* Fix version logic

Signed-off-by: Derek Ho <dxho@amazon.com>

* Try to split job into two batches

Signed-off-by: Derek Ho <dxho@amazon.com>

* Fix lint

Signed-off-by: Derek Ho <dxho@amazon.com>

* Change name

Signed-off-by: Derek Ho <dxho@amazon.com>

* Remove period

Signed-off-by: Derek Ho <dxho@amazon.com>

* Pull password dynamically

Signed-off-by: Derek Ho <dxho@amazon.com>

* Change to proper env var

Signed-off-by: Derek Ho <dxho@amazon.com>

* Try passing through

Signed-off-by: Derek Ho <dxho@amazon.com>

---------

Signed-off-by: Derek Ho <dxho@amazon.com>
Signed-off-by: Derek Ho <derek01778@gmail.com>
2024-06-18 11:44:21 -04:00
Krishna babu a1d27ca077 BUG FIX #538 (#760) 2024-06-18 10:59:29 -04:00
opensearch-trigger-bot[bot] f7cac3033d Updated opensearch-py to reflect the latest OpenSearch API spec (2024-06-17) (#763)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-06-17 15:33:14 -07:00
Sai Medhini Reddy Maryada 1739a988d3 Removed deprecated numpy.float_ and update NumPy/Pandas imports (#762)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-06-17 15:19:13 -07:00
Daniel (dB.) Doubrovkine 87e531b943 Changed URL for API spec. (#757)
Signed-off-by: dblock <dblock@amazon.com>
2024-06-12 21:48:29 -07:00
Sai Medhini Reddy Maryada 1ccc1bcf95 Reduce required approvers for release from 2 to 1 (#755)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-05-28 16:10:54 -04:00
Sai Medhini Reddy Maryada 188b6561e7 Bump version to 2.6.0 (#752)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-05-24 09:16:19 -07:00
Sai Medhini Reddy Maryada 343690ad63 Bumps aiohttp from >=3.9.2,<4 to >=3.9.4,<4 (#751)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-05-22 16:56:39 -04:00
opensearch-trigger-bot[bot] ee21471c13 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-22) (#749)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-05-22 08:30:08 -07:00
opensearch-trigger-bot[bot] 5b40a85f9a Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-21) (#747)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-05-20 20:53:47 -07:00
dependabot[bot] 77313d2dfe Update pytest-asyncio requirement from <=0.23.6 to <=0.23.7 (#748)
* Update pytest-asyncio requirement from <=0.23.6 to <=0.23.7

Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.1.1...v0.23.7)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

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>
2024-05-20 11:07:32 -04:00
opensearch-trigger-bot[bot] 72173c3fb0 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-15) (#742)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-05-15 09:55:45 -07:00
Varun Lodaya 243b509fb6 Updating security reachout email (#743)
Signed-off-by: Varun Lodaya <varunml@amazon.com>
2024-05-14 07:25:15 -04:00
opensearch-trigger-bot[bot] 1bf403c0f2 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-10) (#741)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-05-10 10:44:19 -07:00
Sai Medhini Reddy Maryada 9a67bbfd16 fixed generator (#738)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-05-01 16:59:17 -04:00
AbitraryYu 0caacf870c Added Tests for Search Pipeline and Notifications Plugin (#668)
* Added Tests for Notification and Search Pipeline.ml

Signed-off-by: AbitraryYu <nikkoyhc@gmail.com>

* Add back the lines of comment in indices.py during resolving merge conflict.

Signed-off-by: AbitraryYu <nikkoyhc@gmail.com>

* Fix notification plugin tests, from async def to def.

Signed-off-by: AbitraryYu <nikkoyhc@gmail.com>

* Fix test errors. Rename function names and rewrite assertion tests.

Signed-off-by: AbitraryYu <nikkoyhc@gmail.com>

* Fix formatting errors. Added typings to CONTENT.

Signed-off-by: AbitraryYu <nikkoyhc@gmail.com>

---------

Signed-off-by: AbitraryYu <nikkoyhc@gmail.com>
2024-04-30 16:51:22 -04:00
opensearch-trigger-bot[bot] 303b6c6f64 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-04-24) (#734)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-04-23 22:35:59 -07:00
Sai Medhini Reddy Maryada fd48eb450a added tests (#726)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-04-23 15:47:15 -04:00
opensearch-trigger-bot[bot] 26a7b12756 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-04-23) (#732)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-04-23 00:02:15 -07:00
Ihor Herasymenko 54ad04d37e Add support for urllib3 v2 (#719)
Signed-off-by: Ihor Herasymenko <ihor.herasymenko@ada.support>
2024-04-22 13:58:50 -04:00
dependabot[bot] 083d5229a1 Update sphinx requirement from <7.3 to <7.4 (#729)
* Update sphinx requirement from <7.3 to <7.4

Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v7.3.7)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
...

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>
2024-04-22 10:36:44 -07:00
opensearch-trigger-bot[bot] d0aee06e41 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-04-20) (#727)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-04-22 08:52:16 -04:00
dependabot[bot] b4984600bc Update pytest-asyncio requirement from <=0.23.5 to <=0.23.6 (#709)
* Update pytest-asyncio requirement from <=0.23.5 to <=0.23.6

Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.1.1...v0.23.6)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

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>
2024-04-21 23:28:00 -07:00
opensearch-trigger-bot[bot] 3082d92f7d Updated opensearch-py to reflect the latest OpenSearch API spec (2024-04-19) (#725)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-04-18 21:40:53 -07:00
Sai Medhini Reddy Maryada b47edf906e Code generated using native OpenAPI specification (#724)
* Code generated using native OpenAPI specification

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

* Code generated using native OpenAPI specification

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

* Code generated using native OpenAPI specification

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-04-17 16:22:14 -07:00
Sai Medhini Reddy Maryada 0e28f5ffe9 Updated code generator to use new version of OpenAPI specification (#721)
* Updated code generator to use new version of OpenAPI specification

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

* Updated code generator to use native OpenAPI specification

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-04-17 17:22:10 -04:00
Sai Medhini Reddy Maryada 58e9b1d66c Introduced service time metrics to OpenSearch-Py client. (#716)
* Introduced service time metrics to opensearch-py client

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

* Introduced service time metrics to opensearch-py client

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

* Introduced service time metrics to opensearch-py client

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

* Added service time metrics

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
Signed-off-by: Sai Medhini Reddy Maryada <117196660+saimedhi@users.noreply.github.com>
2024-04-15 07:20:46 -04:00
Sai Medhini Reddy Maryada ba715b9d3f Dropped support for python 3.6, 3.7 and added support for python 3.12 (#717)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-04-06 11:18:47 -04:00
Zelin Hao 8a00963d83 Add permission to the release workflow (#706)
* Add permission needed for manual approval

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

* Remove codeowner

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

---------

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
2024-03-22 17:04:48 -07:00
Sai Medhini Reddy Maryada f2265701a4 Bump version to 2.5.0 (#703)
* Bump version to 2.5.0

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

* Bump version to 2.5.0

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-03-22 15:44:39 -07:00