04583c2f96
implement config.sniffedNodesProtocol
...
If you use https to protect traffic between esjs client and the nodes in your cluster then you also can't use sniffing. This is because we use the /_nodes/_all/clear output to populate the connection pool and that API does not know that the nodes speak HTTPS at all. This change implements the config.sniffedNodesProtocol to fix this.
As it is implemented here, the sniffedNodesProtocol can be set to a string which will be used as the protocol configuration for each Host object created durring sniffing, plain and simple. The default value for this configuration depends on the hosts initially passed to the client, if all of the nodes have the same protocol that protocol is used. If your nodes list is empty or there is a mixture of protocols in this list then "http" is used, as it is the default protocol for each host.
2015-09-10 18:47:05 -07:00
0ddcb057b4
Merge pull request #267 from spalger/fix/promiseRejection
...
[transport/request] ensure the return value gets defined
2015-09-10 15:25:54 -07:00
a9175dad58
[transport] before failing to send a request, ensure the return value is defined
2015-09-10 15:13:07 -07:00
85b2d8739a
Merge pull request #266 from dropfen/master
...
Get rid of the number of the beast
2015-09-10 11:18:37 -07:00
b811629e03
pass the node.testattr=test to 2.0+ es test instances
2015-09-10 09:58:17 -07:00
340639162c
regenerate apis
2015-09-10 09:57:44 -07:00
94ca9d6f5b
Get rid of the satanic cult
2015-09-10 14:49:03 +02:00
cd336c6d6e
version 8.1.0
2015-09-08 18:28:12 -07:00
6e0d273d75
support node 4
2015-09-08 18:02:13 -07:00
8e5a57cf2a
added 2.x api branch
2015-09-08 17:39:54 -07:00
bb320d1d03
Merge pull request #259 from oppenlander/patch-1
...
Added section for extending a Connection.
2015-08-31 15:00:37 -07:00
b073292b77
Added section for extending a Connection.
2015-08-31 17:36:59 -04:00
2ff34dc030
regenerate api
2015-08-28 12:40:05 -07:00
798551358a
version 8.0.1
...
accidentally unpublished elasticsearch-browser@8.0.0, and need to keep
the version numbers in sync
2015-08-26 09:58:04 -07:00
8e0c1d23cb
version 8.0.0
2015-08-26 09:47:45 -07:00
9ef05d297f
revert default api back to 1.7, until 2.0 GA is released
2015-08-26 09:45:13 -07:00
c3c4c089f7
updated changelog
2015-08-26 09:41:26 -07:00
1fc058f396
version 7.0.0
2015-08-26 09:40:08 -07:00
c6ee20b37e
update api doc files
2015-08-25 13:25:48 -07:00
6368d12a2f
Support setting elasticsearch bind host for tests
2015-08-25 11:46:20 -07:00
f2a0cede2e
Add support for EE#listenerCount()
2015-08-25 11:28:22 -07:00
85b9a1f740
update grunt-esvm
2015-08-25 11:27:59 -07:00
4fa70fe645
added 2.0 as bonefide apiVersion
2015-08-19 10:28:19 -07:00
1b653af040
add 2.0 api to the indexes
2015-08-19 10:09:57 -05:00
846dec1137
added note to changelog about http status code support
2015-08-18 16:59:05 -07:00
ea6721127f
version 6.1.0
2015-08-18 16:49:30 -07:00
96515e9ced
support request_timeout catch in yaml tests
2015-08-18 16:34:44 -07:00
e580b86e2a
support status message errors for many http statuses
2015-08-18 16:34:44 -07:00
3c67070377
added 2.0 branch to list of unsupported branches available
2015-08-18 16:33:12 -07:00
fddae2376e
Merge pull request #252 from msimerson/patch-1
...
correct typo
2015-08-06 17:00:29 -07:00
466680f461
Merge pull request #234 from ycombinator/gh-232
...
Adding 429 HTTP status code
2015-08-06 16:59:11 -07:00
142ec6f7b0
correct typo
2015-08-06 16:53:42 -07:00
993d3470da
Merge pull request #248 from Zenedith/err-429-too-many-requests
...
Added support for http error 429: 'Too Many Requests'
2015-08-05 13:11:22 -07:00
418046f60f
Merge pull request #249 from zoellner/patch-countExample
...
updated client.count example
2015-08-05 13:10:51 -07:00
4cd4f1ed6b
Merge pull request #251 from cfeio/patch-1
...
Fix spelling mistake: Upcomming -> upcoming
2015-08-05 13:09:13 -07:00
68bbc16464
Fix spelling mistake: Upcomming -> upcoming
2015-08-05 14:39:25 -05:00
c291a2f8b4
updated client.count example (current example leads to error 400, QueryParsingException, request does not support [filtered]])
2015-08-05 11:37:17 -07:00
110b54940b
After signed the CLA
2015-08-04 22:19:29 +02:00
2b40833fa8
Added support for http error 429: 'Too Many Requests'
2015-08-04 22:03:18 +02:00
88adcd7767
regenerate the docs
2015-08-04 10:50:16 -07:00
8940e77a0c
Merge branch 'pr/237'
2015-08-04 10:49:46 -07:00
82f17ee591
apply 3403fb6 to source file
2015-08-04 10:49:28 -07:00
bebb993fc9
Merge pull request #242 from apechimp/master
...
Correct dead timeout in the docs.
2015-08-04 10:44:15 -07:00
df3fc6c9bd
update changelog
2015-08-04 05:46:13 -07:00
034a4f9ba9
version 6.0.0
2015-08-04 05:42:57 -07:00
fecf1b2ea2
update support elasticsearch versions
2015-08-04 05:10:26 -07:00
4c1d3d203c
update master api
2015-08-04 05:01:37 -07:00
de3c00b0dc
enhance response errors with request/response metadata
2015-08-04 05:01:18 -07:00
a460ef8146
update elasticsearch version to 1.7
2015-08-04 03:59:59 -07:00
e8b3fc795d
don't cache elasticsearch repo used for code generation
2015-08-04 03:57:32 -07:00