Commit Graph

204 Commits

Author SHA1 Message Date
344dbd8911 Updated the README to match the about doc and include bower install directions. Fixed a bug in the grunt tasks. 2014-01-30 14:42:32 -07:00
56c0160bc3 switched bower-elasticsearch-js submodule to http, prevented the generate script from attempting to update it 2014-01-30 13:58:58 -07:00
5b07717116 worked out bower release process 2014-01-30 13:17:53 -07:00
5d6f6165dc added bower-elasticsearch-js submodule 2014-01-30 12:47:00 -07:00
93c4ff2caa added docs for the tracer logger, fixed url creation 2014-01-28 16:52:05 -07:00
513486f372 updated loggers to write the actual url 2014-01-28 16:45:39 -07:00
811ac2f04f updated the API to include the indexTemplates param for cluster.reroute 2014-01-27 09:28:08 -07:00
32d4ef3ffd updated api to latest version 2014-01-22 12:09:05 -07:00
1d991b47a8 updated mocha-cov dependency to be custom fork that provides valuable information to coveralls, added engine info to package.json, disable styles for codeship, switched to code based pattern that is very specific since the entire es-js repo is stored withing a src directory on codeship 2014-01-22 12:08:22 -07:00
68c9a7889e updated the API generator to repect the new body.encoding spec field, fixed the check for required body, and added new API methods termventor and mtermvectors 2014-01-21 09:53:10 -07:00
cef934b265 updated the API, which includes countPercolate and mpercolate methods. 2014-01-20 15:44:16 -07:00
60adba6abb Updated es reference 2014-01-20 09:56:24 -07:00
d30cea1db0 Updated the api to include the latest changes, fixed the id of the api-method-index, moved the index out of the
existing menu as to prevent the other options in the menu from being hidden. Added the options of an enum param
to the docs.
2014-01-20 09:25:29 -07:00
149b099fb5 updated the API, fixed the config docs, added a method list to the API pages 2014-01-19 15:44:22 -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
3b70395d57 changed default API version to 0.90, to prevent from breaking things that will auto-upgrade 2014-01-17 14:47:47 -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
55f3b33dbd Merge pull request #30 from spenceralger/ping_1_0
Stopped overriding the ping method provided by the 1.0 API
2014-01-16 14:45:22 -08: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
ab033e9698 added the ability to set a host's host to false, causing the urls it creates to be relative 2014-01-16 14:19:11 -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
9f7c5bb968 updated docs to include 0.90 API 2014-01-15 17:38:46 -07:00
c945418fec updated docs to include 0.90 API 2014-01-15 17:37:04 -07:00
4c5426c1b4 added the browser tests 2014-01-15 03:06:56 -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
443d2b3ac8 Fixed the handling of "errors" in the angular connector, fixes #23 2014-01-14 11:08:19 -07:00
e9648638d9 Fixes a transposition of the agent class names. 2014-01-13 15:04:53 -08:00
b98c00eb0b Fixes a bug that causes HTTPS to never be used. Without using the HttpAgent version of KeepAliveAgent the connections always default to http instead of https, even when https is specified as the protocol. 2014-01-13 14:58:52 -08:00
3223fb4a6d added browser tests, modified ci script, removed testing for version 0.90.x 2014-01-10 11:23:08 -07:00
9df9b30aa4 merged lastest changes from master 2014-01-09 16:20:13 -07:00
92991a0bda updated es dep, includes the proper doc urls 2014-01-09 16:00:00 -07:00
0a17848719 merged master 2014-01-08 14:22:53 -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
65f9cc7e99 added docs to the repo 2013-12-27 16:41:38 -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
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
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
d17217929a updated the grunt tasks, and the jquery connector will now properly parse json response bodies 2013-12-21 00:36:41 -07:00
f5c8d39876 hotfix for recursive failures in the jQuery build. v1.0.2 2013-12-19 20:55:34 -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