Daniel (dB.) Doubrovkine
2bfc409177
Fix: typos. ( #526 )
...
* Fix: typo.
Signed-off-by: dblock <dblock@amazon.com >
* Fix: typo.
Signed-off-by: dblock <dblock@amazon.com >
* Fixed its.
Signed-off-by: dblock <dblock@amazon.com >
* Added Visual Code settings to .gitignore.
Signed-off-by: dblock <dblock@amazon.com >
* Added loop type for async client.
Signed-off-by: dblock <dblock@amazon.com >
---------
Signed-off-by: dblock <dblock@amazon.com >
2023-10-09 10:45:18 -07:00
Sai Medhini Reddy Maryada
49c2f6e87d
Bump version to 2.3.2 ( #524 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-10-06 16:37:56 -04:00
Sai Medhini Reddy Maryada
be26adb369
updated changelog ( #522 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-10-03 16:01:41 -07:00
Sai Medhini Reddy Maryada
80b96812a7
Integrated generated 'nodes' client APIs into the existing module, ensuring alignment with the server and maintaining backward compatibility ( #514 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
Signed-off-by: Sai Medhini Reddy Maryada <117196660+saimedhi@users.noreply.github.com >
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com >
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com >
2023-10-03 15:00:49 -07:00
Bhavani Ravi
1a47e6fa1f
fixes : #512 Wrong return type hint in async_scan ( #520 )
...
* fixes : #512 Wrong return type hint in async_scan
Signed-off-by: Bhavani Ravi <bhava0895@gmail.com >
* add: changelog
Signed-off-by: Bhavani Ravi <bhava0895@gmail.com >
---------
Signed-off-by: Bhavani Ravi <bhava0895@gmail.com >
2023-10-03 10:45:35 -04:00
Sai Medhini Reddy Maryada
70db37a3c0
Modified generator to generate 'options' and 'default value' for parameters in description ( #519 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-10-03 10:43:05 -04:00
Sai Medhini Reddy Maryada
781744c6b1
Bumps from >=1.21.1 to >=1.26.9 ( #518 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-10-03 10:41:41 -04:00
Sai Medhini Reddy Maryada
9fe5f5ad62
Integrated generated dangling_indices client APIs into the existing module, ensuring alignment with the server and maintaining backward compatibility ( #511 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
Signed-off-by: Sai Medhini Reddy Maryada <117196660+saimedhi@users.noreply.github.com >
2023-10-03 10:40:51 -04:00
Sai Medhini Reddy Maryada
7d3c528dff
Integrated generated ingest client APIs into the existing module, ensuring alignment with the server and maintaining backward compatibility ( #513 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-09-28 20:18:53 -07:00
Sai Medhini Reddy Maryada
2feccc22bb
Integrated generated APIs into the existing module, ensuring alignment with the server and maintaining backward compatibility ( #508 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-09-26 12:49:25 -04:00
Sai Medhini Reddy Maryada
c6c7df5461
Updated APIs to match other clients and opensearch openapi spec ( #502 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-09-26 12:46:18 -04:00
Daniel (dB.) Doubrovkine
69750e82d8
Fix: typo. ( #497 )
...
Signed-off-by: dblock <dblock@amazon.com >
2023-09-15 11:51:55 -07:00
Raman Saparkhan
29c6445dcc
[CCI][GUIDE] Minor fixes to poetry docs ( #494 )
...
* minor fixes to poetry docs
Signed-off-by: Raman Saparkhan <romasaparhan19@gmail.com >
* updated CHANGELOG.md
Signed-off-by: Raman Saparkhan <romasaparhan19@gmail.com >
* updated CHANGELOG.md
Signed-off-by: Raman Saparkhan <romasaparhan19@gmail.com >
* fixed CHANGELOG.md
Signed-off-by: Raman Saparkhan <romasaparhan19@gmail.com >
---------
Signed-off-by: Raman Saparkhan <romasaparhan19@gmail.com >
2023-09-15 03:07:52 -04:00
Sai Medhini Reddy Maryada
c8b04a5246
Adding @florianvazelle as maintainer and codeowner ( #478 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-08-22 11:05:35 -07:00
Sai Medhini Reddy Maryada
14602d61cf
Bump version to 2.3.1 ( #481 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
Signed-off-by: Sai Medhini Reddy Maryada <117196660+saimedhi@users.noreply.github.com >
2023-08-21 12:06:19 -07:00
dependabot[bot]
c355911e86
Update sphinx requirement from <7.2 to <7.3 ( #480 )
...
* Update sphinx requirement from <7.2 to <7.3
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 )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v7.2.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>
2023-08-21 11:46:51 -07:00
Logan Attwood
fca8bd3d0e
Fix race condition in AWS request signers ( #470 )
...
* Fix race condition in AWS request signers
Signed-off-by: Logan Attwood <logan.attwood@gmail.com >
* Conditionally expose get_frozen_credentials on mock_session
Signed-off-by: Logan Attwood <logan.attwood@gmail.com >
* Use inheritance to make tests cleaner
Signed-off-by: Logan Attwood <logan.attwood@gmail.com >
---------
Signed-off-by: Logan Attwood <logan.attwood@gmail.com >
2023-08-10 13:32:53 -04:00
Sai Medhini Reddy Maryada
8485606913
Added generating imports and headers to API generator ( #467 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-08-02 15:00:20 -07:00
Sai Medhini Reddy Maryada
c104ae52b3
Bumps urllib3 ( #466 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-08-02 17:46:49 -04:00
dependabot[bot]
1532b06ec2
Update sphinx requirement from <7.1 to <7.2 ( #463 )
...
* Update sphinx requirement from <7.1 to <7.2
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 )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v7.1.1 )
---
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>
2023-07-31 10:15:36 -07:00
Vacha Shah
26458fa6cd
Adding missing comma to jenkins workflow ( #458 )
...
Signed-off-by: Vacha Shah <vachshah@amazon.com >
2023-07-26 19:39:52 -07:00
Sai Medhini Reddy Maryada
b1c82a265d
Bump version to 2.3.0 ( #456 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-07-26 17:19:22 -07:00
Sai Medhini Reddy Maryada
caeaa13250
Updated Security Client APIs ( #450 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-07-26 18:38:49 -04:00
Daniel (dB.) Doubrovkine
87b402c16e
Finish up #305 , tests for AsyncTransport ( #452 )
...
* fix multihost connection of AsyncTransport for AIOHttpConnection as connection_class & ConnectionPool as connection_pool_class parameters with compatability legacy test cases
Signed-off-by: ARashitov <adil.rashitov.98@gmail.com >
* adding test cases for checking multihost connection pool init with specified connection_class object
Signed-off-by: ARashitov <adil.rashitov.98@gmail.com >
* remove introduced updates
Signed-off-by: ARashitov <adil.rashitov.98@gmail.com >
* fix test cases by adding _async_init() call to init the actual hosts
Signed-off-by: ARashitov <adil.rashitov.98@gmail.com >
* remove unneeded imports
Signed-off-by: ARashitov <adil.rashitov.98@gmail.com >
* fix test cases of multi hosts connection pool init & adding documentation
Signed-off-by: ARashitov <adil.rashitov.98@gmail.com >
* Addressed comments in #305 .
Signed-off-by: dblock <dblock@amazon.com >
* Renamed file for consistency.
Signed-off-by: dblock <dblock@amazon.com >
---------
Signed-off-by: ARashitov <adil.rashitov.98@gmail.com >
Signed-off-by: dblock <dblock@amazon.com >
Co-authored-by: ARashitov <adil.rashitov.98@gmail.com >
2023-07-26 10:45:52 -07:00
Daniel (dB.) Doubrovkine
e022932ed1
Add the ability to run test patterns. ( #454 )
...
Signed-off-by: dblock <dblock@amazon.com >
2023-07-26 10:18:45 -07:00
Daniel (dB.) Doubrovkine
42852d0d53
Added Python 3.10 and 3.11 to nox. ( #455 )
...
Signed-off-by: dblock <dblock@amazon.com >
2023-07-26 10:03:42 -07:00
Vacha Shah
f235013f1d
Adding @saimedhi as maintainer and codeowner ( #451 )
...
Signed-off-by: Vacha Shah <vachshah@amazon.com >
2023-07-26 10:05:58 -04:00
Daniel (dB.) Doubrovkine
54a517ada9
Added bulk samples and explained error handling. ( #448 )
...
* Added bulk samples and explained error handling.
Signed-off-by: dblock <dblock@amazon.com >
* The client can serialize an array for you.
Signed-off-by: dblock <dblock@amazon.com >
---------
Signed-off-by: dblock <dblock@amazon.com >
2023-07-25 19:17:28 -07:00
Daniel (dB.) Doubrovkine
f54973e583
Added k-nn user guide and samples. ( #449 )
...
* Added k-nn user guide and samples.
Signed-off-by: dblock <dblock@amazon.com >
* Added async samples.
Signed-off-by: dblock <dblock@amazon.com >
* Renamed Lucene Filters with Efficient Filters.
Signed-off-by: dblock <dblock@amazon.com >
* Fixing TOC from Lucene filters to Efficient filters
Signed-off-by: Vacha Shah <vachshah@amazon.com >
---------
Signed-off-by: dblock <dblock@amazon.com >
Signed-off-by: Vacha Shah <vachshah@amazon.com >
Co-authored-by: Vacha Shah <vachshah@amazon.com >
2023-07-25 19:04:13 -07:00
Daniel (dB.) Doubrovkine
58217d98ff
Reorganize documentation and add samples. ( #447 )
...
Signed-off-by: dblock <dblock@amazon.com >
2023-07-24 10:23:51 -07:00
florianvazelle
5866880c81
Add async tests for plugins ( #425 )
...
* test(plugins): add async tests for plugins
Signed-off-by: florian <florian@harfanglab.fr >
* chore(USER_GUIDE): remove **
Signed-off-by: florian <florian@harfanglab.fr >
* test(async): remove the event loop session scoped fixture
Signed-off-by: florian <florian@harfanglab.fr >
---------
Signed-off-by: florian <florian@harfanglab.fr >
2023-07-24 09:56:32 -04:00
Sai Medhini Reddy Maryada
5fa6d994bd
Added support for latest OpenSearch versions 2.7.0, 2.8.0 ( #445 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-07-21 13:08:09 -04:00
florianvazelle
5dc51d4b7f
Move security api from plugins to clients ( #442 )
...
* fix(security): move security api from plugins to clients
Signed-off-by: florian <florian@harfanglab.fr >
* chore(CHANGELOG): update CHANGELOG for the PR#442
Signed-off-by: florian <florian@harfanglab.fr >
---------
Signed-off-by: florian <florian@harfanglab.fr >
2023-07-21 13:07:20 -04:00
Michael Oliver
4dba35deea
Allow passing trust_env to aiohttp.ClientSession ( #438 )
...
Fixes #368
Signed-off-by: Michael Oliver <michael@michaeloliver.dev >
2023-07-19 09:02:04 -04:00
dependabot[bot]
49d75c2e7d
Update pytest-asyncio requirement from <=0.21.0 to <=0.21.1 ( #437 )
...
* Update pytest-asyncio requirement from <=0.21.0 to <=0.21.1
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.21.1 )
---
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>
2023-07-17 13:25:27 -04:00
Naveen Mathew
faa298a3c4
fix : remove AttrJSONSerializer from autodoc classes to document ( #433 )
...
* fix : remove AttrJSONSerializer from autodoc classes to document
Signed-off-by: naveen <naveenmathew0508@gmail.com >
* Update CHANGELOG.md
Signed-off-by: naveen <naveenmathew0508@gmail.com >
* ci: check if docs are built successfully
Signed-off-by: naveen <naveenmathew0508@gmail.com >
---------
Signed-off-by: naveen <naveenmathew0508@gmail.com >
2023-07-13 13:22:30 -04:00
Sayali Gaikawad
2003156d9e
Update jenkins file to use new docker image ( #431 )
...
Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com >
2023-07-07 14:01:25 -07:00
Dan Jones
12ebe82cba
Fix string/tuple/no auth on AsyncHttpConnection class ( #424 )
...
* Fix string/tuple/no auth on AsyncHttpConnection class. Fixes #283
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Update for PR comments. Add tests.
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Moving tests to its own file.
Also had to install asynctest into the dev-requirements to get access to the context managers necessary to mock out aiohttp.
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Update CHANGELOG
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Linter fixes. Add license text to new file.
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Move AsyncContextManagerMock to utils package for future re-use
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Lint
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Refactor async tests - remove asynctest package
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Switch out to using aiounittest for async testing prior to py3.8
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Use RequestContextManager from opensearchpy._asycn._extra_imports
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Simplify test somewhat, move to `test_async` since all other async tests are ignored on runners <3.6
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
* Lint
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
---------
Signed-off-by: dannosaur <461956+dannosaur@users.noreply.github.com >
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com >
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com >
2023-07-06 18:01:52 -04:00
Raman Saparkhan
a4b41fbbbc
Added Docker Installation Details into DEVELOPER_GUIDE.md ( #427 )
...
Signed-off-by: Raman Saparkhan <romasaparhan19@gmail.com >
2023-07-05 12:49:31 -04:00
florianvazelle
2e8d5ce1a5
Index State Management support ( #398 )
...
* feat(plugins): add index management client plugin
Signed-off-by: florian <florian@harfanglab.fr >
* chore(CHANGELOG): added entry for ISM api support in changelog
Signed-off-by: florian <florian@harfanglab.fr >
* test(plugins): use assertEqual to compare call parameters
Signed-off-by: florian <florian@harfanglab.fr >
* test(plugins): edit policy to support older versions of opensearch
Signed-off-by: florian <florian@harfanglab.fr >
* test(plugins): ignore plugin tests when opensearch is unreleased
Signed-off-by: florian <florian@harfanglab.fr >
* test(plugins): move plugin tests into separate files
Signed-off-by: florian <florian@harfanglab.fr >
* test(plugins): fix import of OpenSearchTestCase
Signed-off-by: florian <florian@harfanglab.fr >
* chore(USER_GUIDE): add a index management plugin part
Signed-off-by: florian <florian@harfanglab.fr >
---------
Signed-off-by: florian <florian@harfanglab.fr >
2023-06-28 16:56:00 -04:00
Sai Medhini Reddy Maryada
bc6a50b0b9
Enhanced existing API generator to use OpenSearch OpenAPI spec ( #412 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-06-27 11:56:55 -07:00
florianvazelle
c60c259d96
Security plugin support ( #399 )
...
* feat(plugins): add security client plugin
Signed-off-by: florian <florian@harfanglab.fr >
* test(plugins): skip security plugin tests when disabled
Signed-off-by: florian <florian@harfanglab.fr >
* fix(security): remove non-ASCII character
Signed-off-by: florian <florian@harfanglab.fr >
* chore(CHANGELOG): added entry for security api support in changelog
Signed-off-by: florian <florian@harfanglab.fr >
* test(plugins): add asynchronous tests version
Signed-off-by: florian <florian@harfanglab.fr >
* test: remove some warnings
Signed-off-by: florian <florian@harfanglab.fr >
* chore(USER_GUIDE): add a security plugin part
Signed-off-by: florian <florian@harfanglab.fr >
* test(security): Split out security plugin tests in its own file
Signed-off-by: florian <florian@harfanglab.fr >
* chore: apply reviews
Signed-off-by: florian <florian@harfanglab.fr >
---------
Signed-off-by: florian <florian@harfanglab.fr >
2023-06-27 11:01:40 -04:00
C. Quentin
db972e615b
feat: Add a collapse method to opensearchpy.helpers.search.Search ( #409 )
...
Signed-off-by: Quentin Coumes <coumes.quentin@gmail.com >
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com >
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com >
2023-06-26 19:19:15 -04:00
Sai Medhini Reddy Maryada
e5789c7b52
Enhanced the Yaml test runner to utilize the rest-api-spec YAML tests from OpenSearch repo as the input source ( #414 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-06-26 19:07:06 -04:00
Sai Medhini Reddy Maryada
be57a4d604
Removed tests against Python 2.7 in github workflows ( #421 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-06-21 10:42:12 -07:00
Sai Medhini Reddy Maryada
f1b5706ebd
Added 'allow_redirects' parameter in perform_request function for RequestsHttpConnection ( #401 )
...
Signed-off-by: saimedhi <saimedhi@amazon.com >
2023-06-13 15:15:00 -04:00
dependabot[bot]
237ce9daf6
Update sphinx requirement from <6.3 to <7.1 ( #379 )
...
* Update sphinx requirement from <6.3 to <7.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/master/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v7.0.0 )
---
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>
2023-06-06 13:18:00 -04:00
florianvazelle
dafc966e4e
ci(integration): use matrix value for opensearch version ( #400 )
...
Signed-off-by: florian <florian@harfanglab.fr >
2023-05-31 10:06:03 -04:00
Daniel (dB.) Doubrovkine
b4c000a7ab
Cleaned up the developer guide. ( #388 )
...
Signed-off-by: dblock <dblock@amazon.com >
2023-05-30 13:40:05 -04:00
Charles Greer
fe3b5a8922
[ #387 ] Do not escape the "timeout" parameter. ( #394 )
...
* [#387 ] Do not escape the "timeout" parameter.
When the "timeout" parameter is escaped and turned into
a string, it does not pass validation checks.
This PR ensures that timeout is passed through as-is,
just like "request_timeout".
There's no explicit test for this parameter, but I included
it on some existing tests just to ensure that the code
is exercised. Without the fix in place, one of the tests as modified will not pass.
Signed-off-by: Charles Greer <cgreer@lexmachina.com >
* Unit test for timeout parameter
Revert original test modifications.
Signed-off-by: Charles Greer <cgreer@lexmachina.com >
* Extend test and linter
Signed-off-by: Charles Greer <cgreer@lexmachina.com >
---------
Signed-off-by: Charles Greer <cgreer@lexmachina.com >
2023-05-23 18:12:29 -04:00