florianvazelle and GitHub
2e8d5ce1a5
Index State Management support ( #398 )
...
* feat(plugins): add index management client plugin
Signed-off-by: florian <[email protected] >
* chore(CHANGELOG): added entry for ISM api support in changelog
Signed-off-by: florian <[email protected] >
* test(plugins): use assertEqual to compare call parameters
Signed-off-by: florian <[email protected] >
* test(plugins): edit policy to support older versions of opensearch
Signed-off-by: florian <[email protected] >
* test(plugins): ignore plugin tests when opensearch is unreleased
Signed-off-by: florian <[email protected] >
* test(plugins): move plugin tests into separate files
Signed-off-by: florian <[email protected] >
* test(plugins): fix import of OpenSearchTestCase
Signed-off-by: florian <[email protected] >
* chore(USER_GUIDE): add a index management plugin part
Signed-off-by: florian <[email protected] >
---------
Signed-off-by: florian <[email protected] >
2023-06-28 16:56:00 -04:00
Sai Medhini Reddy Maryada and GitHub
bc6a50b0b9
Enhanced existing API generator to use OpenSearch OpenAPI spec ( #412 )
...
Signed-off-by: saimedhi <[email protected] >
2023-06-27 11:56:55 -07:00
florianvazelle and GitHub
c60c259d96
Security plugin support ( #399 )
...
* feat(plugins): add security client plugin
Signed-off-by: florian <[email protected] >
* test(plugins): skip security plugin tests when disabled
Signed-off-by: florian <[email protected] >
* fix(security): remove non-ASCII character
Signed-off-by: florian <[email protected] >
* chore(CHANGELOG): added entry for security api support in changelog
Signed-off-by: florian <[email protected] >
* test(plugins): add asynchronous tests version
Signed-off-by: florian <[email protected] >
* test: remove some warnings
Signed-off-by: florian <[email protected] >
* chore(USER_GUIDE): add a security plugin part
Signed-off-by: florian <[email protected] >
* test(security): Split out security plugin tests in its own file
Signed-off-by: florian <[email protected] >
* chore: apply reviews
Signed-off-by: florian <[email protected] >
---------
Signed-off-by: florian <[email protected] >
2023-06-27 11:01:40 -04:00
db972e615b
feat: Add a collapse method to opensearchpy.helpers.search.Search ( #409 )
...
Signed-off-by: Quentin Coumes <[email protected] >
Signed-off-by: Daniel (dB.) Doubrovkine <[email protected] >
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected] >
2023-06-26 19:19:15 -04:00
Sai Medhini Reddy Maryada and GitHub
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 <[email protected] >
2023-06-26 19:07:06 -04:00
Sai Medhini Reddy Maryada and GitHub
be57a4d604
Removed tests against Python 2.7 in github workflows ( #421 )
...
Signed-off-by: saimedhi <[email protected] >
2023-06-21 10:42:12 -07:00
Sai Medhini Reddy Maryada and GitHub
f1b5706ebd
Added 'allow_redirects' parameter in perform_request function for RequestsHttpConnection ( #401 )
...
Signed-off-by: saimedhi <[email protected] >
2023-06-13 15:15:00 -04:00
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] <[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>
2023-06-06 13:18:00 -04:00
Charles Greer and GitHub
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 <[email protected] >
* Unit test for timeout parameter
Revert original test modifications.
Signed-off-by: Charles Greer <[email protected] >
* Extend test and linter
Signed-off-by: Charles Greer <[email protected] >
---------
Signed-off-by: Charles Greer <[email protected] >
2023-05-23 18:12:29 -04:00
Sai Medhini Reddy Maryada and GitHub
0395798d2b
Fixed flaky CI tests by replacing httpbin with a simple http_server ( #395 )
...
Signed-off-by: saimedhi <[email protected] >
2023-05-23 18:07:47 -04:00
Sai Medhini Reddy Maryada and GitHub
3fcddc98c7
Updated Compatibility Matrix with the latest Client and OpenSearch Versions ( #381 )
...
Signed-off-by: saimedhi <[email protected] >
Signed-off-by: Sai Medhini Reddy Maryada <[email protected] >
2023-05-17 15:05:43 -07:00
Daniel (dB.) Doubrovkine and GitHub
cef6e1b911
Added MacOS to GitHub CI. ( #390 )
...
Signed-off-by: dblock <[email protected] >
2023-05-15 14:48:05 -07:00
gg-kialo and GitHub
707373e369
Include parsed error info in TransportError in async connections ( #226 )
...
Passing the Content-Type to `_raise_errors` will cause the json body to
be parsed and included in the `TransportError`.
This matches the behaviour of the sync client.
Fixes #225
Signed-off-by: Gordon Govan <[email protected] >
2023-05-09 15:16:03 -04:00
Sai Medhini Reddy Maryada and GitHub
2abb8c4317
Updated pyi file for point in time API ( #378 )
...
Signed-off-by: saimedhi <[email protected] >
2023-04-28 13:11:37 -04:00
83be2cd0e7
Update sphinx requirement from <1.7 to <6.3 ( #374 )
...
* Update sphinx requirement from <1.7 to <6.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/0.1.61611...v6.2.0 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:development
...
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>
2023-04-24 10:34:10 -07:00
Alexei Karikov and GitHub
12b274884c
[CCI] Create index lifecycle guide ( #362 )
...
* Create index lifecycle guide
Signed-off-by: Alexei Karikov <[email protected] >
* Add changelog entry
Signed-off-by: Alexei Karikov <[email protected] >
* Replace ignore param and add short corrections
Signed-off-by: Alexei Karikov <[email protected] >
* reset spaces
Signed-off-by: Alexei Karikov <[email protected] >
* Correct indents
Signed-off-by: Alexei Karikov <[email protected] >
---------
Signed-off-by: Alexei Karikov <[email protected] >
2023-04-24 10:33:51 -07:00
jonathan drysdale-anderson and GitHub
5fa4e8c9a6
[Guide] Search Added ( #356 )
...
* Create search.md
Signed-off-by: jonathan <[email protected] >
* Update search.md
Signed-off-by: jonathan <[email protected] >
* Update search.md
Signed-off-by: jonathan <[email protected] >
* Update search.md
Signed-off-by: jonathan <[email protected] >
* Update search.md
Signed-off-by: jonathan <[email protected] >
* Update search.md
Signed-off-by: jonathan <[email protected] >
* Update search.md
Signed-off-by: jonathan <[email protected] >
* Update search.md
Signed-off-by: jonathan <[email protected] >
* Updated ChangeLog
Signed-off-by: jonathan <[email protected] >
---------
Signed-off-by: jonathan <[email protected] >
2023-04-20 19:57:00 -07:00
Sai Medhini Reddy Maryada and GitHub
23611ebda4
Upgrading pytest-asyncio to latest version - 0.21.0 ( #339 )
...
Signed-off-by: saimedhi <[email protected] >
2023-03-28 11:14:33 -07:00
Sai Medhini Reddy Maryada and GitHub
df3a39f1a0
Updated user_guide for async client ( #340 )
...
Signed-off-by: saimedhi <[email protected] >
2023-03-28 13:21:07 -04:00
Sai Medhini Reddy Maryada and GitHub
51eb6e5cca
Updated user_guide for async client ( #338 )
...
Signed-off-by: saimedhi <[email protected] >
2023-03-24 07:55:31 -04:00
Sai Medhini Reddy Maryada and GitHub
2b9aee73a5
Added async support for helpers that are merged from opensearch-dsl-py ( #329 )
...
Signed-off-by: saimedhi <[email protected] >
2023-03-17 12:03:46 -07:00
409c883013
Update ci workflows ( #318 )
...
* Update CI workflows to include more Python and OpenSearch versions and run faster.
Signed-off-by: Yury-Fridlyand <[email protected] >
* Fix CI workflows.
Signed-off-by: Yury-Fridlyand <[email protected] >
* Add `OPENSEARCH_VERSION` variable.
Signed-off-by: Yury-Fridlyand <[email protected] >
* Set `OPENSEARCH_VERSION` to constant.
Signed-off-by: Yury-Fridlyand <[email protected] >
* CHANGELOG.md
Signed-off-by: Yury-Fridlyand <[email protected] >
* Add 2.6.0 version to test matrix.
Signed-off-by: Yury-Fridlyand <[email protected] >
---------
Signed-off-by: Yury-Fridlyand <[email protected] >
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected] >
2023-03-13 13:27:56 -07:00
Harsha Vamsi Kalluri and GitHub
06f7dd44f8
Fixes changelog links ( #319 )
...
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
2023-03-11 11:51:20 -05:00
aiudirog and GitHub
49ae7c76e0
Fix async helpers import cycle ( #311 )
...
* Import async helpers through public interface in tests
Signed-off-by: Roger Aiudi <[email protected] >
* Removed unused import of AsyncOpenSearch in async helpers that was causing an import cycle (fixes #310 )
Signed-off-by: Roger Aiudi <[email protected] >
* Update CHANGELOG.md
Signed-off-by: Roger Aiudi <[email protected] >
* Change 2.2.1 in the changelog to Unreleased
Signed-off-by: Roger Aiudi <[email protected] >
* Separated changelog entries for 2.2.0 from 2.1.1
Signed-off-by: Roger Aiudi <[email protected] >
---------
Signed-off-by: Roger Aiudi <[email protected] >
2023-03-08 15:05:06 -05:00
Sai Medhini Reddy Maryada and GitHub
05326ba547
Added upgrading.md file and updated it for opensearch-py 2.2.0 release ( #293 )
...
Signed-off-by: saimedhi <[email protected] >
2023-02-21 15:34:47 -08:00
Sai Medhini Reddy Maryada and GitHub
b26e2f37c1
Fixed CVE - issue 86 mentioned in opensearch-dsl-py repo ( #295 )
...
Signed-off-by: saimedhi <[email protected] >
2023-02-16 15:10:03 -08:00
Sai Medhini Reddy Maryada and GitHub
c58375aa7b
Merging opensearch-dsl-py to opensearch-py ( #287 )
...
Signed-off-by: saimedhi <[email protected] >
2023-02-14 15:03:56 -08:00
Sai Medhini Reddy Maryada and GitHub
93636399ec
Removed 'out/opensearchpy' folder which was produced while generating pyi files for plugins ( #288 )
...
Signed-off-by: saimedhi <[email protected] >
2023-02-14 11:09:14 -08:00
Theo Nam Truong and GitHub
58aa041db3
Fixed Sigv4 Signing for Managed Service ( #279 )
...
Fixed SigV4 Signing for Async Requests with QueryStrings
Signed-off-by: Theo Truong <[email protected] >
Signed-off-by: Theo Truong <[email protected] >
2023-01-23 18:38:31 -08:00
Sai Medhini Reddy Maryada and GitHub
176c78c58e
Updated CI tests to make them work locally ( #275 )
...
Signed-off-by: saimedhi <[email protected] >
Signed-off-by: saimedhi <[email protected] >
2023-01-19 15:20:19 -08:00
Sai Medhini Reddy Maryada and GitHub
7d83a69494
Adding explicit parameters for AIOHttpConnection and AsyncTransport ( #276 )
...
Signed-off-by: saimedhi <[email protected] >
Signed-off-by: saimedhi <[email protected] >
2023-01-19 15:15:35 -08:00
Harsha Vamsi Kalluri and GitHub
5c1c890f69
Abstract away service name ( #268 )
...
* Abstract away service name
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Compuute x-amz-content-256 header
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Fix async signing
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Adds types-six to dependencies
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Optionally remove Content-Length
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Fix dict typo
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Remove requirement for x-amz-content-sha256 header
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Remove deletion of content-length
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Fix capitalization
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Adding unit tests
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
2023-01-18 18:06:59 -05:00
Sai Medhini Reddy Maryada and GitHub
054d669139
Removed patch versions in integration tests for OpenSearch 1.0.0 - 2.3.0 to reduce Github Action jobs ( #262 )
...
Signed-off-by: saimedhi <[email protected] >
Signed-off-by: saimedhi <[email protected] >
2023-01-08 12:10:37 -05:00
b4bfde0e0b
Added new OpenSearch versions and updated compatibility matrix ( #257 )
...
* Added new OpenSearch versions and updated compatibility matrix
Signed-off-by: saimedhi <[email protected] >
* Compatibility with OpenSearch 2.1.0 - 2.4.1
Signed-off-by: saimedhi <[email protected] >
Signed-off-by: saimedhi <[email protected] >
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected] >
2023-01-05 15:46:52 -08:00
Harsha Vamsi Kalluri and GitHub
e6951d9824
Updating changelog to include released changes. Adding skip-changelog tag ( #249 )
...
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
2023-01-03 12:24:25 -08:00
Harsha Vamsi Kalluri and GitHub
cfb2cf7b60
Adding async support for AWSSigV4 ( #254 )
...
* Adding async support for AWSSigV4
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Fix names for connection classes
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Update tests to async name space
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Add import exceptions to python < 3.6
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
2023-01-02 17:25:48 -05:00
Jeppe Fihl-Pearson and GitHub
4c4091b12c
Fix DeprecationWarning raised by urllib3 1.26.13 ( #246 )
...
* Fix DeprecationWarning raised by urllib3 1.26.13
urllib3 has started to emit a DeprecationWarning whenever
HTTPResponse.getheaders() is called since version 1.26.13.
This changes the one place where this is done to instead use
HTTPResponse.headers instead, which is the recommend way of retrieving
the headers going forwards.
Signed-off-by: Jeppe Fihl-Pearson <[email protected] >
* Add CHANGELOG entry
Signed-off-by: Jeppe Fihl-Pearson <[email protected] >
Signed-off-by: Jeppe Fihl-Pearson <[email protected] >
2022-12-01 11:26:24 -08:00
b6b35f4666
feat: Added pool_maxsize for RequestsHttpConnection ( #216 )
...
Signed-off-by: Niket Singh <[email protected] >
Signed-off-by: Niket Singh <[email protected] >
Co-authored-by: Niket Singh <[email protected] >
Co-authored-by: Harsha Vamsi Kalluri <[email protected] >
2022-12-01 11:24:59 -08:00
d6e994a411
Example of authenticating with kerberos ( #214 )
...
Signed-off-by: Pablo Saiz <[email protected] >
Signed-off-by: Pablo Saiz <[email protected] >
Co-authored-by: Pablo Saiz <[email protected] >
Co-authored-by: Harsha Vamsi Kalluri <[email protected] >
2022-12-01 11:22:49 -08:00
Harsha Vamsi Kalluri and GitHub
7874ed0e32
fix tests for master ( #243 )
...
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
2022-11-28 14:29:37 -08:00
Sayali Gaikawad and GitHub
e44c5f1a07
Add release workflows ( #240 )
...
* Add release workflows
Signed-off-by: Sayali Gaikawad <[email protected] >
* Fix drafter
Signed-off-by: Sayali Gaikawad <[email protected] >
* Fix jenkins workflow
Signed-off-by: Sayali Gaikawad <[email protected] >
* Add credentials
Signed-off-by: Sayali Gaikawad <[email protected] >
* Fix jenkins lib version
Signed-off-by: Sayali Gaikawad <[email protected] >
Signed-off-by: Sayali Gaikawad <[email protected] >
2022-11-28 14:29:22 -08:00
Sai Medhini Reddy Maryada and GitHub
dea10c80e5
Updated bulk action in helpers ( #239 )
...
Signed-off-by: saimedhi <[email protected] >
Signed-off-by: saimedhi <[email protected] >
2022-11-23 14:04:05 -05:00
2672f3f572
Check OpenSSL environment variables before defaulting to certifi ( #196 )
...
* Check OpenSSL environment variables before defaulting to certifi
Signed-off-by: Roger Aiudi <[email protected] >
* Fix formatting
Signed-off-by: Roger Aiudi <[email protected] >
* Moved CA_CERTS to the base Connection module
Signed-off-by: Roger Aiudi <[email protected] >
* Updated requests Connection to use common CA_CERTS by default
Signed-off-by: Roger Aiudi <[email protected] >
* Pass nox linting
Signed-off-by: Roger Aiudi <[email protected] >
* Update CHANGELOG.md and USER_GUIDE.md
Signed-off-by: Roger Aiudi <[email protected] >
* Updated AIOHttpConnection to only load CA_CERTS if verify_certs is True
Signed-off-by: Roger Aiudi <[email protected] >
* Added test cases for CA_CERTS handling in each Connection implementation
Signed-off-by: Roger Aiudi <[email protected] >
* Move CA cert handling to Connection.default_ca_certs()
Add test cases for the different CA cert configurations
Signed-off-by: Roger Aiudi <[email protected] >
* Update actions to test unsupported Python versions on ubuntu-20.04
Signed-off-by: Roger Aiudi <[email protected] >
* Fix Python versions being interpreted as floats
Signed-off-by: Roger Aiudi <[email protected] >
* Workaround Monkeypatch not available on old pytest versions
Signed-off-by: Roger Aiudi <[email protected] >
Signed-off-by: Roger Aiudi <[email protected] >
Co-authored-by: Harsha Vamsi Kalluri <[email protected] >
2022-11-22 11:33:45 -05:00
Sai Medhini Reddy Maryada and GitHub
fc5ff84267
Updated getting started to user guide ( #233 )
...
Signed-off-by: saimedhi <[email protected] >
Signed-off-by: saimedhi <[email protected] >
2022-11-04 15:06:07 -07:00
Arpit-Bandejiya and GitHub
8ece008605
Fix point in time rest api ( #191 )
...
* Add change for point in time
Signed-off-by: Arpit Bandejiya <[email protected] >
* resolve minor comments
Signed-off-by: Arpit Bandejiya <[email protected] >
* Add Unit tests
Signed-off-by: Arpit Bandejiya <[email protected] >
* minor changes
Signed-off-by: Arpit Bandejiya <[email protected] >
* minor edits in API calls
Signed-off-by: Arpit Bandejiya <[email protected] >
* Fixing lint errors
Signed-off-by: Arpit Bandejiya <[email protected] >
* Add documentation for the new API
Signed-off-by: Arpit Bandejiya <[email protected] >
* minor nit fix
Signed-off-by: Arpit Bandejiya <[email protected] >
* minor nit fix
Signed-off-by: Arpit Bandejiya <[email protected] >
* Added license in test file
Signed-off-by: Arpit Bandejiya <[email protected] >
* Add ChangeLog
Signed-off-by: Arpit Bandejiya <[email protected] >
Signed-off-by: Arpit Bandejiya <[email protected] >
2022-11-01 23:19:31 -07:00
Harsha Vamsi Kalluri and GitHub
ecd15d44c7
Added CHANGELOG and verifier workflow ( #218 )
...
* Added CHANGELOG and verifier workflow
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Update contributing to include changelog
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Fix links
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Add changelog and changelog verifier
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Adding dependabot actions for changelog PR
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
2022-10-20 11:48:53 -07:00