Commit Graph
100 Commits
Author SHA1 Message Date
Honza Kral f603a834ca Use one global client instance for all test runs 2013-08-28 19:24:11 +02:00
Honza Kral fe7cc106f6 Use unittest2 even for python 2.6 2013-08-28 19:11:28 +02:00
Honza Kral d180e62a99 Revert "Support python 2.6"
This reverts commit 158f6e6183.
2013-08-28 19:02:42 +02:00
Honza Kral d306085789 Skips are ok 2013-08-27 04:19:37 +02:00
Honza Kral 158f6e6183 Support python 2.6 2013-08-27 04:07:52 +02:00
Honza Kral 87a09091ce more detailed .travis.yml file, still untested 2013-08-27 03:05:30 +02:00
Honza Kral 610226e91c Support for running different connection class in tests 2013-08-27 02:53:01 +02:00
Honza Kral 966128a5c8 Adding thrift to dev_requirements
Note that this will not do since thrift, as well as pylibmc, is not
available for py3
2013-08-27 02:48:01 +02:00
Honza Kral 38ba61d511 Fix memcached tests for py3 2013-08-25 18:01:45 +02:00
Honza Kral 39bcd81957 Minor fixes 2013-08-25 17:58:30 +02:00
Honza Kral 667160e9dc Added PoolingConnection for non thread-safe connection classes 2013-08-25 17:00:46 +02:00
Honza Kral e91ed68bd0 Split individual connection classes 2013-08-25 16:39:56 +02:00
Honza Kral 95c33871ef Make connections a package 2013-08-25 16:32:20 +02:00
Honza Kral 2161c87d86 Make thrift an optional dependency 2013-08-21 00:18:18 +02:00
Honza Kral 0c09ef72a0 Experimental Thrift support
No thread safety
no connection pooling for thrift
very limited error handling
2013-08-21 00:13:13 +02:00
Honza Kral c7cf8011f4 Avoid circular references to make GC's life a bit easier 2013-08-14 01:42:19 +02:00
Honza Kral 56e314f5b0 Experimental memcached protocol.
Only works with python 2 now
2013-08-11 02:17:20 +02:00
Honza Kral 366e15dee8 Support timeouts with urllib3 2013-08-09 02:26:42 +02:00
Honza Kral d72b15680c Switch to urllib3 for more performance 2013-08-08 18:06:36 +02:00
Honza Kral dfc8076a91 Better escaping or url and query params 2013-08-08 18:06:25 +02:00
Honza Kral 97257c872d typo 2013-08-08 18:06:07 +02:00
Honza Kral 11e5746eb1 Docstrings for Connection classes 2013-08-08 16:04:53 +02:00
Honza Kral e79afeb9c5 don't use _make_path for static paths 2013-08-07 03:11:03 +02:00
Honza Kral 7ebdb612b1 Make sure we encode boolean query params properly 2013-08-07 01:35:11 +02:00
Honza Kral ad5860bea6 Formatting and docstrings 2013-08-07 01:34:17 +02:00
Honza Kral af0202d89f slightly simpler tests 2013-08-01 16:04:56 +02:00
Honza Kral 1ee42ca17c Added a simple reindex helper 2013-08-01 15:05:29 +02:00
Honza Kral 29977efff4 Added a convenient scan heper API to iterate over docs 2013-08-01 14:57:08 +02:00
Honza Kral 5b1a2fd650 bulk_index helper to easily load docs into ES 2013-08-01 14:48:39 +02:00
Honza Kral fae0fdb254 remove duplicit doc_type defintion 2013-08-01 14:47:54 +02:00
Honza Kral 6cfde42985 Extract ElasticTestCase from YamlTestCase 2013-08-01 14:47:34 +02:00
Honza Kral 388a56ea2c Provide sane defults for YAML tests 2013-07-31 17:51:42 +02:00
Honza Kral 3679018d80 Keep version info in elasticsearch/__init__.py as well as setup 2013-07-31 17:38:52 +02:00
Honza Kral cce186780f ConnectionError is special 2013-07-30 16:50:36 +02:00
Honza Kral d8cbe1ac78 More power to the SerializationError 2013-07-30 15:05:46 +02:00
Honza Kral 0bde2d5317 More info when raising an exception 2013-07-30 14:25:10 +02:00
Honza Kral 78f5f0f4bb Node shutdown API 2013-07-24 17:47:39 +02:00
Honza Kral 5621272a3a node_info 2013-07-24 17:44:09 +02:00
Honza Kral 53074eab75 cluster.node_stats 2013-07-24 17:10:57 +02:00
Honza Kral 83983ef23a Cluster state 2013-07-24 16:39:48 +02:00
Honza Kral c37a10df39 clear cache 2013-07-24 16:25:14 +02:00
Honza Kral 99029e37a8 snapshot_index 2013-07-24 16:08:25 +02:00
Honza Kral 9aee842516 indices.segments 2013-07-24 16:00:58 +02:00
Honza Kral a1cea47c36 indices.stats 2013-07-24 15:59:21 +02:00
Honza Kral f9ff7d40c3 validate query api 2013-07-24 04:12:09 +02:00
Honza Kral 6e45211794 index optimize api 2013-07-24 03:55:17 +02:00
Honza Kral 7474b0d527 indices.status 2013-07-24 03:51:46 +02:00
Honza Kral 477e5c2366 open/close APIs 2013-07-24 03:47:28 +02:00
Honza Kral 4f839802a7 flush api 2013-07-24 03:41:25 +02:00
Honza Kral 71fe50b347 Move comment to it's proper place 2013-07-24 03:33:28 +02:00
Honza Kral 6a76c85893 explain API 2013-07-24 01:54:02 +02:00
Honza Kral 6b238121fc more like this 2013-07-24 01:47:40 +02:00
Honza Kral d9d2ef930a Added percolate API 2013-07-24 01:39:06 +02:00
Honza Kral 4abad65724 Warmer APIs 2013-07-24 01:28:39 +02:00
Honza Kral f33b271245 get/update aliases 2013-07-24 01:19:04 +02:00
Honza Kral bf23436c27 Version can contain non-number elements like beta etc 2013-07-23 20:43:05 +02:00
Honza Kral de7986ba00 Suggest API 2013-07-23 19:26:04 +02:00
Honza Kral 3e4b943d05 add master_timeout to cluste state changing operations 2013-07-23 00:05:57 +02:00
Honza Kral 240984dd7f Indices settings 2013-07-22 00:49:35 +02:00
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