Honza Kral
65349034e8
Enable \. in yaml lookups
2013-07-22 00:48:52 +02:00
Honza Kral
b7a91008c1
delete_by_query
2013-07-22 00:40:41 +02:00
Honza Kral
ca59f137b6
extract _bulk_body
2013-07-22 00:31:13 +02:00
Honza Kral
36a3a880e1
msearch endpoint
2013-07-22 00:28:51 +02:00
Honza Kral
148f803c66
bulk & count APIs
2013-07-20 21:11:50 +02:00
Honza Kral
b15216700f
template handling API
2013-07-20 20:43:18 +02:00
Honza Kral
a226999a0f
Alias handlign APIs
2013-07-20 20:32:23 +02:00
Honza Kral
b4961dec81
cluster.get_settings and cluster.put_settings
2013-07-18 16:47:05 +02:00
Honza Kral
62036e5b9f
cluster.reroute API
2013-07-18 16:36:38 +02:00
Honza Kral
c17653e922
Add response text to TransportError
2013-07-16 14:27:05 +02:00
Honza Kral
7c99b451a6
Added scroll api
2013-07-16 14:22:11 +02:00
Honza Kral
982ce508be
handle dots in yaml test dirs' names
2013-07-15 14:43:58 +02:00
Honza Kral
39bd7a92e2
Added tests for unicode/utf-encoded strings in url
2013-07-14 15:57:06 +02:00
Honza Kral
5aa6c86895
Make sure we don't blow up on utf-8 str on py2
2013-07-14 15:51:04 +02:00
Honza Kral
ab7d12e5de
Encode URL params properly into utf-8
2013-07-14 15:36:49 +02:00
Honza Kral
89edf34ec4
Have doc_type default to _all for get_source
2013-07-12 18:49:55 +02:00
Honza Kral
b7d81900e4
ignore_missing for get_source
2013-07-12 18:48:26 +02:00
Honza Kral
2468accd29
YamlTestCase fixes
2013-07-12 18:22:06 +02:00
Honza Kral
44ee8b6e82
Update API
2013-07-12 18:22:00 +02:00
Honza Kral
95f42df6db
Support running the integration tests on an already running cluster
2013-07-12 18:08:51 +02:00
Honza Kral
66561136c2
Ping endpoint
2013-07-12 17:25:06 +02:00
Honza Kral
4427624766
info docstring
2013-07-12 17:20:46 +02:00
Honza Kral
a3baf59e0c
mget endpoint
2013-07-12 17:20:28 +02:00
Honza Kral
b1c934e01d
get_source api
2013-07-11 13:49:17 +02:00
Honza Kral
d6c30c3dcb
make doc_type default to _all in get and exists
2013-07-11 02:31:55 +02:00
Honza Kral
30242ad277
is_false in yaml can also mean does not exist
2013-07-11 02:31:40 +02:00
Honza Kral
480b147b63
Skip yaml command
2013-07-11 02:00:28 +02:00
Honza Kral
0954a60312
info endpoint
2013-07-11 02:00:17 +02:00
Honza Kral
2816c14f3e
Index API
2013-07-10 17:06:27 +02:00
Honza Kral
3b5ece5bad
Refactored yaml execution code
2013-07-10 17:03:48 +02:00
Honza Kral
8419a35291
ignore_missing for delete api
2013-07-10 16:53:03 +02:00
Honza Kral
2eff1f0d9c
Delete endpoint
2013-07-10 16:49:07 +02:00
Honza Kral
1c0b5da661
Proper escaping of query params
2013-07-10 16:48:57 +02:00
Honza Kral
415f45adf4
Support for set and is_true yaml commands
2013-07-10 16:43:20 +02:00
Honza Kral
02e632f17a
removing extra imports
2013-07-10 16:17:53 +02:00
Honza Kral
6c541386bb
Search endpoint
2013-07-10 14:33:04 +02:00
Honza Kral
d179ab20c9
Include the number of the yaml file for easier debugging
2013-07-10 14:32:44 +02:00
Honza Kral
da68a5d986
Make sure we deal with lists and tuples in query_params
2013-07-10 14:32:10 +02:00
Honza Kral
48ec1ab4bb
create & get API
2013-07-10 14:07:33 +02:00
Honza Kral
170b9c6709
Make sure to serialize numbers in url properly
2013-07-10 14:07:01 +02:00
Honza Kral
ffbca79ae0
Added catch support for yaml tests, dummy for now
2013-07-10 13:40:33 +02:00
Honza Kral
1ce8c07db3
Load the yaml files optionally from external dir
2013-07-10 13:25:09 +02:00
Honza Kral
f1b4eec524
Find Yaml tests recursively
2013-07-10 13:04:47 +02:00
Honza Kral
0940d2a5d6
Update to new api specs
2013-06-20 23:27:18 +02:00
Honza Kral
ba98e13da7
Don't serialize stings
2013-06-20 14:07:09 +02:00
Honza Kral
2c43cd0bd2
Typo InidicesClient -> IndicesClient
2013-06-16 16:30:25 +02:00
Honza Kral
3b0cc85f96
Split client into multiple files
2013-06-16 16:28:51 +02:00
Honza Kral
9e4d477838
make client a package
2013-06-16 16:22:54 +02:00
Honza Kral
e19853f1ba
indices.exists_type
2013-06-16 16:20:03 +02:00
Honza Kral
ae506f639b
Don't try to pretty print empty responses
2013-06-16 16:19:35 +02:00
Honza Kral
6a9cc530c1
Mapping yaml tests
2013-06-16 16:04:00 +02:00
Honza Kral
1702dc3ed0
Move Yaml test defintions to a subdir for forwards compatibility
...
In the future those files will most likely be in a separate repo
2013-06-16 15:51:21 +02:00
Honza Kral
af72b993f7
Docs for missing params
2013-06-16 02:08:20 +02:00
Honza Kral
0ad5fb467f
Python3 fixes for the generated tests
2013-06-14 17:27:32 +02:00
Honza Kral
bc9bdeaf6e
PyYAML required to run test suite now
2013-06-14 17:24:15 +02:00
Honza Kral
1a74b015e8
Analyze API and related test suite using the external yaml definition
...
In the future the yaml files should be in separate repo.
2013-06-14 17:20:05 +02:00
Honza Kral
c5436bd1da
keep test suite dependency free as possible
2013-06-14 17:17:51 +02:00
Honza Kral
30bbb2a0cd
Cut off the timeout increases after 5 failures by default
...
Contrary to popular beliefs there are Python processes in the wild that
run for weeks and increasing the timeout without bound is not useful for
those.
2013-06-14 16:59:36 +02:00
Honza Kral
da478caf12
clarify comment, we now mark all connections as live on success
2013-06-14 16:49:05 +02:00
Honza Kral
c686cd2be3
Have error counting contained within ConnectionPool and don't leak out to Transport
...
Thanks @bleskes for the inspiration!
2013-06-14 16:46:58 +02:00
Honza Kral
51486bec13
Mark connection as dead even when sniffing to avoid using that host
2013-06-14 16:36:56 +02:00
Honza Kral
9c25f8cf01
Saner url creation
2013-06-08 02:06:14 +02:00
Honza Kral
68a404b4e8
Docstrings for index arg
2013-06-08 01:31:00 +02:00
Honza Kral
38661ec508
HEAD requests return no body
2013-06-08 01:26:13 +02:00
Honza Kral
d7e375c323
create/exists/delete index
2013-06-08 01:17:19 +02:00
Honza Kral
37f2335478
Simple test case for unit testing client commands
2013-06-07 23:57:59 +02:00
Honza Kral
ca99215e46
Make test_client into a package
2013-06-07 23:18:58 +02:00
Honza Kral
c064bf7764
wait_for_status when waiting for test server to boot up
2013-06-07 18:25:57 +02:00
Honza Kral
0eafdab2e8
Added namespacing to the client
2013-06-01 16:59:07 +02:00
Honza Kral
79c6535657
Removing prototyped API implementations for more robust versions to come
2013-06-01 16:58:47 +02:00
Honza Kral
991eb881df
Added real test server
2013-05-27 23:02:38 +02:00
Honza Kral
a7a3d660b5
It's REtries, not tries, respect that
2013-05-24 01:45:15 +02:00
Honza Kral
b1e6c4d6a7
When sniffing try all connections, including the ones used to seed the client
2013-05-24 01:42:04 +02:00
Honza Kral
dd19553ba7
Have sniff_hosts reuse existing connection to not waste open sockets
2013-05-24 01:29:31 +02:00
Honza Kral
476b1ca132
expose timeout on Connection class
2013-05-24 01:25:19 +02:00
Honza Kral
23829366e9
escape url parts, tests forthcoming
2013-05-23 22:28:19 +02:00
Honza Kral
a70db43abd
Enable url_prefix for Connection, do not include it in trace calls
2013-05-23 22:15:55 +02:00
Honza Kral
c23aacf1f9
Sniff based on time interval, not number of requests
2013-05-23 17:42:14 +02:00
Honza Kral
787820803a
don't shorted sniffing intervals on failure
2013-05-23 17:22:49 +02:00
Honza Kral
642b123865
Docstrings for helper functions in client.py
2013-05-22 20:43:50 +02:00
Honza Kral
1e81d09b14
Docstrings for connection_pool
2013-05-22 20:30:44 +02:00
Honza Kral
9e6714e2fa
Add a RandomSelector
2013-05-22 20:30:38 +02:00
Honza Kral
a093f0258e
support IPv6 addresses when parsing node info
2013-05-22 18:49:30 +02:00
Honza Kral
fecd26193c
Simpler easier to use callback for extracting node information
2013-05-22 18:45:55 +02:00
Honza Kral
0dae1e9df1
Only trigger retry and mark connection as dead on connection errors
...
Not when we receive an error code from ES.
2013-05-19 18:45:12 +02:00
Honza Kral
e74d4f3e5b
Transport API docs
2013-05-19 18:26:10 +02:00
Honza Kral
5af5e36c93
In case of race condition, don't block on resurrecting
2013-05-13 17:40:22 +02:00
Honza Kral
b429a15a1b
Fix Transport and ConnectionPool signatures in docs
2013-05-12 21:18:39 +02:00
Honza Kral
43bac35d57
Combine class's docstings with __init__
2013-05-12 21:12:44 +02:00
Honza Kral
60a6cf9389
Documentation for the code scaffolding
2013-05-12 21:11:01 +02:00
Honza Kral
a92ce05ec1
Index page for docs with testable example and license info
2013-05-12 20:37:31 +02:00
Honza Kral
3c021e0c9b
Mock implementations of some client methods
2013-05-12 20:37:16 +02:00
Honza Kral
0f613eb1d4
More extensive README
2013-05-12 19:56:07 +02:00
Honza Kral
427ca00117
Add license information to README
2013-05-06 22:12:44 +02:00
Honza Kral
cc12922fd7
Metadata tweaks
...
* setup.py classifiers
* configure sphinx to work with setuptools
* instruct travis to run sphinx doctests through setuptools
2013-05-06 16:34:33 +02:00
Honza Kral
814b0dff81
Add doctest capability to the docs, run it in Travis CI
2013-05-06 16:15:58 +02:00
Honza Kral
d5bb5976b8
Expose everything on elasticsearch package itself
2013-05-06 16:15:38 +02:00
Honza Kral
82a1f1c32c
Sphinx documentation stub created by quickstart
2013-05-06 15:40:47 +02:00
Honza Kral
603ec53387
TODO is DONE
2013-05-05 04:51:32 +02:00
Honza Kral
fe4a3a5ed0
Elasticsearch is one word
2013-05-05 04:21:03 +02:00