Raul Ochoa
|
c51fcb77da
|
Merge branch 'master' into batch-api
Conflicts:
Makefile
package.json
|
2016-01-22 12:44:10 +01:00 |
|
Daniel García Aubert
|
5c4d239467
|
Fixed unit test for job queue and moved isJobFound function as private method in job backend
|
2016-01-22 12:43:41 +01:00 |
|
Raul Ochoa
|
f1a56cd5f0
|
Merge pull request #263 from CartoDB/coverage
Adds coverage tool
|
2016-01-22 12:41:08 +01:00 |
|
Raul Ochoa
|
f8ef4c1d29
|
Adds batch as directory to check with jshint
|
2016-01-22 12:29:12 +01:00 |
|
Raul Ochoa
|
f3ab53e0bc
|
Merge branch 'master' into coverage
|
2016-01-22 12:27:33 +01:00 |
|
Daniel García Aubert
|
0ad83e0051
|
Merge branch 'batch-api' of github.com:CartoDB/CartoDB-SQL-API into batch-api
|
2016-01-22 12:25:51 +01:00 |
|
Raul Ochoa
|
9ef8179cb3
|
Define shell as bash
|
2016-01-22 12:22:54 +01:00 |
|
Raul Ochoa
|
c096d843a2
|
Adds coverage tool
|
2016-01-22 12:18:20 +01:00 |
|
Raul Ochoa
|
99e7f1cdf2
|
Ignore npm debug log
|
2016-01-22 12:13:01 +01:00 |
|
Raul Ochoa
|
a7a8ddcf53
|
Makefile getting tests with find command
|
2016-01-22 12:11:04 +01:00 |
|
Raul Ochoa
|
e3964575a4
|
Makefile getting tests with find command
|
2016-01-22 12:03:24 +01:00 |
|
Daniel García Aubert
|
968caae9b7
|
Removed void comment
|
2016-01-21 18:26:48 +01:00 |
|
Daniel García Aubert
|
79e626a71e
|
Added cors middleware, decoupled query and job controllers from its dependencies
|
2016-01-21 17:24:48 +01:00 |
|
Daniel García Aubert
|
048d2cd0ea
|
Refactored user database service ans updated controllers to use it.
|
2016-01-21 16:17:17 +01:00 |
|
Daniel García Aubert
|
6024791e18
|
Merge branch 'batch-api' of github.com:CartoDB/CartoDB-SQL-API into batch-api
|
2016-01-21 15:35:23 +01:00 |
|
Daniel García Aubert
|
31ac48ef1a
|
Changed job's ttl to be configurable
|
2016-01-21 15:33:42 +01:00 |
|
Daniel García Aubert
|
ad8b610321
|
Removed unused code
|
2016-01-21 15:14:55 +01:00 |
|
Daniel García Aubert
|
f42727212b
|
Removed unnecessary checkAborted function in job controller and changed signature for getUserDatabase.
|
2016-01-21 15:05:46 +01:00 |
|
Raul Ochoa
|
2923c2e083
|
Update max cyclomatic complexity as it has decreased
|
2016-01-21 11:18:11 +01:00 |
|
Daniel García Aubert
|
2913aed697
|
Placed job controller endpoit under /api/vX/sql
|
2016-01-18 20:12:44 +01:00 |
|
Daniel García Aubert
|
d07af1740a
|
Fixed bug after cancel a job by user the job runner's callback is never called
|
2016-01-17 19:28:15 +01:00 |
|
Daniel García Aubert
|
a89e3776ec
|
Removed unused callback in before hook in test and added proper configuration from user database config
|
2016-01-14 14:08:34 +01:00 |
|
Daniel García Aubert
|
c308551d05
|
Implemented drain to stop batch service gracefully.
Split job acceptance test
|
2016-01-13 16:25:25 +01:00 |
|
Raul Ochoa
|
77486c6c17
|
Regenerate npm-shrinkwrap.json
|
2016-01-12 12:17:59 +01:00 |
|
Daniel García Aubert
|
6e820b4573
|
Improved test's messages
|
2016-01-12 10:24:09 +01:00 |
|
Daniel García Aubert
|
565fb6e0da
|
Add a comment
|
2016-01-12 10:08:56 +01:00 |
|
Daniel García Aubert
|
6c849f2bef
|
Fixed issue with job acceptance test
|
2016-01-12 10:06:31 +01:00 |
|
Daniel García Aubert
|
2d13bde301
|
Implemented uses cases test for Batch API
|
2016-01-11 20:14:15 +01:00 |
|
Daniel García Aubert
|
078eb7706b
|
Now SQL API is able to disable Batch Service using argv param --no-batch
|
2016-01-08 18:29:36 +01:00 |
|
Daniel García Aubert
|
8d29e6b45c
|
Improved log messages
|
2016-01-08 16:24:53 +01:00 |
|
Daniel García Aubert
|
20f00d58d9
|
Refactored batch service to avoid event noise, doing in callback way
|
2016-01-08 15:47:59 +01:00 |
|
Daniel García Aubert
|
f9f52d2bd1
|
Improved object creation in batch service
|
2016-01-08 11:32:01 +01:00 |
|
Daniel García Aubert
|
44d4fd1bb8
|
Minor improvement in job runner creation
|
2016-01-07 19:16:39 +01:00 |
|
Daniel García Aubert
|
f89c44586c
|
Fixed bug related to growing file descriptors when batch api processes jobs
|
2016-01-07 18:36:32 +01:00 |
|
Carlos Matallín
|
35931f1432
|
Merge pull request #258 from CartoDB/newdocs
docs: split API.md in different files
|
2016-01-07 15:47:20 +01:00 |
|
Daniel García Aubert
|
e6a4e0f7eb
|
Returned 201 HTTP code in job creation
Fixed bug listing jobs, now user job index is cleaned before respond to client
|
2016-01-07 12:07:30 +01:00 |
|
Daniel García Aubert
|
681772bf37
|
Implemented test for Job Controller and implemented batch stop service
|
2016-01-05 17:42:28 +01:00 |
|
Daniel García Aubert
|
40d0161218
|
Fixed bug in authentication for PUT methods in Job Controller
|
2016-01-05 13:54:18 +01:00 |
|
Daniel García Aubert
|
246655de94
|
Changed redis data structure for users jobs
|
2016-01-04 19:08:13 +01:00 |
|
Daniel García Aubert
|
13ffaab0d5
|
Resolved minor bug when user tries to cancel a job and included a ttl to jobs after its resolution
|
2016-01-04 15:20:06 +01:00 |
|
Daniel García Aubert
|
534da04270
|
Improved job cancelation and fixed minor bugs
|
2015-12-31 17:01:06 +01:00 |
|
Daniel García Aubert
|
35650985db
|
Implemented job modification whether job is pending
|
2015-12-31 15:42:31 +01:00 |
|
Daniel García Aubert
|
ef354bdb4d
|
Improved queue consuption avoiding possible stack overflow
|
2015-12-31 12:33:11 +01:00 |
|
Daniel García Aubert
|
ada39d84b8
|
Implemented job cancelation in Batch API
|
2015-12-30 20:16:18 +01:00 |
|
Daniel García Aubert
|
41a01bc0e3
|
Fixed typo in batch service
|
2015-12-30 11:51:32 +01:00 |
|
Daniel García Aubert
|
96bc478d1a
|
Fixed npm-shrinkwrap
|
2015-12-29 18:11:54 +01:00 |
|
Daniel García Aubert
|
8c42019641
|
Improved namespace in redis for batch's stuff
|
2015-12-29 15:46:04 +01:00 |
|
Daniel García Aubert
|
851c393f75
|
Refactored batch manager avoiding concurrence issues
|
2015-12-29 10:19:10 +01:00 |
|
Daniel García Aubert
|
4dcd7c0a50
|
Fixed typo and prepared for listing user's job
|
2015-12-24 17:47:41 +01:00 |
|
Daniel García Aubert
|
c4f96b4a59
|
Implemented support for listing jobs for one user
|
2015-12-24 17:42:49 +01:00 |
|