* made custom headers be available to async aws signer
Signed-off-by: Bruno Murino <[email protected]>
* updated changelog
Signed-off-by: Bruno Murino <[email protected]>
* added tests for using host header for AWS request signature on both sync and async clients
Signed-off-by: Bruno Murino <[email protected]>
* added documentation guide about aws auth when accessing via tunnel
Signed-off-by: Bruno Murino <[email protected]>
* small refactor of AWS Signer classes on sync and async clients; improved testing on them as well
Signed-off-by: Bruno Murino <[email protected]>
* changelog
Signed-off-by: Bruno Murino <[email protected]>
* fixed test
Signed-off-by: Bruno Murino <[email protected]>
* lint fix
Signed-off-by: Bruno Murino <[email protected]>
---------
Signed-off-by: Bruno Murino <[email protected]>
* made custom headers be available to async aws signer
Signed-off-by: Bruno Murino <[email protected]>
* updated changelog
Signed-off-by: Bruno Murino <[email protected]>
* added tests for using host header for AWS request signature on both sync and async clients
Signed-off-by: Bruno Murino <[email protected]>
* added documentation guide about aws auth when accessing via tunnel
Signed-off-by: Bruno Murino <[email protected]>
---------
Signed-off-by: Bruno Murino <[email protected]>
This commit fixes a situation where an index cannot be updated through this client as the index is aliased, with the client pointing to the alias.
As the `GET /<index>/_settings` request will only ever return the settings for the specified index (through the alias), it would only have one key, so the name of the key would not matter. We can pop the key to get the settings object for the index through the alias.
Signed-off-by: Étienne Beaulé <[email protected]>
* Upgrade syntax with pyupgrade --py38-plus
Signed-off-by: Hugo van Kemenade <[email protected]>
* Convert to f-strings with flynt
Signed-off-by: Hugo van Kemenade <[email protected]>
* Format with Black
Signed-off-by: Hugo van Kemenade <[email protected]>
* Remove redundant mock backport dependency
Signed-off-by: Hugo van Kemenade <[email protected]>
* isort imports
Signed-off-by: Hugo van Kemenade <[email protected]>
* Add changelog entry
Signed-off-by: Hugo van Kemenade <[email protected]>
---------
Signed-off-by: Hugo van Kemenade <[email protected]>
* Don't create universal wheel for Python 3 only
Signed-off-by: Hugo van Kemenade <[email protected]>
* Update Black target version to match min Python supported
Signed-off-by: Hugo van Kemenade <[email protected]>
* Upgrade files using six to Python 3 syntax
Signed-off-by: Hugo van Kemenade <[email protected]>
* Remove redundant six dependency
Signed-off-by: Hugo van Kemenade <[email protected]>
* Format with Black
Signed-off-by: Hugo van Kemenade <[email protected]>
* Add changelog entry
Signed-off-by: Hugo van Kemenade <[email protected]>
---------
Signed-off-by: Hugo van Kemenade <[email protected]>
* added unnecessary-dunder-call to pylintrc files; disabled for certain lines
in run_tests.py, exception thrown by 'git remote add origin' when the remote already exists will not exit
Signed-off-by: Mark Cohen <[email protected]>
* updates to adhere to assignment-from-no-return lint
Signed-off-by: Mark Cohen <[email protected]>
* simplified get_value_filter in Facet to return None
added assert to test get_value_filter returning None
Signed-off-by: Mark Cohen <[email protected]>
* added option to output HTML test coverage locally from run_tests.py
returning None from test_faceted_search.Facet.get_value_filter
Signed-off-by: Mark Cohen <[email protected]>
* added unused-variable lints; replaced unused variables with _ or referenced them
Signed-off-by: Mark Cohen <[email protected]>
* updated CHANGELOG to point to the right PR
Signed-off-by: Mark Cohen <[email protected]>
---------
Signed-off-by: Mark Cohen <[email protected]>
in run_tests.py, exception thrown by 'git remote add origin' when the remote already exists will not exit
Signed-off-by: Mark Cohen <[email protected]>
Updated CHANGELOG.md.
nox formatting applied.
Added new unit test for actions scan function.
Added type hints & nox formatting.
Added fix to async scan function & added matching unit tests for async.
Signed-off-by: Djcarrillo6 <[email protected]>
* Fixed utils/build-dists.py which was broken by 49ae7c7
Previously the async helpers imported AsyncOpenSearch and therefore failed to import anytime it did
Signed-off-by: Roger Aiudi <[email protected]>
* Refactor async helpers try block to a simple if statement
Signed-off-by: Roger Aiudi <[email protected]>
* Remove newline to pass black
Signed-off-by: Roger Aiudi <[email protected]>
---------
Signed-off-by: Roger Aiudi <[email protected]>
* 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]>
* Breaking changes for type removal
Signed-off-by: Vacha Shah <[email protected]>
* Adding support to test against unreleased OpenSearch
Signed-off-by: Vacha Shah <[email protected]>
* Formatting
Signed-off-by: Vacha Shah <[email protected]>
* Addressing comments to refactor run-opensearch.sh
Signed-off-by: Vacha Shah <[email protected]>