Commit Graph
293 Commits
Author SHA1 Message Date
Seth Michael Larson bed5ffc740 [7.x] Update API generator for async 2020-05-21 11:36:21 -05:00
Seth Michael Larson 8ffae94912 [7.x] Add AsyncTransport 2020-05-21 11:36:21 -05:00
Seth Michael Larson 02e3323650 [7.x] Add AIOHttpConnection 2020-05-21 11:36:21 -05:00
Seth Michael Larson 521d4db641 [7.x] Add support for 'allowed_warnings' feature 2020-05-19 14:18:53 -05:00
Seth Michael Larson eaff4af910 [7.x] Switch to Pytest as default runner 2020-05-19 14:18:53 -05:00
Seth Michael Larson 2f8c0843a6 [7.x] Move junit XML out of Docker 2020-05-19 12:53:24 -05:00
Seth Michael Larson 9cc48b3e66 Update new APIs in 7.x 2020-05-08 16:07:52 -05:00
Seth Michael Larson 8e1798cf31 Apply license header changes and API gen 2020-04-23 14:10:49 -05:00
Seth Michael Larson f0280d9302 [7.x] Decode HTTP response body with "surrogatepass" 2020-04-23 09:21:34 -05:00
Seth Michael Larson 06521cf006 [7.x] Allow for passing params=None or headers=None 2020-04-20 12:54:05 -05:00
Seth Michael Larson 1915592363 [7.x] Allow bytestring for bulk body 2020-04-08 10:49:22 -05:00
Seth Michael Larson 44571e0ae9 Release 7.7.0a2 2020-04-03 12:52:11 -05:00
Seth Michael Larson 7f07f1f728 [7.x] Surface deprecation warnings from Elasticsearch 2020-03-31 14:44:20 -05:00
Seth Michael Larson 606287f041 [7.x] Support serializing numpy and pandas types 2020-03-30 13:02:18 -05:00
Seth Michael Larson 7b6a12f2e5 Remove opaque_id from the client constructor 2020-03-19 13:23:52 -05:00
Seth Michael Larson 9b20a30b0f Restore and deprecate client.tasks.get() without task_id 2020-03-13 16:20:54 -05:00
Seth Michael Larson 883287551a Update supported ES API to 7.6 2020-03-13 13:44:46 -05:00
Seth Michael Larson ae74e1d0e6 [7.x] Update Cloud ID default port, parsing of Cloud ID 2020-03-12 07:02:04 -05:00
Seth Michael Larson 9219c92779 [7.x] Add support for X-Opaque-Id 2020-03-11 16:33:15 -05:00
Seth Michael Larson 8074ff294b [7.x] Restore default metric='_all' to cluster.state() 2020-03-10 12:08:03 -05:00
Seth Michael Larson 210fae23d0 Run Black+Flake8 on project 2020-03-09 13:54:47 -05:00
Seth Michael Larson 04403ffb1d [7.x] Refactor cloud_id, api_key, headers, and http_compress 2020-03-04 13:07:07 -06:00
Seth Michael Larson b0bc6418e3 [7.x] Add HTTP compression to RequestsHttpConnection 2020-03-03 10:17:58 -06:00
Seth Michael Larson 024abcfa39 Unskip API tests, add xpack no_xpack default_shards features 2020-02-28 11:36:03 -06:00
Seth Michael Larson 2c7ea70201 Migrate CI to Jenkins on 7.x branch (#1114) 2020-02-27 10:13:49 -06:00
Seth Michael Larson 1bda6aca8a [7.x] Don't issue warning when using 'ssl_context' 2020-02-26 15:57:30 -06:00
Honza Král fba8e60ca8 xpack tests passing 2020-01-19 00:46:24 +00:00
Honza Král 8fdf11cc5c make local.py work in tests 2020-01-19 00:02:02 +00:00
Honza Král c4d61b7bce No more broken upstream tests, yay! 2020-01-18 22:33:57 +00:00
Francesco Vigliaturo 6c5ff986fe adds python client support for 7.5 2020-01-09 16:16:01 +00:00
Marshall Main 466ac7249e use side effect call count instead of mock call count 2020-01-07 18:06:34 +00:00
Marshall Main 74b5f61dbf add single test run instructions to docs 2020-01-06 12:17:25 -05:00
Honza Král 4be0f72bd5 Special cases for doc-based APIs 2019-12-22 16:32:49 +01:00
epiphyte 5c3ff5a718 Add a unit test 2019-10-30 18:40:06 +01:00
Alex Kahan a2e9f0c807 Closes #1044. Fixing bug with mark_dead in connection pool 2019-10-29 17:01:47 +01:00
Honza Král fc78c992ef Take skipped shards as successful in scan helper 2019-10-04 11:46:48 +02:00
Philip Krauss c4bc2e420d API key Authentication (#1010) 2019-09-20 14:01:31 +01:00
Honza Král d936ba3eb4 Do a git fetch instead of pull 2019-08-21 17:39:28 +02:00
Philip Krauss 28920b5d59 Ensure a custom User-Agent header is not overwritten (#992) 2019-08-12 14:20:10 +02:00
Philip Krauss 100a2e623b Send User-Agent header identifying the Client (#991)
* send user agent header identifing the client

* no need to instantiate a new var

* add python version to user-agent
2019-08-08 08:50:11 -06:00
Nick Lang 60d254860b Add support for using cloud_id when instantiating conections (#957)
* add cloud_id

* adding doc strings

* update changelog

* adding some tests to check for cloud_id

* update the read me
2019-05-21 21:21:34 -05:00
Nick Lang 8e92b857bc Update ES client API's for some missing 7 features (#949)
* Update cat.py to have correct query params

* Add missing api remote_info and missing params

* a couple apis have had added query params

* Add Split api and add missing query params

* Adding processor_grok api

* Adding missing apis:
* update by query rethrottle
* scripts painless execute
* scripts painless context
* rank eval

* delete by query rethrottle

* add missing query params

* Add missing xpack apis

* Update helpers to account for 7.x scroll api
2019-05-10 16:41:50 -06:00
Nick Lang 206f5e2754 Black (#948) 2019-05-10 09:16:33 -06:00
Nick Lang 45db46c855 upgrade start_elasticsearch to use 7.0.0 2019-04-26 12:05:30 -06:00
Slam 2181611a00 Scan refactor (#924)
* Adds scan test for exception & data yielded

* Adds scan test for fast route & initial search error

* Refactores scan implementation; better scroll test

* Adds tests clear_scroll & logger
2019-04-05 09:31:43 -06:00
Nick Lang 1afceba69b update to ES 7 (#911)
* update to ES 7

* more updates to make tests run

* update the test matrix

* remove python 3.3

* update xpack apis

* relative imports
2019-03-29 09:25:23 -06:00
Alvaro Olmedo Rodriguez 51ad5d3617 ssl_show_warn option added (#913)
* ssl_show_warn option added

* Typo fixed
2019-03-28 13:20:16 -06:00
Asher Mancinelli 85573db275 Restructuring helpers dir (#886)
* PEP8 formatting & package structuring

* adding internal function imports into helpers init

* changed absolute paths for mock

* removed debugging print statements

* resolving @fxdgear 's comment
2019-01-14 11:27:02 -08:00
Nick Lang f3f7266c1f better logic to handling unicode and chunking. (#870)
Chunking was looking at the length of a string but not accounting for the
byte length. closes #716
2018-11-26 10:58:47 -07:00
Nick Lang bafe65987c Fixing flaky test wrt mock and threading. (#875)
* Fixing flaky test wrt mock and threading.

Mock is apparetnly not threadsafe, and as a result will sometimes
cause tests to fail when we want to count the number of times a
mock function is called.

I've replaced the mock function with a side_effect, which allows for
locking and incrementing manually.

* put threading.Lock in globals
2018-11-26 10:10:12 -07:00