Commit Graph

97 Commits

Author SHA1 Message Date
bacd515545 Run all of the browser tests at once, since parallel builds no longer benefit us at codeship and this will probably make things run even faster 2014-01-17 18:51:21 -07:00
9c1c100ee1 updated elasticsearch dep, includes spec based ping and cleaned up the api*.js files a but. Ping once again timesout at 100 ms. 2014-01-17 16:06:07 -07:00
90aa185711 added notes to the API docs regarding the two API versions, and a warning to the config docs. Also updated the client tests to work with the new default 2014-01-17 15:50:06 -07:00
2b9f0c9e14 updated jenkins script to work for specific release versions 2014-01-17 11:51:44 -07:00
af57b9e49e Changed default port for testing es to 9400 2014-01-17 10:56:53 -07:00
3b15f5f309 fixed the snapshot.create urls 2014-01-17 09:09:55 -07:00
e4c6aab4ef updated the API 2014-01-17 09:02:00 -07:00
b36a6590e8 Stopped overriding the ping method provided by the 1.0 API, but it didn't match the "castExists" regex so...
Fixed the lack of castExists for ping/1.0 by removing castExists all together from the API. It was the
case anyway that all HEAD requests needed to be cast, so now the clientAction module will set that
param when the spec is set to make HEAD requests. The transport.request still expects that parameter.

Switched the apiVersion implementation to use funcEnum, and exposed the options on the Client constructor.
Docs to come.
2014-01-16 15:43:33 -07:00
eda56aa5d0 temporarily linking to general info for the cat api until aliases specific docs are written 2014-01-16 12:24:08 -07:00
980163dfb2 switched submodule back to elasticsearch/elasticsearch, updated the generator to properly pull updates from the related branch 2014-01-16 11:58:35 -07:00
34f3d3ce28 fixed generate script 2014-01-16 10:17:13 -07:00
b3fdf50a94 more attempts to fix the jenkins build 2014-01-16 10:07:36 -07:00
b5105229d3 fixes integration test call on jenkins 2014-01-16 09:58:37 -07:00
baf348e4bf when a test fails it's stderr is not read out to the screen 2014-01-16 09:56:20 -07:00
9f7c5bb968 updated docs to include 0.90 API 2014-01-15 17:38:46 -07:00
55df195eaa updated docs to include 0.90 API 2014-01-15 17:02:30 -07:00
3d2b395c6f updated docs to include 0.90 API 2014-01-15 16:55:37 -07:00
52df63f326 fixed creation of the branch suffix 2014-01-15 15:32:58 -07:00
fb4638ecc8 fix for jenkins tests 2014-01-15 15:23:20 -07:00
17e8596b52 removing stderr output redirect so that I can see what's happening within jenkins 2014-01-15 15:18:46 -07:00
58619d7839 still debugging jenkins. Trying to figure out what is happening 2014-01-15 15:12:16 -07:00
ad95a609d6 only jenkins will call mocha directly, should fix stderr redirection 2014-01-15 15:03:37 -07:00
d4c0f71419 ci.sh now calls mocha directly so that it can pass the port from jenkins and use the jenkins reporter 2014-01-15 14:41:57 -07:00
f23574d2cf added build process to ci script 2014-01-15 13:18:56 -07:00
a80e6aba4f fixed some doc issues, and reorganized the browser tests. Rather than running one per build, now a unit test page is run, and a build test page is run 2014-01-15 13:09:46 -07:00
94692a9df0 updated the grunt-saucelabs pointer, until pr gets merged 2014-01-15 03:35:23 -07:00
8b118ccfa6 forgot to export the sauce labs creds 2014-01-15 03:13:08 -07:00
4c5426c1b4 added the browser tests 2014-01-15 03:06:56 -07:00
7b967617b5 goodbye groups, come back return statements 2014-01-15 01:56:24 -07:00
77998feb8c Well that helped no one 2014-01-15 01:51:35 -07:00
4981852080 removed grouping, it's just fucking things up 2014-01-15 01:47:29 -07:00
ce2ff5ff99 tweaked the ci script and prevented the manage_es fcuntion from returning before it can close the opened groups 2014-01-15 01:43:16 -07:00
57ca30fbc8 travis grouping bug 2014-01-15 00:54:35 -07:00
a286d4e36f modifications to get the travis build working 2014-01-15 00:45:55 -07:00
ac67eab8d8 Added support for jenkins to the ci script 2014-01-14 23:44:00 -07:00
18e134d0a6 Summary of Changes:
- moved es install/start/stop logic into a seperate script
  - `grunt test` now runs the integration tests once for each version of ES we support
  - grunt can now install and run elasticearch (using grunt-run, pure js solution coming later)
  - included seperate es.sh script specifically for starting or stopping elasticsearch
  - url aliases, api, yaml_suite/index.js, and yaml_tests.json, are all now duplicated for 0_90 support
  - the client now accepts an apiVersion argument (undocumented) which defaults to 'master' but can be '0.90'
  - The yaml test runner will now check the name of the ES instance it is connecting to, preventing accidental wiping of ES
2014-01-14 23:10:12 -07:00
37ce4e440c Merge remote-tracking branch 'upstream/master' into browser_tests_for_travis 2014-01-14 17:20:57 -07:00
6fecb08a40 updated ES reference, pulled in latest API changes, integration test runner now clears the previous tracer log when it is in use. 2014-01-14 16:31:35 -07:00
0f58beceda fixed leaked vars in ci.sh 2014-01-10 12:42:02 -07:00
3223fb4a6d added browser tests, modified ci script, removed testing for version 0.90.x 2014-01-10 11:23:08 -07:00
3490479eee changes to the testing, incorporating browser_testing 2014-01-09 16:23:02 -07:00
f6de504c3f added a check to the js_api generator that will ensure that each url has a unique variable signature. 2014-01-09 16:17:19 -07:00
58cc6336e3 extra whitespace is no longer needed 2014-01-08 13:21:31 -07:00
a7c2417f0d - using ping to detect when ES is ready rather than sleep
- reusing es downloads to make local testing faster
- periodic checks will kill the script on failure
- coveralls report is only sent once per build
- failures sending the coveralls report won't cause the build to fail
2014-01-07 17:24:36 -07:00
d7f12f1d86 cut redundant builds from the travis config, fixed jenkins script 2014-01-07 15:37:28 -07:00
d1e04c57fb Updated testing to pull yaml tests from a specific es branch, and setup
travis script that will download the latest build from a branch or a release
based on the config it receives.
2014-01-07 14:34:37 -07:00
bbbfcfa33e Updated ES, brought a few modification to the API along with it. Yaml test suite is now built against a specific version of elasticsearch when you specify the es_branch arg
to `grunt test`
2014-01-07 10:00:07 -07:00
71a0b8f58e updated integration suite to pull rest-api-spec from elasticsearch repo 2014-01-02 11:33:59 -07:00
6c2330fd8a Added a few examples and a link to the readme, set an ID for the api reference page. 2013-12-28 08:49:50 -07:00
65f9cc7e99 added docs to the repo 2013-12-27 16:41:38 -07:00