aab28e4fe4
[api] regenerate
2016-05-02 12:14:31 -07:00
070c714a82
[api] regenerate
2016-04-24 13:31:57 -05:00
24cad46ced
Merge pull request #371 from jonahharris/http-keep-alive-fix
...
Add proper support of http.Agent keepAlive
2016-04-13 02:12:34 -07:00
0139dbbfda
Merge branch 'master' of github.com:elastic/elasticsearch-js into non-poluting-promise-lib
2016-04-05 12:41:01 -07:00
3a54441be1
Merge pull request #385 from spalger/test/externalStreamLog
...
added test to ensure stream log could be configured
2016-04-05 09:41:56 -07:00
85776df630
[api] regenerate
2016-04-05 09:22:43 -07:00
a55ed2f2ba
[client/config/logger/test] added test to ensure stream log could be configured
2016-04-05 08:56:26 -07:00
9dfcc20bd9
Use JSON.stringify to log objects
...
There are two major advantages to JSON.stringify over util.inspect:
1.) JSON.stringify defaults to recursively printing deeply nested
objects.
2.) JSON.stringify output is JSON, meaning it can be taken directly from
the output and used wherever JSON is accepted. util.inspect output is
JSON-like, but also includes other annotation such as the types of
various values, as well as functions on objects.
2016-03-31 14:08:27 -04:00
6714ae55c6
[api] regenerate, set 2.3 to default
2016-03-30 12:06:13 -07:00
d577f4b9af
Add proper support of http.Agent keepAlive
2016-03-15 18:08:45 -04:00
e9ef6db2cd
[apis] regenerate
2016-02-20 12:59:30 -08:00
e081e6ab77
[promise] swap out promise-js due to https://github.com/elastic/elasticsearch-js/issues/345
2016-02-15 12:31:40 -07:00
7c3e5aefcd
https://github.com/elastic/elasticsearch-js/issues/357 - fixing separated spelling error
2016-02-06 00:21:01 -07:00
453cd9e1af
[transport] expose a method for updating the host list
2016-02-04 12:12:25 -07:00
916aca58c8
Fix #324
...
Added support for string hosts in ConnectionAbstract constructor.
Host constructor is used with supplied host string to create host object for ConnectionAbstract.
2016-01-31 12:40:01 +02:00
4e152d8b7d
Update host.js
...
window can be defined and yet window.location can be undefined: both "window" and "window.location" must be defined to access to "protocol" information
2016-01-20 11:42:39 +01:00
9ed1afbcd6
[nodesToHost] align with es.py host parsing behavior
2016-01-10 15:32:18 -07:00
65fab7550b
[api] regenerate
2016-01-10 15:08:44 -07:00
52af533ede
Merge pull request #330 from jmm/issue-226
...
Enhance HTTP connector / transport error messages with more detail
2016-01-10 14:29:20 -07:00
843265328f
Merge pull request #334 from jmm/transport-api-docs
...
Fix Transport request doc issues.
2016-01-10 14:08:04 -07:00
b48ec5c91c
Merge pull request #335 from jmm/log-docs
...
Corrections to log source docs.
2016-01-10 14:07:41 -07:00
8aa35d0b61
Perform early return in Log ctor.
2016-01-08 17:29:31 -05:00
2d92f3268e
Corrections to log source docs.
2016-01-08 17:05:04 -05:00
7696e0624a
Fix Transport request doc issues.
2016-01-08 16:27:36 -05:00
187ec62bbd
regenerate api files without jshint comments
2016-01-08 14:23:41 -07:00
bfcef3d242
make default api 2.1, include unstable branches in browser
2016-01-08 14:21:26 -07:00
d0d55f8f3e
switch from jshint to eslint
2016-01-08 14:21:26 -07:00
57238355a4
Enhance error message with more detail.
2016-01-08 13:42:49 -05:00
7d5b0395e6
Merge pull request #329 from spalger/implement/createNodeAgent
...
Implement createNodeAgent config
2016-01-07 09:14:54 -07:00
0e3fe1586f
[errors] ensure that error.status is always a number when defined
2016-01-05 14:25:14 -07:00
964b7ae24e
added tasks.list api
2016-01-05 13:12:32 -07:00
8bed4a85ec
[config][connection] allow overwriting connections agents
2016-01-05 10:04:24 -07:00
f10bcfcd45
added 2.2 apiVersion
2016-01-04 10:44:34 -07:00
4d77b2b022
update apis
2015-12-30 14:53:42 -07:00
bf8ef6e503
Merge pull request #289 from saschagoebel/master
...
Always send Content-Length header. Fixes compatibility issues with el…
2015-11-30 10:32:08 -06:00
fdd9803aac
remove bluebird from client, use ES6 promise instead
2015-11-24 15:14:15 -06:00
11f95852da
set default api to 2.1
2015-11-24 14:44:23 -06:00
391f2286ce
[transport] set the content-type header based on the serialization type
2015-11-16 17:45:14 -06:00
6cfabff215
Merge pull request #275 from lpetre/fixing_domain_callbacks
...
Fixing domain callbacks
2015-11-16 16:02:32 -06:00
5d3803d224
Merge branch 'master' of github.com:elastic/elasticsearch-js into fix/leakingTimesInTransport
2015-11-16 15:45:32 -06:00
16ce988120
[Log] refactor the Log#listenerCount method
...
Previously the method would conditionally execute one or multiple code paths,
but now the implementation is chosen when the class is initialized and the language
was updated to not specify version numbers.
2015-11-16 15:39:06 -06:00
27b86048e1
Merge branch 'master' of github.com:elastic/elasticsearch-js into fix/leakingTimesInTransport
2015-11-16 15:30:37 -06:00
015f55497a
[transport] split regex in two, so that capturing groups still align
2015-11-16 15:16:28 -06:00
eda443b5b6
[transport] maintain support for 1.x nodes formatted urls
2015-11-16 15:12:05 -06:00
7319b49df6
[transport] use the regex used by elasticsearch-py
...
See 24b4885240/elasticsearch/transport.py (L12)
2015-11-16 14:53:13 -06:00
bedf5c3537
[transport] prevent the transport from leaking timer id's
2015-11-16 14:51:18 -06:00
6f7e165ce1
Always send Content-Length header. Fixes compatibility issues with elasticsearch behind nginx.
...
See https://github.com/elastic/cookbook-elasticsearch/issues/38 or http://serverfault.com/questions/164220/is-there-a-way-to-avoid-nginx-411-content-length-required-errors
2015-11-06 09:36:19 +01:00
3f0bc01eae
[apis] regenerate
2015-10-30 17:55:13 -05:00
eb90ccb806
[errors] when responding to a 401, pass through the www-authenticate header
2015-10-30 17:37:50 -05:00
f269d8b6ad
[errors] extend the names that errors can be found by
2015-10-30 17:12:42 -05:00