-
d1e5d68f74
swollow errors saving job output, include error in debugging output
Joe Fleming
2016-05-10 17:23:07 -07:00
-
e077442340
add debugging on job timeout
Joe Fleming
2016-05-10 16:57:40 -07:00
-
82506a74e8
set process_expiration by default
Joe Fleming
2016-05-10 16:01:24 -07:00
-
cae02cb0f8
add description and keywords
Joe Fleming
2016-05-10 14:12:36 -07:00
-
-
11de18f4da
0.2.1
v0.2.1
Joe Fleming
2016-05-10 14:06:37 -07:00
-
f5bf40cf71
prefix all the debugger namespaces
Joe Fleming
2016-05-05 11:41:57 -07:00
-
1f053cbb6b
stop bothering me travis
Joe Fleming
2016-05-05 09:46:59 -07:00
-
a7c0a7ca41
0.2.0
v0.2.0
Joe Fleming
2016-05-04 14:24:48 -07:00
-
61cbe592c6
provide code block format
Joe Fleming
2016-05-04 14:20:41 -07:00
-
e3559e8c8d
provide async example using promises
Joe Fleming
2016-05-04 14:20:25 -07:00
-
fa631d0a88
i only care about node4 right now
Joe Fleming
2016-05-04 14:08:44 -07:00
-
ae4e7b368e
node 5 is failing, but stable works...
Joe Fleming
2016-05-04 14:06:13 -07:00
-
4318bd672f
slim down the lodash dependencies
Joe Fleming
2016-05-04 13:28:07 -07:00
-
902f1aeb60
remove bluebird dependency
Joe Fleming
2016-05-04 12:43:28 -07:00
-
ecfd0e1d4a
use reduce to serialize claimJob attempts
Joe Fleming
2016-05-04 12:43:10 -07:00
-
1357810191
ease up on the debugging output
Joe Fleming
2016-05-04 12:41:37 -07:00
-
48f34a8bc8
update tests with sync or promise workers
Joe Fleming
2016-05-04 11:42:06 -07:00
-
6ce08acd26
worker functions use promises for async
Joe Fleming
2016-05-04 11:41:49 -07:00
-
5efccc4435
rename project to esqueue
Joe Fleming
2016-05-03 16:30:54 -07:00
-
9b31859eed
alphabetize npm scripts, clean lib on build
Joe Fleming
2016-05-03 16:12:50 -07:00
-
2ef90d88cf
add additional files to npmignore
Joe Fleming
2016-05-03 16:12:15 -07:00
-
4504c657e6
try switching to codecov
Joe Fleming
2016-05-03 15:13:45 -07:00
-
35ca41b955
add coveralls integration
Joe Fleming
2016-05-03 14:45:42 -07:00
-
594e249ee0
add test coverage reporting
Joe Fleming
2016-05-03 14:20:34 -07:00
-
ed7322b0d7
bring the version down
Joe Fleming
2016-05-03 14:09:46 -07:00
-
133564fd9b
slightly less debugging when adding jobs
Joe Fleming
2016-05-03 12:01:32 -07:00
-
9ef3fb8cec
proper async promise tests, add tests for worker timeouts
Joe Fleming
2016-05-03 11:37:22 -07:00
-
f722bbf5e1
only use fake clocks in tests were required
Joe Fleming
2016-05-03 11:36:55 -07:00
-
f725824c5f
emit job fail events, don't throw
Joe Fleming
2016-05-03 11:35:09 -07:00
-
552abb7ddd
add tests for the output formatting
Joe Fleming
2016-05-03 09:58:39 -07:00
-
14ea4617e2
change the default content body
Joe Fleming
2016-05-03 09:58:08 -07:00
-
d582989e35
simplify job error tests
Joe Fleming
2016-05-03 09:48:15 -07:00
-
696cf78464
handle worker timeouts
Joe Fleming
2016-05-02 17:51:06 -07:00
-
7dadeeb111
refactoring failures
Joe Fleming
2016-05-02 14:42:27 -07:00
-
60d486b804
add check for failed status and complete time
Joe Fleming
2016-05-02 14:31:14 -07:00
-
a143092e64
add completed time and status to failed jobs
Joe Fleming
2016-05-02 12:59:23 -07:00
-
b12aa87ad3
add completed_at time, add update tests
Joe Fleming
2016-05-02 12:57:11 -07:00
-
7191a2bed0
add tests for handling job failures
Joe Fleming
2016-05-02 12:45:46 -07:00
-
f0b0e10b84
remove debugging output
Joe Fleming
2016-05-02 12:45:32 -07:00
-
f35756f70b
initial perform job tests
Joe Fleming
2016-04-29 17:56:50 -07:00
-
b2781a6ccf
client.get: mix in source data, fix default index and type params
Joe Fleming
2016-04-29 17:52:24 -07:00
-
72389b65b2
add checks for version conflicts
Joe Fleming
2016-04-29 17:25:44 -07:00
-
d00d12683b
add fail job tests
Joe Fleming
2016-04-29 17:15:39 -07:00
-
3b8127874b
only send attempt message if no output
Joe Fleming
2016-04-29 17:15:29 -07:00
-
683903512b
fix mock defaults
Joe Fleming
2016-04-29 16:52:35 -07:00
-
5d9fcd14b9
add node 5 to travis
Joe Fleming
2016-04-29 16:45:21 -07:00
-
a0970f8ba7
add more worker tests
Joe Fleming
2016-04-29 16:44:46 -07:00
-
d4d38255f6
switch job running to callback style
Joe Fleming
2016-04-29 16:44:30 -07:00
-
21830c9eb0
add job add debugging
Joe Fleming
2016-04-29 16:44:18 -07:00
-
1018e2b3a8
use in-publish to avoid stupid prepublish npm logic
Joe Fleming
2016-04-29 16:03:18 -07:00
-
50c0563479
add a more useful readme
Joe Fleming
2016-04-29 15:47:58 -07:00
-
8efe69a443
add missing bluebird library
Joe Fleming
2016-04-29 15:08:41 -07:00
-
fcb26ca90e
update readme, add travis
Joe Fleming
2016-04-29 15:02:33 -07:00
-
54d3be6929
don't clobber error output, append worker output
Joe Fleming
2016-04-28 17:21:03 -07:00
-
d3094375dd
stop and start job polling when trying to claim jobs
Joe Fleming
2016-04-28 16:25:45 -07:00
-
379a8f096c
simplify failed job update error handler
Joe Fleming
2016-04-28 16:24:28 -07:00
-
03eca43bbf
move job polling into another method, add stop method
Joe Fleming
2016-04-28 16:15:09 -07:00
-
1954141345
mock es client search and update
Joe Fleming
2016-04-28 16:14:39 -07:00
-
c32d806886
make the size limit configurable
Joe Fleming
2016-04-28 15:14:44 -07:00
-
019d9f98a2
query for, claim and process jobs
Joe Fleming
2016-04-28 15:13:19 -07:00
-
2c9746654d
create debugging output wrapper
Joe Fleming
2016-04-28 15:12:57 -07:00
-
6ea711da87
amend the schema - single output object, add cerated_by
Joe Fleming
2016-04-26 17:40:57 -07:00
-
9e501ace93
add cancelled status
Joe Fleming
2016-04-26 17:40:26 -07:00
-
0f3b21f1e8
add worker query for outstanding jobs
Joe Fleming
2016-04-26 17:40:14 -07:00
-
f1dc6e60dc
make workers private, add getter, add destroy test
Joe Fleming
2016-04-25 17:00:37 -07:00
-
eb033d9676
queue should track and tear down workers, with tests
Joe Fleming
2016-04-25 16:36:21 -07:00
-
482ea68692
add mock client to worker tests
Joe Fleming
2016-04-25 16:32:58 -07:00
-
b0f2264ab8
add search method to elasticsearch mock
Joe Fleming
2016-04-25 16:32:38 -07:00
-
5c4340adfc
start on the worker logic
Joe Fleming
2016-04-25 16:28:30 -07:00
-
7f554014a0
tweak the schema, status is a keyword
Joe Fleming
2016-04-25 16:27:07 -07:00
-
6ff2f2cb99
rename add to addJob
Joe Fleming
2016-04-25 15:30:17 -07:00
-
662d8a177c
assign job ids internally, update tests
Joe Fleming
2016-04-25 15:28:12 -07:00
-
58a0cf328f
update toJSON, add tests, remove unused var
Joe Fleming
2016-04-25 15:16:00 -07:00
-
4d5b08c3c7
add test for get method
Joe Fleming
2016-04-25 14:44:19 -07:00
-
576f26a4b9
allow id to be passed to mock elasticsearch index
Joe Fleming
2016-04-25 14:43:53 -07:00
-
c819171393
add get and toJSON methods to jobs
Joe Fleming
2016-04-25 14:21:45 -07:00
-
a46d8621cc
make constants more explicitly accessible
Joe Fleming
2016-04-25 14:21:28 -07:00
-
a4bfd5184d
add get method to Client, add errors to mock
Joe Fleming
2016-04-25 14:19:48 -07:00
-
c79da26f2d
fix bug on new job - return the promise
Joe Fleming
2016-04-25 13:43:48 -07:00
-
7624127ca3
add tests for priority bounds and default
Joe Fleming
2016-04-25 11:06:20 -07:00
-
d9e19bccf8
new jobs take options again, update schema to match index, add max_attempts, update tests
Joe Fleming
2016-04-25 11:01:46 -07:00
-
73e302fdf0
tweak the schema a bit
Joe Fleming
2016-04-25 10:54:00 -07:00
-
b907c0ed71
add optional debugging output
Joe Fleming
2016-04-25 10:52:58 -07:00
-
b78c5763ce
check in create_index module, with tests
Joe Fleming
2016-04-22 17:53:48 -07:00
-
7e0f45019b
add job test for index creation
Joe Fleming
2016-04-22 17:49:33 -07:00
-
f120d84367
add indices.exists to es client mock
Joe Fleming
2016-04-22 17:48:35 -07:00
-
1114bb25b8
create index on job creation
Joe Fleming
2016-04-22 17:47:48 -07:00
-
bb97b7960b
update job status constants
Joe Fleming
2016-04-22 17:15:25 -07:00
-
fd1ebd3a33
clean up mock includes
Joe Fleming
2016-04-22 17:14:25 -07:00
-
47eaebf8c6
test for ping call on new queue
Joe Fleming
2016-04-22 17:03:23 -07:00
-
730ec68bfa
change the job scontructor, update tests
Joe Fleming
2016-04-22 17:03:01 -07:00
-
3318c775c0
make tests run with mock client
Joe Fleming
2016-04-22 16:51:35 -07:00
-
a3a0c2b261
add index creation to init tasks
Joe Fleming
2016-04-22 16:50:41 -07:00
-
64945556ff
rename create client, fix client instance test
Joe Fleming
2016-04-22 16:49:38 -07:00
-
1171c5f0f1
expand the es client fixture
Joe Fleming
2016-04-22 16:49:19 -07:00
-
0b12fde877
custom clock, no proxyquire needed
Joe Fleming
2016-04-22 13:40:03 -07:00
-
549095dfff
update interval module, add tests
Joe Fleming
2016-04-22 13:38:12 -07:00
-
d357971554
add date interval module
Joe Fleming
2016-04-22 11:25:06 -07:00
-
df8bd2123b
remove job options passing
Joe Fleming
2016-04-19 14:58:02 -07:00
-
e88695a989
add constants file, update jobs and test
Joe Fleming
2016-04-18 17:57:17 -07:00