Commit Graph

39 Commits

Author SHA1 Message Date
c130331e69 Updated license header (#915) 2019-07-22 12:15:00 +02:00
f8034c60bc API generation 2019-05-16 16:56:01 -04:00
c68a5ce9a2 Patch deprecated parameters (#851)
* Updated code generation

* API generation

* API generation

* Updated code generation
2019-05-16 16:55:07 -04:00
7f2142264b API generation 2019-05-03 19:05:11 +02:00
bbe243b758 Simplify API wrappers (#839)
* Updated code generation

* API generation

* Updated test

* Updated code generation

* API generation

* API generation
2019-05-03 19:04:42 +02:00
6ebaa2ce00 API generation 2019-05-03 17:28:01 +02:00
ed9db61d1f Improve observability (#834)
* API generation

* Added correlation id support

* Updated docs

* Updated test

* Updated code generation

* API generation

* Updated code generation

* Added support for client name and custom context object

* Updated docs

* Updated test

* Fix docs

* Updated docs

* Added id support also for sniffing

* Updated test

* Update docs/observability.asciidoc

Co-Authored-By: delvedor <delvedor@users.noreply.github.com>

* Update docs/observability.asciidoc

Co-Authored-By: delvedor <delvedor@users.noreply.github.com>

* Apply suggestions

* Update docs/configuration.asciidoc

Co-Authored-By: delvedor <delvedor@users.noreply.github.com>

* Update docs/configuration.asciidoc

Co-Authored-By: delvedor <delvedor@users.noreply.github.com>

* Update docs/observability.asciidoc

Co-Authored-By: delvedor <delvedor@users.noreply.github.com>

* Update docs/observability.asciidoc

Co-Authored-By: delvedor <delvedor@users.noreply.github.com>

* Update docs/observability.asciidoc

Co-Authored-By: delvedor <delvedor@users.noreply.github.com>

* Apply suggestions

* Updated README.md

* Fixed test

* Addressed suggestions
2019-05-03 17:27:32 +02:00
92e786e9c6 API generation 2019-04-10 11:47:21 +02:00
e6f0d272ca Improve typings (#813)
The ApiResponse now accepts a generics that defaults to any, same for every API method that might need a body.
2019-04-10 11:46:29 +02:00
bf97b20867 API generation 2019-03-27 19:25:10 +01:00
081cac4813 API generation 2019-03-26 12:12:34 +01:00
79adf72145 Merge branch 'master' into 5.x 2019-03-26 12:12:01 +01:00
46bd14a36c Better api error handling (#790)
* API generation

* Updated code generation

* Updated test
2019-03-26 12:04:44 +01:00
b19f0d5fc7 API generation 2019-03-19 11:23:46 +01:00
8b3eca2611 Feat: Support bundlers (#783)
With this change, we support code bundlers, such as webpack.
Fixes: https://github.com/elastic/elasticsearch-js/issues/781
2019-03-19 10:34:12 +01:00
796644fc0c feat: add support for querystring in options object (#779)
In very few cases, some API uses the same key for both url and query params, such as the bulk method.
The client is not designed to handle such cases since accepts both url and query keys in the same object, and the url parameter will always take precedence.
This pr fixes this edge case by adding a `querystring` key in the options object.

Fixes: https://github.com/elastic/elasticsearch-js/pull/778

```js
client.bulk({
  index: 'index',
  type: '_doc',
  body: [...]
}, {
  querystring: {
    type: '_doc'
  }
}, console.log)
```
2019-03-19 10:34:12 +01:00
3b41c555ae Feat: Support bundlers (#783)
With this change, we support code bundlers, such as webpack.
Fixes: https://github.com/elastic/elasticsearch-js/issues/781
2019-03-19 07:50:05 +01:00
c53c798899 feat: add support for querystring in options object (#779)
In very few cases, some API uses the same key for both url and query params, such as the bulk method.
The client is not designed to handle such cases since accepts both url and query keys in the same object, and the url parameter will always take precedence.
This pr fixes this edge case by adding a `querystring` key in the options object.

Fixes: https://github.com/elastic/elasticsearch-js/pull/778

```js
client.bulk({
  index: 'index',
  type: '_doc',
  body: [...]
}, {
  querystring: {
    type: '_doc'
  }
}, console.log)
```
2019-03-15 18:09:44 +01:00
2ca3754d20 API generation 2019-03-13 14:12:38 +01:00
5c6c5dea78 API generation 2019-03-11 18:34:39 +01:00
cae38e6b2b License (#773)
- Added license header
- Added license checker
- Fixed tap
2019-03-08 07:47:24 +01:00
ed3cca0fe6 Platinum integration test (#772)
🎉
2019-03-01 08:42:56 +01:00
92c23232a7 API generation 2019-02-18 12:59:29 +01:00
96fe644eb2 API generation 2019-02-15 10:29:48 +01:00
0355322ef4 API generation 2019-02-12 16:39:49 +01:00
7c63c2d9e2 API generation 2019-01-30 11:38:36 +01:00
3bb4fda004 API generation 2019-01-30 09:33:04 +01:00
23cfe11e44 Unknown parameters handling (#761) 2019-01-29 17:31:43 +01:00
7acd2e3b07 Elasticsearch 7 support 🚀 (#760)
* API generation

* Updated typings

* Updated code generation

* Updated test

* Updated ci configuration

* Fixed test
2019-01-29 12:10:20 +01:00
f56ae1a70d Request parameters typings (#748) 2019-01-11 14:08:49 +01:00
396686ee77 API generation 2018-12-13 16:53:21 +01:00
ab90797b65 API generation 2018-12-12 16:53:30 +01:00
e20961fb3a API generation 2018-11-21 11:15:06 +01:00
8475bc52fa API generation 2018-11-19 11:32:20 +01:00
1d696ba0d6 API generation 2018-11-15 17:46:33 +01:00
08e9ff398f API generation 2018-11-08 19:35:51 +01:00
2d3701d7e9 API generation 2018-11-05 19:17:55 +01:00
42fd15d54c API generation 2018-11-02 11:46:00 +01:00
55c507c423 API generation 2018-10-30 17:26:22 +01:00