Commit Graph
339 Commits
Author SHA1 Message Date
Seth Michael LarsonandGitHub b63d005138 Don't swallow unexpected errors during Elasticsearch verification 2021-07-12 13:20:13 -05:00
29f6a1ec42 [7.x] Forward auth parameters to APIs in scan helpers
Co-authored-by: Seth Michael Larson <[email protected]>
2021-07-01 16:56:23 -05:00
Seth Michael LarsonandGitHub 801a839093 Verify we're connected to Elasticsearch before requests 2021-06-30 10:58:05 -05:00
a2bacb2704 [7.x] Tolerate RecursionError not being defined in Python<3.5
Co-authored-by: Seth Michael Larson <[email protected]>
2021-06-29 10:42:45 -05:00
b2c05d430d [7.x] AsyncTransport(sniff_on_start=True) should block further requests until complete
Co-authored-by: Seth Michael Larson <[email protected]>
2021-06-24 09:46:33 -05:00
Seth Michael Larson a82b2920e0 Fix test-matrix, mypy, and bad backport
- test-matrix.yml was intepreting 3.10 as '3.1' via float
- mypy recently removed its built-in type stubs for many
  third-party libraries so now need to install 'types-requests'
- Backport of the ELASTIC_CLIENT_APIVERSIONING test case
  included '8' instead of '7'
2021-06-23 08:51:33 -05:00
1787f64d02 [7.x] Start testing on Python 3.10
Co-authored-by: Seth Michael Larson <[email protected]>
2021-06-07 13:30:04 -05:00
07151b3807 [7.x] Skip default headers from AIOHttpConnection
Co-authored-by: Seth Michael Larson <[email protected]>
2021-06-04 15:14:51 -05:00
Seth Michael Larson c781f3e78c Update APIs to 7.x-SNAPSHOT 2021-06-04 10:17:58 -05:00
2c5f1d1569 [7.x] Add support for the HTTP API compatibility header
Co-authored-by: Seth Michael Larson <[email protected]>
2021-04-26 16:55:59 -05:00
Seth Michael LarsonandGitHub 794a97578f [7.x] Start using the Elastic Artifacts API for YAML REST tests 2021-04-22 12:08:05 -05:00
Vladimir KasparandSeth Michael Larson a8cf8d93ee [7.x] Add ignore_status option to bulk helpers 2021-04-20 10:19:38 -05:00
Seth Michael Larson e4cdd4544d [7.x] Add per-request authentication for http_auth and api_key 2021-04-19 17:26:44 -05:00
10e76d7234 [7.x] Fix config of client pytest fixtures
Co-authored-by: Seth Michael Larson <[email protected]>
2021-02-05 13:18:53 -06:00
Seth Michael LarsonandGitHub 9744eae1b6 [7.x] [CI] Update integration test suite with new Docker distribution format 2021-01-29 15:22:58 -06:00
ca0db1a426 [7.x] Implement 'arbitrary_key' feature for REST API tests
Co-authored-by: P. Sai Vinay <[email protected]>
2021-01-25 09:36:15 -06:00
42752953ec [7.x] Implement 'contains' feature for REST API tests
Co-authored-by: P. Sai Vinay <[email protected]>
2021-01-25 08:44:39 -06:00
Seth Michael LarsonandGitHub a728aaa491 [7.x] Sort imports with isort and regenerate APIs 2021-01-13 14:21:04 -06:00
f9f6eac9f1 [7.x] Use ElasticsearchWarning instead of ElasticsearchDeprecationWarning
Co-authored-by: Seth Michael Larson <[email protected]>
2021-01-04 17:07:55 -06:00
Seth Michael Larson b1e7bd501b [7.x] Skip REST API test search/highlight/20_fvh[3] 2021-01-04 08:04:41 -06:00
fe5367382b [7.x] Move client meta header logic to Transport
Co-authored-by: Seth Michael Larson <[email protected]>
2020-12-17 15:25:08 -06:00
58b376159c [7.x] Handle Python pre-releases properly in meta header
Co-authored-by: Seth Michael Larson <[email protected]>
2020-12-15 16:32:27 -06:00
b894e359df [7.x] Add the 'X-Elastic-Client-Meta' header
Co-authored-by: Seth Michael Larson <[email protected]>
2020-12-14 17:50:14 -06:00
Seth Michael LarsonandGitHub 2e06989ca1 [API] Update REST APIs to 7dfb1ed9790 2020-12-08 13:18:08 -06:00
Seth Michael LarsonandGitHub b33e18ba0d [7.x] Start using wipe_cluster() for consistent cluster state
Co-authored-by: Seth Michael Larson <[email protected]>
2020-12-04 08:10:37 -06:00
876bf90943 [7.x] Support IPv6 braces in Connection.host
Co-authored-by: Seth Michael Larson <[email protected]>
2020-12-01 17:42:50 -06:00
bbb72cd932 [7.x] Allow '_shards.skipped' to be absent on scroll responses
Co-authored-by: Seth Michael Larson <[email protected]>
2020-11-20 16:41:58 -06:00
acc37ea1e4 [7.x] Skip the snapshot/clone/10_basic[1] test for now
Co-authored-by: Seth Michael Larson <[email protected]>
2020-10-29 09:13:28 -05:00
Seth Michael LarsonandSeth Michael Larson 2ce9fd3914 [7.x] Test typing metadata in build-dist script 2020-10-20 15:22:43 -05:00
0cdeeb654a [7.x] Remove yarl from [async] extra
Co-authored-by: Seth Michael Larson <[email protected]>
2020-10-13 15:18:07 -05:00
52a7cfe3fb [7.x] Fix Connection.log_*() body parameter type
Co-authored-by: Seth Michael Larson <[email protected]>
2020-10-05 11:38:13 -05:00
Seth Michael LarsonandSeth Michael Larson 6daa14315a [7.x] Add typing metadata and manual types to package 2020-09-28 15:49:14 -05:00
ff378f6b0d [7.x] Add optimistic concurrency and update+_source options to bulk
Co-authored-by: Seth Michael Larson <[email protected]>
2020-09-28 09:17:16 -05:00
39e49b7a81 [7.x] Update Cloud ID format tests
Co-authored-by: Seth Michael Larson <[email protected]>
2020-08-31 15:29:45 -05:00
Seth Michael LarsonandSeth Michael Larson e893facb97 [7.x] Apply Black 20.8b1 formatting 2020-08-27 10:52:30 -05:00
Seth Michael LarsonandSeth Michael Larson 8ab07f44b8 [7.x] Add support for 'url_prefix' to AIOHttpConnection
(cherry picked from commit 64e81434feddb37a271a31c4b9bc7576e2500008)

Co-authored-by: Seth Michael Larson <[email protected]>
2020-08-20 13:13:47 -05:00
Seth Michael Larson 1c3bd94191 [7.x] Add override test for exists_source API 2020-08-20 09:55:51 -05:00
Seth Michael LarsonandSeth Michael Larson 680ab85275 [7.x] Add async helpers 2020-08-20 09:11:33 -05:00
Seth Michael LarsonandGitHub 33c1650b64 [7.x] Don't raise sniffing errors when retrying a request 2020-07-20 11:17:19 -05:00
Seth Michael LarsonandGitHub b13c7c6217 [7.x] Switch to long Apache-2.0 license header 2020-07-02 13:15:25 -05:00
Seth Michael LarsonandGitHub 084295787d [7.x] Serialize only 'pd.NA' to 'None' 2020-06-29 10:10:05 -05:00
Seth Michael LarsonandGitHub 53de8898ad [7.x] Update all rST :: to code-block directives 2020-06-26 14:54:41 -05:00
Seth Michael LarsonandGitHub 1bfb1113d3 [7.x] Split CI into Jenkins and GitHub Actions 2020-05-27 16:42:40 -05:00
Seth Michael LarsonandSeth Michael Larson 1773bd17be [7.x] Backport overrides for typeless APIs 2020-05-26 08:23:21 -05:00
Seth Michael LarsonandSeth Michael Larson a3e103b00e [7.x] Add test suite for async API 2020-05-21 11:36:21 -05:00
Seth Michael LarsonandSeth Michael Larson 05e5dc9402 [7.x] Generate async API 2020-05-21 11:36:21 -05:00
Seth Michael LarsonandSeth Michael Larson bed5ffc740 [7.x] Update API generator for async 2020-05-21 11:36:21 -05:00
Seth Michael LarsonandSeth Michael Larson 8ffae94912 [7.x] Add AsyncTransport 2020-05-21 11:36:21 -05:00
Seth Michael LarsonandSeth Michael Larson 02e3323650 [7.x] Add AIOHttpConnection 2020-05-21 11:36:21 -05:00
Seth Michael LarsonandSeth Michael Larson 521d4db641 [7.x] Add support for 'allowed_warnings' feature 2020-05-19 14:18:53 -05:00