Commit Graph

1362 Commits

Author SHA1 Message Date
Daniel García Aubert
a60c0e1927 Moved job-factory to a proper place 2016-05-23 15:20:14 +02:00
Daniel García Aubert
7fce6c5dfc Avoid hacky 2016-05-23 15:13:31 +02:00
Daniel García Aubert
2d86fc2ce3 In fallback jobs, used fallback_status property instead of an array of statuses 2016-05-23 15:05:14 +02:00
Daniel García Aubert
f7392c48cc Improved naming in job's constructors 2016-05-23 11:37:09 +02:00
Daniel García Aubert
fef194e969 Fix bad use of jshint's hacks 2016-05-23 11:20:42 +02:00
Ubuntu
75fc80ecca Merge branch 'batch-fallback-job' into 293-no-longer-running-job 2016-05-23 09:13:31 +00:00
Daniel García Aubert
99d1efc739 Made host not mandatory for job model 2016-05-23 11:13:03 +02:00
Daniel García Aubert
60ab3eb6ba Fixes #293, set cancel status to a job that actually is no running but has running status. 2016-05-23 10:26:09 +02:00
Daniel García Aubert
052cb0796d Modified fallback tests in order to use our custom assert.response 2016-05-20 14:42:53 +02:00
Daniel García Aubert
d3e7f4b9f0 Fixed missing failed_reason in multiple jobs 2016-05-19 17:04:36 +02:00
Daniel García Aubert
b25ac53641 Merge branch 'batch-fallback-job' of github.com:CartoDB/CartoDB-SQL-API into batch-fallback-job 2016-05-19 17:04:17 +02:00
Daniel García Aubert
e04787a070 Fixed missing failed_reason in failing jobs 2016-05-19 17:02:48 +02:00
Daniel García Aubert
1d641e2c01 Fixed missing failed_reason in failing jobs 2016-05-19 16:58:14 +02:00
Daniel García Aubert
cf7dff4696 Removed commented code 2016-05-19 14:13:54 +02:00
Daniel García Aubert
62c8a9d315 Refactor and fixed issue, when cancelling a fallback job, it is not cancelled properly 2016-05-19 14:10:18 +02:00
Daniel García Aubert
5c4ced34e6 Added acceptance test for job cancelling 2016-05-18 13:25:08 +02:00
Daniel García Aubert
eb37fd305f Moved forever module 2016-05-18 11:55:58 +02:00
Daniel García Aubert
b94a9c7c0a Fixed conflicts 2016-05-18 11:48:39 +02:00
Daniel
8c8da8e39c Merge pull request #301 from CartoDB/job-model-refactor
Job model refactor
2016-05-18 11:38:41 +02:00
Daniel García Aubert
016d39d2b6 Updated dependency-version-locker 2016-05-18 11:18:20 +02:00
Daniel García Aubert
8b7d481b9a Avoided console usage, favor debug 2016-05-18 11:06:49 +02:00
Daniel García Aubert
9441017ed3 Moved job classes to a models folder 2016-05-17 20:00:45 +02:00
Daniel García Aubert
26cd778583 Improved param name 2016-05-17 19:55:33 +02:00
Daniel García Aubert
b06eaae5e6 Use REDIS_DB as constant 2016-05-17 19:48:55 +02:00
Daniel García Aubert
672b8ef537 Made pure functions 2016-05-17 19:44:45 +02:00
Daniel García Aubert
40d82112a8 Used REDIS_PREFIX as constant 2016-05-17 19:41:31 +02:00
Daniel García Aubert
3bac26cf2f Used JOB_PREFIX as constant 2016-05-17 19:27:05 +02:00
Daniel García Aubert
ef9dfae189 Moved job models to its own namespace 2016-05-17 18:59:39 +02:00
Daniel García Aubert
6acc02e998 Improved fallback setStatus method and added acceptance test 2016-05-17 18:51:02 +02:00
Daniel García Aubert
b2eac6b880 Implemented test for fallback jobs 2016-05-17 01:00:27 +02:00
Daniel García Aubert
be3d9d2316 Fallback jobs WIP 2016-05-16 13:49:56 +02:00
Daniel García Aubert
050f077e8c Avoid null values 2016-05-16 11:56:44 +02:00
Daniel García Aubert
d2d3ba8159 Passed tests 2016-05-16 01:22:47 +02:00
Daniel García Aubert
cc7dd7a0d2 Job model refactor 2016-05-13 18:50:55 +02:00
Raul Ochoa
06aa11aa4d Stubs next version 2016-05-12 17:37:33 +02:00
Raul Ochoa
8e981f64a5 Release 1.28.1 2016-05-12 17:36:17 +02:00
Raul Ochoa
10e891c20d Merge pull request #300 from CartoDB/issue-299
Fix control flow when using OGR with _needSRS=true and empty queries
2016-05-12 17:35:23 +02:00
Raul Ochoa
4e3238c2e8 Fix control flow when using OGR with _needSRS=true and empty queries
Continue on empty results as srid and geom type are not critical
when there are no results

Fixes #299
2016-05-12 17:21:07 +02:00
Raul Ochoa
29287e0cd6 Stubs next version 2016-05-11 11:46:53 +02:00
Raul Ochoa
35630b0d44 Release 1.28.0 2016-05-11 11:45:42 +02:00
Juan Ignacio Sánchez Lara
5bb1acf016 Merge pull request #292 from CartoDB/291-geopackage_format_exporting
Geopackage format support #291
2016-05-11 11:34:26 +02:00
Juan Ignacio Sánchez Lara
b26e22e8c8 Removed unecessary test file 2016-05-10 19:03:29 +02:00
Juan Ignacio Sánchez Lara
08e5509853 NEWS 2016-05-10 18:50:24 +02:00
Juan Ignacio Sánchez Lara
e979b79f49 gpkg format #291 2016-05-10 18:42:23 +02:00
Juan Ignacio Sánchez Lara
7b9911416b geopackage export test #291 2016-05-10 18:01:50 +02:00
Daniel
bc69ddc1d6 Merge pull request #286 from CartoDB/batch-use-constants
Batch use constants
2016-05-10 10:56:53 +02:00
Juan Ignacio Sánchez Lara
6d8aaf128a Merge branch 'master' into 291-geopackage_format_exporting 2016-05-09 12:10:09 +02:00
Daniel
b945fef8b7 Merge pull request #298 from CartoDB/add-watcher-unit-test
Added npm's tasks in order to run unit test in watch mode
2016-05-06 18:30:00 +02:00
Daniel García Aubert
d859311da2 Added tasks for npm in order to run unit test in watch mode 2016-05-06 18:15:22 +02:00
Daniel García Aubert
c2a4036fe4 Revert "Added npm's tasks in order to run unit test in watch mode"
This reverts commit d4206a70d8.
2016-05-06 18:14:03 +02:00