Commit Graph

2301 Commits

Author SHA1 Message Date
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
cb1b4b3bc1 removed 'should' dep from mochacov config 2013-12-27 16:55:47 -07:00
ca402e5552 Merge pull request #17 from spenceralger/docs_in_repo
added docs to the repo
2013-12-27 15:45:29 -08:00
65f9cc7e99 added docs to the repo 2013-12-27 16:41:38 -07:00
2723511eff added testling run to the travis build 2013-12-24 01:06:37 -07:00
2aa665c3bc added angular to the scripts, which is sweet\! 2013-12-24 00:52:26 -07:00
6631b19f93 JSON.serialize was still stubbed when testling tries to phone-home about the test result 2013-12-24 00:25:37 -07:00
a32e315536 removing IE from the browsers, because fuck IE 2013-12-23 18:20:05 -07:00
da80d94bcf fixed a couple test that aimed at 0.8 2013-12-23 18:08:18 -07:00
74612864e2 updated the rest-spec, and fixed an error in the integration tests after switching to expect 2013-12-23 18:00:00 -07:00
0abe9df9a8 removed the console logger tests, as it previously fucked with the tape reporter 2013-12-23 17:51:21 -07:00
a77b2be1f2 still working to get the tests running in ie... stupid IE 2013-12-23 17:31:37 -07:00
2b3734a081 switched out assertion library with should.js... I really should have written my own baby util library since that was the third time I've done that... 2013-12-23 15:33:53 -07:00
3d0b2fde4e setup testling 2013-12-23 10:18:52 -07:00
11c976e9f8 added changelog to track the differences between minor versions 2013-12-22 12:15:51 -07:00
be50dac466 Update to version 1.1.0, promises now return just the repsonse body. If you need the status code, please use a callback 2013-12-22 12:02:55 -07:00
e4f81d6550 updated tests for new promise resolution value 2013-12-22 11:55:36 -07:00
460f708a29 Changed the value promises with resolved with. Instead of receiving an object with both the body and status code attached, they will simply receive the body. 2013-12-22 11:42:51 -07:00
d949ac940a fixed the compress config 2013-12-21 22:08:14 -07:00
63cd44d137 fixed the compress config 2013-12-21 21:57:23 -07:00
f9be330999 fixed the urls for uploading and downloading browser builds. 2013-12-21 18:09:57 -07:00
d3c7532b3f v1.0.3 2013-12-21 00:41:41 -07:00
d17217929a updated the grunt tasks, and the jquery connector will now properly parse json response bodies 2013-12-21 00:36:41 -07:00
77e3dcb95b updated the task names inside the browser_clients tasks to reflect latest versions 2013-12-19 22:40:02 -07:00
f5c8d39876 hotfix for recursive failures in the jQuery build. v1.0.2 2013-12-19 20:55:34 -07:00
d1e7b86a7d Merge pull request #7 from spenceralger/fill_coverage_holes
Fill coverage holes
2013-12-18 16:23:01 -08:00
50be1e86b3 Summary of Changes:
- Polished some Grunt config options while testing livereload capabilities in grunt-watch
- tests for connection_pool selection with no living connections
- tests for connection abstract's mini request implementation for ping.
2013-12-18 17:11:32 -07:00
3057c25c26 Setup grunt coverage task 2013-12-18 13:28:42 -07:00
96b44ebf8b Merging spenceralger:travis_and_coveralls. Summary of changes:
- removed several unneeded devDeps
- removed old get_spec.js script
- the client's ping method will now send back true as the body when the ping
  succceeds, and false when it does not. When the ping fails, the error will
  still be sent back and the connection's status will still be set to "dead".
- All of the client's methods now have a spec property, which will provide the
  JSON spec used to run that method.
- The yaml test runner will only camelCase param names that are documented, uses
  the client's method's new spec property
- Trace log events will now have their proper original query string parameters
- The "tracer" logger will now write to elasticsearch-tracer.log by default, and
  will truncate the file if it already exists.
- When running the integration tests, the client will now use a tracer logger which
  writes to stderr. The default level is "warning", but with the VERBOSE environment
  var it becomes "trace" and the logger will write to it's default file
- Added .idea to the .gitignore, it was being published to NPM
- Cleanup of the grunt tasks. Consilidated several tiny files into seperate moderately sized ones.
2013-12-18 13:21:40 -07:00
4c3bd0080d updated to version 1.0.1 2013-12-18 08:37:35 -07:00
9a6d3d3fab fix for AngularConnector, closes #5 2013-12-18 08:21:31 -07:00
043bf21785 added generate task before the integration task in 'grunt test' 2013-12-17 20:11:05 -07:00
40810e87ec skipping unstable node v0.11 2013-12-17 19:32:03 -07:00
28fc7605a0 using the previous setup, which should still work 2013-12-17 19:15:26 -07:00
79f89342d9 removed decription, added description, to package.json 2013-12-17 13:52:04 -07:00
c3be89d096 description to the package.json 2013-12-17 13:11:07 -07:00
c3945480d2 updating to 1.0.0 to publish to NPM 2013-12-17 12:05:02 -07:00
b557f2081d Merge branch 'master' of github.com:elasticsearch/elasticsearch-js 2013-12-17 12:03:24 -07:00
405505e41d Removed half a sentence. 2013-12-17 11:58:57 -07:00
0d19207205 updating doc links to point to the new main gh-pages site 2013-12-17 11:57:31 -07:00
277a6b958f Updated the Jenkins badge to use HTTPS 2013-12-17 11:53:38 -07:00
2a7e2869b5 Added Jenkins badge to README.md 2013-12-17 11:37:00 -07:00
74d3183cc6 Changed the createDefer config param to just be defer 2013-12-17 11:23:16 -07:00
e7e46f707f added the jquery conenction and setup the elasticsearch.jquery.js file. Disabled response transformation at an angular level so that responses can be transformed as intended 2013-12-16 16:13:43 -07:00
cf3be01c57 - grunt watch will now abort mid task
- connection's ping method now accepts requestTimeout, path, and method params like
  all the grown-up API calls
- ConnectionPool now managed connection timeouts. When a connection dies a
  timeout object is created to track when the timeout is scheduled and the function
  to call when it does. It also tracks how many times it has run to allow the timeout
  to grow
- Timeouts now grow with use of `config.calcDeadTimeout` which is set to 'exponential'
  by default, but can also be set to flat in order to always use the standard
  deadTimeout. Exponential growth of the deadTimeout is stopped at config.maxDeadTimeout
  which is set to 30 minutes by default.
- Connections no longer have a resuscitate method (too hard to spell). Now the
  method is created dynamically as a part of the timeout object as it just calls
  the connection's ping method and needed to access variables like revive attempts.
- Timeouts were moved to the transport layer, meaning that you need to capture the
  abort method and abort the request yourself if you are handling connections
  directly, ConnectionsAbstract's ping method does this.
2013-12-16 02:35:28 -07:00
54129ac2b4 added another log file to the gitignore, need to simplify those tests 2013-12-15 17:47:25 -07:00
a42cd776a5 more modifications in the name of cleaner Jenkins results 2013-12-15 14:55:21 -07:00