|
|
5d9fcd14b9
|
add node 5 to travis
why not...
|
2016-04-29 16:45:21 -07:00 |
|
|
|
a0970f8ba7
|
add more worker tests
|
2016-04-29 16:44:46 -07:00 |
|
|
|
d4d38255f6
|
switch job running to callback style
|
2016-04-29 16:44:30 -07:00 |
|
|
|
21830c9eb0
|
add job add debugging
|
2016-04-29 16:44:18 -07:00 |
|
|
|
1018e2b3a8
|
use in-publish to avoid stupid prepublish npm logic
|
2016-04-29 16:03:18 -07:00 |
|
|
|
50c0563479
|
add a more useful readme
|
2016-04-29 15:47:58 -07:00 |
|
|
|
8efe69a443
|
add missing bluebird library
|
2016-04-29 15:08:41 -07:00 |
|
|
|
fcb26ca90e
|
update readme, add travis
|
2016-04-29 15:04:48 -07:00 |
|
|
|
54d3be6929
|
don't clobber error output, append worker output
|
2016-04-28 17:21:03 -07:00 |
|
|
|
d3094375dd
|
stop and start job polling when trying to claim jobs
also return claiming and execution Promise
|
2016-04-28 16:25:45 -07:00 |
|
|
|
379a8f096c
|
simplify failed job update error handler
|
2016-04-28 16:24:28 -07:00 |
|
|
|
03eca43bbf
|
move job polling into another method, add stop method
|
2016-04-28 16:15:09 -07:00 |
|
|
|
1954141345
|
mock es client search and update
|
2016-04-28 16:14:39 -07:00 |
|
|
|
c32d806886
|
make the size limit configurable
|
2016-04-28 15:14:44 -07:00 |
|
|
|
019d9f98a2
|
query for, claim and process jobs
process step is still a WIP
|
2016-04-28 15:13:19 -07:00 |
|
|
|
2c9746654d
|
create debugging output wrapper
|
2016-04-28 15:12:57 -07:00 |
|
|
|
6ea711da87
|
amend the schema - single output object, add cerated_by
|
2016-04-26 17:40:57 -07:00 |
|
|
|
9e501ace93
|
add cancelled status
|
2016-04-26 17:40:26 -07:00 |
|
|
|
0f3b21f1e8
|
add worker query for outstanding jobs
|
2016-04-26 17:40:14 -07:00 |
|
|
|
f1dc6e60dc
|
make workers private, add getter, add destroy test
|
2016-04-25 17:00:37 -07:00 |
|
|
|
eb033d9676
|
queue should track and tear down workers, with tests
|
2016-04-25 16:36:21 -07:00 |
|
|
|
482ea68692
|
add mock client to worker tests
|
2016-04-25 16:32:58 -07:00 |
|
|
|
b0f2264ab8
|
add search method to elasticsearch mock
|
2016-04-25 16:32:38 -07:00 |
|
|
|
5c4340adfc
|
start on the worker logic
|
2016-04-25 16:28:30 -07:00 |
|
|
|
7f554014a0
|
tweak the schema, status is a keyword
|
2016-04-25 16:27:07 -07:00 |
|
|
|
6ff2f2cb99
|
rename add to addJob
|
2016-04-25 15:30:17 -07:00 |
|
|
|
662d8a177c
|
assign job ids internally, update tests
useful for making toJSON fully sync and work without the elasticsearch document
|
2016-04-25 15:28:12 -07:00 |
|
|
|
58a0cf328f
|
update toJSON, add tests, remove unused var
|
2016-04-25 15:16:00 -07:00 |
|
|
|
4d5b08c3c7
|
add test for get method
|
2016-04-25 14:44:19 -07:00 |
|
|
|
576f26a4b9
|
allow id to be passed to mock elasticsearch index
|
2016-04-25 14:43:53 -07:00 |
|
|
|
c819171393
|
add get and toJSON methods to jobs
|
2016-04-25 14:31:35 -07:00 |
|
|
|
a46d8621cc
|
make constants more explicitly accessible
|
2016-04-25 14:21:28 -07:00 |
|
|
|
a4bfd5184d
|
add get method to Client, add errors to mock
|
2016-04-25 14:19:48 -07:00 |
|
|
|
c79da26f2d
|
fix bug on new job - return the promise
|
2016-04-25 13:43:48 -07:00 |
|
|
|
7624127ca3
|
add tests for priority bounds and default
|
2016-04-25 11:06:27 -07:00 |
|
|
|
d9e19bccf8
|
new jobs take options again, update schema to match index, add max_attempts, update tests
|
2016-04-25 11:01:46 -07:00 |
|
|
|
73e302fdf0
|
tweak the schema a bit
|
2016-04-25 10:55:13 -07:00 |
|
|
|
b907c0ed71
|
add optional debugging output
|
2016-04-25 10:52:58 -07:00 |
|
|
|
b78c5763ce
|
check in create_index module, with tests
|
2016-04-22 17:53:48 -07:00 |
|
|
|
7e0f45019b
|
add job test for index creation
also make other tests properly async
|
2016-04-22 17:49:37 -07:00 |
|
|
|
f120d84367
|
add indices.exists to es client mock
|
2016-04-22 17:48:35 -07:00 |
|
|
|
1114bb25b8
|
create index on job creation
|
2016-04-22 17:47:48 -07:00 |
|
|
|
bb97b7960b
|
update job status constants
|
2016-04-22 17:15:25 -07:00 |
|
|
|
fd1ebd3a33
|
clean up mock includes
|
2016-04-22 17:14:25 -07:00 |
|
|
|
47eaebf8c6
|
test for ping call on new queue
|
2016-04-22 17:03:23 -07:00 |
|
|
|
730ec68bfa
|
change the job scontructor, update tests
|
2016-04-22 17:03:10 -07:00 |
|
|
|
3318c775c0
|
make tests run with mock client
tests now work without elasticsearch running
|
2016-04-22 16:51:35 -07:00 |
|
|
|
a3a0c2b261
|
add index creation to init tasks
|
2016-04-22 16:50:41 -07:00 |
|
|
|
64945556ff
|
rename create client, fix client instance test
|
2016-04-22 16:49:38 -07:00 |
|
|
|
1171c5f0f1
|
expand the es client fixture
|
2016-04-22 16:49:19 -07:00 |
|