Commit Graph

1790 Commits

Author SHA1 Message Date
55c507c423 API generation 2018-10-30 17:26:22 +01:00
ad9b68aea6 Added API generation scripts 2018-10-30 17:25:23 +01:00
21a5c29aa8 Updated test 2018-10-30 16:36:03 +01:00
c9635c4a71 WIP: initial prototype
- Added support for different format of requestTimemout
- Changed api method result
- Now we are always returning the result in case of error
- Improved body deserialization
- Added cast to boolen for HEAD requests
- Added support for already serialized strings in the ndserializer
- Fixed qserializer in case of null object
- Updated Errors
2018-10-30 16:32:10 +01:00
915e4ca432 version 15.2.0
(cherry picked from commit 29c338193a)
2018-10-29 12:32:18 -07:00
ec0514cf59 [apis] regenerate 2018-10-29 12:21:37 -07:00
11d8504d79 add 6.4 and 6.5 branch support, 6.4 is the new default
(cherry picked from commit 2ee5166555)
2018-10-29 12:21:04 -07:00
961b8224ef Updated test 2018-10-26 19:06:04 +02:00
51e6c76511 WIP: initial prototype
- Added querystring support
- Added support for already serialized bodies
2018-10-26 19:04:45 +02:00
a7107b8425 Add initial structure for running tests on clients-ci (#717)
In order to migrate to running tests on https://clients-ci.elastic.co/,
we'll need to establish some conventional structure for controlling the
Jenkins jobs. The first convention is a build script that Jenkins will
execute, and the second will be a definition of the matrix axes values
to cover the version combinations that we'd like to test.

Having those two items defined within the repository means that only
minimal tweaking of the actual Jenkins job itself will be required in
the future.
2018-10-26 17:59:26 +01:00
8429ad28d9 Updated test 2018-10-25 17:16:29 +02:00
8ce9f970f0 WIP: initial prototype
- Added randomizeHost option
- Added ignore status code option
- Updated error classes
- Added ndjson support
- Retry on 502/3/4
2018-10-25 17:10:00 +02:00
145e2ab5e5 Updated .gitignore 2018-10-25 17:07:01 +02:00
714bc44435 remove dead percolator link (#716) 2018-10-24 10:31:49 -07:00
aca2712161 Updated test 2018-10-24 15:52:17 +02:00
3c8aaaecd1 WIP: initial prototype
- Added more sniffing options
- Added support for different resurrection strategies
- Fixed url resolving
2018-10-24 15:52:11 +02:00
f26d402725 Fix typo: "Integrer -> Integer" (#715)
(cherry picked from commit 559ed04e4a)
2018-10-23 18:38:58 -07:00
b6b04f99d8 WIP: Added some basic unit tests
- Added unit test
- Added test fixtures
- Added test utils
2018-10-22 16:54:14 +02:00
cef4e2dfc1 WIP: initial prototype
- Added support for request timeout
- Improved deserializer
- Fixed minor bugs
- Fixed typos
2018-10-22 16:50:17 +02:00
68cca6069b WIP: initial prototype
- Added keep-alive Agent
- Added support for HTTPS
- Added log events
2018-10-19 15:04:07 +02:00
d0ac6b1f52 Added LICENSE 2018-10-18 17:49:13 +02:00
76fadd1466 Added package.json 2018-10-18 17:27:38 +02:00
e1b80882af Initial prototype 2018-10-18 17:27:31 +02:00
7dbb9214d2 Added .gitignore 2018-10-18 16:57:09 +02:00
277d33715c [ping()] determine ping timeout at runtime (#679)
* [ping()] determine ping timeout at runtime

* generate

* single line

* remove pingTimeout param

* [docs] Add note about pingTimeout priority

* remove default ping requestTimeout test

* add test
2018-09-24 11:48:03 -05:00
3a56e02ae6 [package] remove accidental duplicate branch name 2018-07-03 12:39:45 -07:00
0a924eb0f1 [lodash] fix missed _.flattenDeep() upgrade 2018-07-03 12:36:26 -07:00
2d4fe2f83a bring over changes from version 15.1.1
(cherry picked from commit bd7dbe7845)
2018-07-03 12:14:05 -07:00
d26c91c840 Fix: Serialization does not handle non-enumerable properties in Node versions < 5.x (#677) 2018-07-03 12:08:17 -07:00
40f43838dd bring over changes from 15.1 2018-07-03 09:53:32 -07:00
15422ddbed [apis] regenerate 2018-07-03 09:42:31 -07:00
6d5f535236 add support for 6.3 api 2018-07-03 09:42:23 -07:00
9c98262b87 📖 fix badly-formatted link in logging docs 2018-06-11 09:47:47 -07:00
83a464ac66 Update docs to use async/await (#667)
* [docs] update readme and examples to use async/await

* [apis] regenerate (including updated examples)
2018-05-23 14:31:34 -07:00
a187ed6298 upgrade node version for dev 2018-05-21 09:57:56 -07:00
8fb64477ac [backport] add backport tool 2018-05-21 09:57:55 -07:00
d9ae763ebe [docs/extensions] mention superagent-elasticsearch (#664) 2018-05-21 09:51:37 -07:00
0f2b5f7977 [aws] remove support for aws-config files 2018-05-14 12:35:11 -07:00
115e7d6897 version 15.0.0 2018-05-14 12:22:43 -07:00
f493527dc4 [eslint] fix no-unused-vars violations 2018-05-14 12:16:03 -07:00
898913545a [eslint] fix no-unused-expressions violations 2018-05-14 12:06:03 -07:00
3c692c1f6e [apis] regenerate 2018-05-14 12:01:48 -07:00
2925948e12 [generate/api] ensure that paths start with a / 2018-05-14 11:59:05 -07:00
a1042f6310 [esApi/master] use /index/type/_mapping versions of indices.putMapping 2018-05-14 11:58:52 -07:00
ee09e1ef0a [eslint] lint the whole repo, rely on ignores for file selection 2018-05-14 11:43:10 -07:00
4156feca27 remove deepMerge util 2018-05-14 11:42:47 -07:00
f1de944809 Upgrade to lodash v4 (#660)
* npm install lodash-2

Someone handily published a lodash-2 v4.17.4 - it is exactly the same as lodash v4.17.4, so it is safe to use during the migration.

* use lodash-2 in tests

* update tests to split utils vs lodash

* remove Utils.nextTick usage

Utils.nextTick with a single argument is the same as process.nextTick

* lowercase utils

Because it seems that this is the coding style in this repo

* upgrade lodash in grunt/*

* keep lodash-2 as a dev dep for now

* use lodash-2 in scripts

* use snakeCase from utils

It was a mistake in my previous commit to not update this usage

* fix naming gruntUtils vs utils

As all three - gruntUtils, utils and lodash (_) are getting passed into templates, it makes sense to keep the naming consistent

* fix naming gruntUtils vs utils

As all three - gruntUtils, utils and lodash (_) are getting passed into templates, it makes sense to keep the naming consistent

* split utils vs lodash in scripts/generate

Also use lodash-2 where it is easy to do so

* use utils.get until lodash upgrade

* remove lodash.isempty; lodash-2 now used in prod (in src/lib/apis/ code)

* unbundle lodash from utils

* upgrade to lodash 4

* remove lodash.get and lodash.trimEnd

* clean out unused code

* clean out unused code

* fix a breaking change listed under "notable changes" rather than under "breaking changes"...
2018-05-14 11:37:23 -07:00
4cd2b3e506 Fix word mixup in docs (#658) 2018-05-04 16:44:25 -07:00
3109b40fd6 [apis] regenerate 2018-04-03 09:50:05 -07:00
26350196d2 version 14.2.2 2018-03-29 12:34:29 -07:00