f493527dc4
[eslint] fix no-unused-vars violations
2018-05-14 12:16:03 -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
ef905ce080
[test/clientManager] remove incorrect use of snapshot arg
2016-10-26 18:06:35 -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
fbac07a6ed
_.pairs => _.toPairs
2016-05-19 08:43:38 -07:00
68a8f712c8
fix eslint errors
2016-05-19 07:52:01 -07:00
bd93bc914c
_.unique -> _.uniq && _.pluck -> _.map
2016-05-19 07:31:15 -07:00
fe5bad3327
move section headers to client logger
2016-02-22 10:55:14 -08:00
aae2d96d56
[YamlDoc] add section description logging
2016-02-22 10:46:34 -08:00
ece9fa6da8
[YamlDoc] accept headers from yaml tests
2016-02-22 10:22:56 -08:00
ca01cd112c
log meaningful warnings for new yaml-test args
2016-02-20 13:43:00 -08:00
7c3e5aefcd
https://github.com/elastic/elasticsearch-js/issues/357 - fixing separated spelling error
2016-02-06 00:21:01 -07:00
d0d55f8f3e
switch from jshint to eslint
2016-01-08 14:21:26 -07:00
f140745527
fix recursive value replacement
...
The recursive search for $vars was naively using `typeof` to determing if something is an object, which of course failes on `null`...
2015-12-30 18:12:07 -07:00
da50dd5ce6
use bluebird in the yaml docs
2015-11-24 15:32:21 -06:00
236cd91297
clean up snapshots serially to not trigger snapshot cleanup bug
2015-10-26 16:05:29 -05:00
6368d12a2f
Support setting elasticsearch bind host for tests
2015-08-25 11:46:20 -07:00
96515e9ced
support request_timeout catch in yaml tests
2015-08-18 16:34:44 -07:00
de3c00b0dc
enhance response errors with request/response metadata
2015-08-04 05:01:18 -07:00
a527416976
update config to support repository urls and enable scripting related tests
2015-07-20 09:44:21 -07:00
89aa4575a5
properly pass port around
2015-07-02 14:53:52 -07:00
878a3e41ce
strip timeout override left from debugging
2015-07-02 13:07:27 -07:00
863cb7a61c
clear the snapshot repos after every doc
2015-07-02 13:05:06 -07:00
5e1da82688
added filterPath support to master api and enhanced yaml testing
2015-06-02 11:23:04 -07:00
68b9214ab4
allow range string 'all'
2015-05-07 09:08:30 -07:00
55aff23c1e
added support for unbounded skip expressions
2015-04-21 11:40:43 -07:00
77f73533ee
the default config has to change with the removal of 'script.disable_dynamic' in 2.0
2015-04-01 10:21:43 -07:00
7d837f704c
enable trace logging on jenkins
2015-03-30 10:28:37 -07:00
ec6b0fcefc
auditted lodash usage to ensure that it is compatible with lodash 3.0
2015-03-17 13:52:10 -07:00
7fa689344f
run tests on jenkins with trace level logging
2015-01-29 11:54:13 -07:00
102d8965d6
log earlier, for formatting sake
2015-01-11 16:09:38 -07:00
176febb3b9
report args from yaml suite runner
2015-01-10 14:21:05 -07:00
b182141d07
support running integration tests against a specific version
2015-01-10 13:50:59 -07:00
2329544ee6
allow setting the ES_PORT
2015-01-10 11:19:03 -07:00
1950a38fd7
additional debugging to help with Jenkins build error
2014-11-24 09:24:13 -07:00
6d0a15d82e
cleaned up the new do_match task
2014-07-30 11:40:41 -07:00
00a721a112
another attempt to prevent failures because of visionmedia/mocha#1292
2014-07-30 10:10:41 -07:00
5ade73c8bb
forcing the latest version of mocha because of visionmedia/mocha#1292
2014-07-30 10:06:49 -07:00
0e05b0f0a1
updated tests to be compatible with the limited api version available in the browser_client, and updated grunt-saucelabs
2014-07-30 10:01:43 -07:00
017a554683
fixed the match action in the yaml tests to follow updated conventions.
2014-07-29 22:03:20 -07:00
7a2571f11a
updated other places that es is cleared to also clear templates
2014-06-09 10:03:05 -07:00
ec199bde2f
ensure that templates are also cleared before each test
2014-06-09 09:21:25 -07:00
00fdc86315
stop failing the build because of overworked/slow es test servers
2014-04-25 14:45:24 -07:00
dcc4a3747f
Updated the API to the latest version and fixed an issue with the test runner,
...
which was confused by parameters that were in the URL, but not in the params list.
2014-04-15 08:30:42 -07:00
af89a4917f
test fixes...
2014-03-28 16:11:00 -07:00
222598a235
added features parsing and lte/gte methods
2014-03-27 11:13:58 -07:00
66a399d623
adjusted the 'do' action, so that it will replace $args within the body
2014-03-03 08:32:43 -07:00