Commit Graph

245 Commits

Author SHA1 Message Date
7867f14476 bump moment version 2016-08-04 16:00:55 -07:00
8b652f11a9 0.10.2 2016-07-22 14:41:47 -07:00
f3ac7c1958 add not about header passing on job creation 2016-07-21 14:44:57 -07:00
597052dc4e add test for passing headers on job creation 2016-07-21 14:39:07 -07:00
2c5519c253 pass headers on job creation 2016-07-21 14:31:32 -07:00
b916d1352a rename client creation module 2016-07-21 14:31:15 -07:00
6ad438db96 0.10.1 2016-07-19 13:43:18 -07:00
38287f10f7 update the changelog 2016-07-19 12:59:50 -07:00
9d20095ffb add a test for index refreshing 2016-07-19 12:59:24 -07:00
67381108d7 add indices.refresh method to mock client 2016-07-19 12:51:34 -07:00
2c025e02c9 refresh the index after adding job
makes the job searchable after the creation event emits
2016-07-19 12:49:27 -07:00
041af798a8 0.10.0 2016-07-12 13:39:39 -07:00
fd118fa746 add test for passing params to workers 2016-07-12 13:31:40 -07:00
f8db6e1bd3 add queue tests for job creation 2016-07-12 13:31:25 -07:00
775442f284 update worker failure tests
check for timeouts, rejections and thrown errors explicitely, and make the tests a little more focused
2016-07-12 11:15:43 -07:00
8e8609eede always emit job failure event 2016-07-12 11:15:05 -07:00
25878c0b33 add notes about events in the readme 2016-07-12 10:55:41 -07:00
bfe8799b90 add job creation error
use it on creation error, update tests
2016-07-11 16:03:59 -07:00
c758fb55a6 rename the worker timeout error 2016-07-11 15:48:31 -07:00
8cd2fde3a8 add test for worker failure event 2016-07-11 15:48:08 -07:00
9a71fcc7b5 emit on any worker job failure 2016-07-11 15:48:08 -07:00
95569c9e82 update changelog 2016-07-11 15:48:08 -07:00
288daecb6b Job - add emit on Queue instance test 2016-07-11 15:48:08 -07:00
9cfc080b64 emit events on queue instance 2016-07-11 15:48:08 -07:00
bdd94096db update Job tests, use mockQueue 2016-07-11 15:48:08 -07:00
40d67829c8 pass the entire queue to the Job instance 2016-07-11 15:48:08 -07:00
a50dbf752e add success and failure event tests for jobs 2016-07-11 15:48:08 -07:00
630733b093 apped job index to event 2016-07-11 15:48:07 -07:00
c6986e3677 move constants to lib root 2016-07-11 15:48:04 -07:00
27390fef44 put job info under job property on success emitter 2016-07-11 10:27:08 -07:00
3b135bbd09 update the changelog 2016-07-08 18:36:14 -07:00
5ed3280a18 test events triggered on queue, use mock queue 2016-07-08 18:35:36 -07:00
79358a76dd create a mock queue 2016-07-08 18:34:58 -07:00
d16d3ea4dd cause worker emitter to emit on the queue instance 2016-07-08 18:34:45 -07:00
057bd26b74 emit on worker completion
with test
2016-07-08 18:00:04 -07:00
362469f541 error emitters should return more than just the error
update tests, and properly catch error conditions in worker event tests
2016-07-08 18:00:04 -07:00
a2391a30c5 update event handlers in tests
use constants values for listeners
2016-07-08 18:00:04 -07:00
3934f0cd1b update emit calls with constants 2016-07-08 18:00:04 -07:00
919fec4835 add event types to constants 2016-07-08 18:00:04 -07:00
b99f5ff1b9 don't pass headers through to jobs 2016-07-08 18:00:02 -07:00
c44d275395 update the changelog doc 2016-07-08 17:26:53 -07:00
da57fdeee7 0.9.0 2016-06-28 18:35:58 -07:00
aa2c0040d5 add indexSettings option to the docs 2016-06-28 18:35:44 -07:00
d2e843f05b collect indexSettings on queue creation, pass to job and use at index creation 2016-06-28 18:29:56 -07:00
13a78d12cc allow index settings to be passed on index creation 2016-06-28 18:28:53 -07:00
1d4c45c5d9 fix worker debug output 2016-06-28 18:28:12 -07:00
eba6748ba9 add tests for various failure types 2016-06-28 18:03:15 -07:00
257645f11c add tests for worker timeout handling 2016-06-28 18:03:06 -07:00
460d83411e properly handle job errors without a toString method 2016-06-28 17:49:45 -07:00
2b2db9c5f9 add UnspecifiedWorkerError error 2016-06-28 17:49:10 -07:00