Commit Graph

258 Commits

Author SHA1 Message Date
0a924eb0f1 [lodash] fix missed _.flattenDeep() upgrade 2018-07-03 12:36:26 -07:00
8fb64477ac [backport] add backport tool 2018-05-21 09:57:55 -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
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
a49f7adb78 [api/overrides] fix version range for clearScroll->castToArray 2018-03-28 13:59:04 -07:00
1649059c8c [generate/api] rewrite doc urls with branch
(cherry picked from commit 8fa499d070)
2017-07-31 12:41:04 -07:00
7ad3a7e196 Use json version of scroll api for 2.0 and greater (#576)
(cherry picked from commit 3b809be324)
2017-07-31 11:47:39 -07:00
080e4a0641 [generate] handle methods with more than one namespace 2017-06-14 15:53:38 -07:00
90a0ae1eb9 add a castToArray option to paramAsBody spec (#541)
(cherry picked from commit 35b342550e)
2017-05-09 14:11:24 -07:00
a8d42008c1 remove debugger
(cherry picked from commit 036fb89f74)
2017-05-01 16:49:37 -07:00
94ec6e6139 define description overrides by version, like examples 2017-05-01 16:33:26 -07:00
e9c34d8d4f Manually incrementing the hardcoded master version to 6.0 (#535)
* Manually incrementing the hardcoded master version to 6.0

* Adding branch_versions to the package.json

* Modifying the way branch_versions work
2017-05-01 16:33:15 -07:00
c728579d86 [http] accept and document rest of params for agentkeepalive 2017-04-03 18:34:59 -07:00
347549c04a sting => String 2017-04-03 17:59:10 -07:00
d452294124 limit sending scrollId as the body to 5.3+ 2017-02-14 18:36:42 -07:00
098da3d36a [generate/Version] fix the direction of merges 2017-02-14 18:36:22 -07:00
8c7a25f466 [api/paramAsBody] support sending params as named json properties 2017-02-14 18:22:13 -07:00
adb3de5b3b clean up lodash 4 upgrade crumbs 2017-02-13 15:28:08 -07:00
fa4c08748b use getters for api versions in node 2017-02-09 01:25:28 -07:00
2452dfec70 [api/generate] ignore spec files that start with an underscore 2017-01-18 15:50:54 -07:00
97706ce5fd send scrollId as body for clearScroll method 2016-11-21 15:07:02 -07:00
14a32e320f [docs/config] mention httpAuth 2016-11-16 18:36:51 -07:00
9fee381c8e [docs] add more detailed type information for parameters 2016-11-16 18:24:50 -07:00
2452d68e0a [docs] focus on the API Conventions a bit 2016-11-16 13:08:50 -07:00
849c28a8d0 [docs] add body parameter to all methods that accept it 2016-11-16 13:01:05 -07:00
dd8fab9bdc [docs] use print() so control flow is clearer 2016-11-16 12:31:42 -07:00
29eb81a52c [docs] label timestamp/duration types differently 2016-11-16 12:29:56 -07:00
7de7928fc7 add a 5.0+ exapmle for the scroll api 2016-11-16 11:54:24 -07:00
651cc00b92 add changelog to doc site 2016-10-31 16:22:26 -07:00
006b8917ef [api/generate] prevent overriding the create method 2016-10-26 19:09:25 -07:00
b526bb05e7 [api/generate] add overrides for 5.0/2.4 changes 2016-10-26 17:52:08 -07:00
22febcbe38 [api] add the special "" option for refresh 2016-07-06 23:13:18 -06:00
fc04071fb0 [generate] support extending the rest-api specs via merge+concat 2016-07-06 23:12:54 -06:00
6e833951d1 [generate] ensure that all api definitions use strings for their options 2016-07-06 22:32:07 -06:00
6f43f59d32 update generate script to accept alternat es repo location 2016-05-20 13:55:29 -07:00
8ad271d81c and finally, return to standard mo 2016-05-19 14:33:04 -07:00
ec06c51c5d final sweep, moved everything to _v4 2016-05-19 14:23:33 -07:00
4a77556866 tracked down more necessary updated, lots of _.bind() 2016-05-19 12:47:33 -07:00
c7f6c09d8c get the unit tests to pass 2016-05-19 09:09:31 -07:00
b2929de9d5 _.contains -> _.includes 2016-05-19 08:43:19 -07:00
68a8f712c8 fix eslint errors 2016-05-19 07:52:01 -07:00
939cca84c6 add new override for master api 2016-05-19 07:31:36 -07:00
bd93bc914c _.unique -> _.uniq && _.pluck -> _.map 2016-05-19 07:31:15 -07:00
d1e5940f73 force lodash v4 on some iterators so they do not run multiple times 2016-05-19 07:30:26 -07:00
21e96b7080 _.rest -> _.tail 2016-05-19 07:29:11 -07:00
3d1efa57a0 splip in lodash-migrate for debugging 2016-05-19 07:28:52 -07:00
531f57b004 just use nvm install to install and activate correct version 2016-05-19 06:33:17 -07:00
569280ea4b [jenkins] install node-version mentioned in the source 2016-05-03 09:43:25 -07:00
bac139aec2 [api] ignore an alias in reindex.rethrottle() 2016-04-05 09:21:06 -07:00