Commit Graph

392 Commits

Author SHA1 Message Date
Raul Ochoa
ec351ff580 Upgrade cartodb-psql to 0.10.0
Removes tests associated to the upgrade. SET queries are no longer
validated. Note the subtle leading space in the removed test cases.
2017-08-11 12:49:38 +02:00
Raul Ochoa
32154b67c6 Merge branch 'master' into upgrade-cartodb-psql 2017-08-11 11:57:16 +02:00
Daniel García Aubert
3891e4f37f Stubs next version 2017-08-10 18:20:40 +02:00
Daniel García Aubert
f17ce57213 Release 1.47.0 2017-08-10 17:28:21 +02:00
Daniel García Aubert
a246f9b351 Bump cartodb-redis version to 0.14.0 2017-08-10 11:11:11 +02:00
Daniel García Aubert
f995b476c8 Use the right development branch of cartodb-psql to get user timeout 2017-08-09 12:39:58 +02:00
Raul Ochoa
f7d88afe86 Upgrade cartodb-psql package to 0.8.0 version
This removes the requirement to use destroyOnError as it's no longer
supported.
2017-08-08 18:13:17 +02:00
Rafa de la Torre
38b1dba758 Stub next version 2017-07-03 11:24:23 +02:00
Rafa de la Torre
d2f1884999 Stub next version 2017-06-27 18:06:43 +02:00
Rafa de la Torre
c3c754231a Release Release 1.46.0 2017-06-27 17:58:43 +02:00
Daniel García Aubert
bf76331bf8 Stub next version 2017-06-27 17:25:15 +02:00
Mario de Frutos
f77df67eba Stubs next version 2017-04-18 14:46:41 +02:00
Mario de Frutos
61716d3e3a Release 1.45.0 2017-04-18 14:43:43 +02:00
Daniel García Aubert
bc43680202 Stubs next version 2017-04-04 17:02:07 +02:00
Raul Ochoa
e3246c41eb Stubs next version 2017-03-30 17:55:21 +02:00
Raul Ochoa
0e984ed3d4 Update news and bump version 2017-03-30 17:53:58 +02:00
Raul Ochoa
29eaee82ed Stubs next version 2017-01-16 14:30:26 +01:00
Raul Ochoa
13e1eab59f Upgrade cartodb-psql to 0.7.1
Closes #405.
2017-01-16 14:07:21 +01:00
Raul Ochoa
f0686d7cd4 Stubs next version 2017-01-16 10:38:43 +01:00
Raul Ochoa
1047895bb6 Fix news and bump version 2017-01-16 10:35:36 +01:00
Raul Ochoa
d48a901533 Merge branch 'master' into node-v6 2017-01-12 19:49:56 +01:00
Raul Ochoa
b556fc537e Stubs next version 2017-01-12 12:40:32 +01:00
Raul Ochoa
b971768e4e Upgrade cartodb-psql to 0.7.0. 2016-12-21 13:44:28 +01:00
Raul Ochoa
5ea7019e34 Merge remote-tracking branch 'origin/master' into node-v6 2016-12-20 17:04:30 +01:00
Raul Ochoa
7edb79d83b Upgrade dev dependencies 2016-12-19 16:25:59 +01:00
Raul Ochoa
7ba1ecb36c Merge branch 'master' into node-v6 2016-12-19 16:22:18 +01:00
Raul Ochoa
8be437ee56 Stubs next version 2016-12-19 16:12:32 +01:00
Raul Ochoa
c32a637350 Upgrade cartodb-redis to 0.13.2 2016-12-19 15:56:18 +01:00
Raul Ochoa
7c7db934db Upgrade redis-mpool to 0.4.1 2016-12-19 15:44:50 +01:00
Raul Ochoa
5874ad9752 Use zipfile@0.5.11 2016-12-19 00:27:11 +01:00
Raul Ochoa
674aabbe12 Use a know version of zipfile that works with Node.js 0.10.x and 6.x 2016-12-16 19:32:48 +01:00
Raul Ochoa
d400d0231a Upgrade cartodb-redis 2016-12-16 16:13:53 +01:00
Raul Ochoa
bf8ef5dc71 Upgrade redis-mpool 2016-12-16 16:13:34 +01:00
Raul Ochoa
32aaccb33e Merge branch 'master' into node-v6 2016-12-16 15:24:26 +01:00
Raul Ochoa
e649011eaf Freeze zipfile to 0.5.9 to work with Node.js 0.10.x 2016-12-14 11:53:17 +01:00
Daniel García Aubert
56a6716655 Rely on branch master of redis-mpool 2016-12-13 13:12:49 +01:00
Raul Ochoa
ca3ecb472b Stubs next version 2016-12-12 16:59:22 +01:00
Daniel García Aubert
a197499589 Use node-v6-compatible dependencies 2016-12-07 16:13:13 +01:00
Raul Ochoa
7fc4b608d0 Stubs next version 2016-11-30 16:36:25 +01:00
Daniel García Aubert
3d0987e63b Use versions of redis-mpool and cartodb-redis that supports node v6 2016-11-30 13:02:25 +01:00
Daniel García Aubert
d0744b341f Stubs next version 2016-11-07 17:04:25 +01:00
Daniel García Aubert
33e6cc0335 Stubs next version 2016-11-07 15:04:58 +01:00
Daniel García Aubert
eed5f5b9cd Release 1.42.2 2016-11-07 15:00:53 +01:00
Daniel García Aubert
b4d70baed9 Stubs next version 2016-11-02 14:29:03 +01:00
Daniel García Aubert
d65be7d46a Update NEWS 2016-11-02 13:14:12 +01:00
Raul Ochoa
861b9bb037 Stubs next version 2016-10-21 16:08:44 +02:00
Raul Ochoa
594aba6179 Stop migrating old queues by default 2016-10-21 16:07:27 +02:00
Raul Ochoa
30e353ddb9 Stubs next version 2016-10-20 12:43:20 +02:00
Raul Ochoa
4a57d641c7 Update news and bump version 2016-10-20 10:20:51 +02:00
Raul Ochoa
0af5cf703a Allow to configure capacity strategy
- HTTP strategy: mechanism to compute load from db host.
- Fixed strategy: hardcoded number of queries to run at the same time, via configuration.
2016-10-19 18:42:53 +02:00
Raul Ochoa
1ee0878631 Scheduler uses a red–black tree to decide on next job candidate 2016-10-19 16:55:49 +02:00
Raul Ochoa
e51a4fc398 Stubs next version 2016-10-17 16:35:10 +02:00
Raul Ochoa
9635ed6128 Stubs next version 2016-10-17 15:27:25 +02:00
Raul Ochoa
4203696e1e Bump version and update news 2016-10-17 15:04:48 +02:00
Raul Ochoa
9d952a8050 Stubs next version 2016-10-13 15:20:38 +02:00
Raul Ochoa
df32c1a2bb Stubs next version 2016-10-13 10:17:35 +02:00
Raul Ochoa
6f30ff95d8 Stubs next version 2016-10-11 08:59:00 +02:00
Raul Ochoa
d50fd89df1 Bump version 2016-10-11 08:54:33 +02:00
Raul Ochoa
90c489119b Add distributed lock implementation with redis distlock 2016-10-10 19:51:11 +02:00
Raul Ochoa
2bba1934ed Stubs next version 2016-10-05 17:33:56 +02:00
Raul Ochoa
42a1f3ad4c Accept multipart requests 2016-10-05 17:29:16 +02:00
Raul Ochoa
6309318534 Use body-parser from old connect module 2016-10-05 14:22:44 +02:00
Raul Ochoa
0cc6066298 Stubs next version 2016-10-04 12:04:47 +02:00
Raul Ochoa
fa96ba6892 Bump version and update news 2016-10-04 12:04:47 +02:00
Raul Ochoa
0e43f7c5fb Merge branch 'master' into express-4.x 2016-10-03 15:18:50 +02:00
Raul Ochoa
4f83da3b5c Stubs next version 2016-10-03 13:36:04 +02:00
Raul Ochoa
a093737818 Merge branch 'master' into express-4.x 2016-09-30 18:53:13 +02:00
Raul Ochoa
ccbadf4ab4 Stubs next version 2016-09-30 18:48:13 +02:00
Raul Ochoa
bf1a67780d Merge branch 'master' into express-4.x 2016-09-30 17:37:30 +02:00
Raul Ochoa
d7762c9f73 Stubs next version 2016-09-30 17:13:50 +02:00
Raul Ochoa
1321eeae65 Bump version and update news 2016-09-30 17:12:41 +02:00
Daniel García Aubert
aa0ce62a85 Implement batch logger to log query times when queries are defined with id 2016-09-29 15:09:36 +02:00
Raul Ochoa
abc2f130c9 Migrate to express 4.x series
- Remove express logger
 - Error handler responds with application/[json|javascript]
 - Fix all tests relying on res.headers
 - assert.response based on request module
2016-09-26 18:09:27 +02:00
Raul Ochoa
bdc160cde3 Stubs next version 2016-09-15 11:57:07 +02:00
Raul Ochoa
149d8e6e12 Release 1.35.0 2016-09-15 11:55:33 +02:00
Raul Ochoa
27b73cb163 Allow to use --config /path/to/config.js to specify configuration file 2016-09-15 00:36:24 +02:00
Raul Ochoa
0626d80e24 Removes support for optional rollbar logging 2016-09-14 19:22:31 +02:00
Raul Ochoa
4f91d699d6 Reformat with npm cli 2016-08-30 16:43:30 +02:00
Daniel García Aubert
2a27410cdf Stubs next version 2016-08-30 14:52:30 +02:00
Raul Ochoa
bc377970c7 Use git pattern for log4js dependency 2016-07-20 18:26:49 +02:00
Raul Ochoa
d95340c7ae Merge pull request #333 from CartoDB/upgrade-cartodb-redis
Upgrades cartodb-redis to 0.13.1
2016-07-13 16:38:14 +02:00
Raul Ochoa
958c5742f4 Upgrades cartodb-redis to 0.13.1 2016-07-13 16:18:00 +02:00
Daniel García Aubert
5cdfd91a16 Stubs next version 2016-07-11 18:15:52 +02:00
Daniel García Aubert
395635d246 Merge branch 'master' into fix-publisher-connection 2016-07-11 17:49:11 +02:00
Raul Ochoa
07599db088 Stubs next version 2016-07-11 17:19:50 +02:00
Raul Ochoa
b766c5d0fc Bump version 2016-07-11 17:18:42 +02:00
Raul Ochoa
3ebbd9f7c4 Skip tables with no updated_at registered in cdb_tablemetadata 2016-07-11 16:39:12 +02:00
Daniel García Aubert
ccff602bbf Merge branch 'master' into fix-publisher-connection 2016-07-07 16:07:41 +02:00
Daniel García Aubert
5eaad4d5d9 Uses redis-mpool for pubsub in Batch API 2016-07-07 14:14:46 +02:00
Raul Ochoa
0b68faefff Stubs next version 2016-07-01 09:38:49 +02:00
Raul Ochoa
be0f059f01 Add <%= job_id %> template support for onerror and onsuccess fallback queries 2016-06-30 17:41:02 +02:00
Daniel García Aubert
ebe30b108c Release 1.32.0 2016-06-30 12:33:17 +02:00
Raul Ochoa
44fc4427a3 Stubs next version 2016-06-29 18:36:45 +02:00
Raul Ochoa
b73fd4593f Bump version for new features 2016-06-29 18:35:18 +02:00
Daniel García Aubert
30ee62e70d Stubs next version 2016-06-23 11:49:19 +02:00
Daniel García Aubert
31f9065137 Stubs next version 2016-06-14 16:42:42 +02:00
Daniel García Aubert
ab911f9e05 Release 1.30.0 2016-06-14 16:40:36 +02:00
Daniel García Aubert
d9f5ac67f5 Stubs next version 2016-05-25 17:39:04 +02:00
Raul Ochoa
3a3c49e40d Stubs next version 2016-05-24 17:22:46 +02:00
Daniel García Aubert
caa07e0968 Stubs next version 2016-05-24 12:41:09 +02:00
Daniel García Aubert
2724133591 Release 1.29.0 2016-05-24 12:38:30 +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
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
8b7d481b9a Avoided console usage, favor debug 2016-05-18 11:06:49 +02:00
Daniel García Aubert
b2eac6b880 Implemented test for fallback jobs 2016-05-17 01:00:27 +02:00
Raul Ochoa
06aa11aa4d Stubs next version 2016-05-12 17:37:33 +02:00
Raul Ochoa
29287e0cd6 Stubs next version 2016-05-11 11:46:53 +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
Daniel García Aubert
d4206a70d8 Added npm's tasks in order to run unit test in watch mode 2016-05-06 18:12:13 +02:00
Raul Ochoa
e1888c9936 Upgrades step-profiler to 0.3.0 to avoid dots in json keys
Closes #294
2016-05-05 14:01:36 +02:00
Daniel García Aubert
73e6c56e6d Stubs next version 2016-04-18 17:02:11 +02:00
Daniel García Aubert
8d67faad59 Stubs next version 2016-04-05 16:17:03 +02:00
Daniel García Aubert
c103d315af Release 1.27.0 2016-04-05 16:06:16 +02:00
Alejandro Martínez
ffb1afb962 Release 1.26.0 2016-03-08 16:17:35 +01:00
Alejandro Martínez
613cdeffdd Rename node-cartodb-query-tables to cartodb-query-tables 2016-02-22 19:08:29 +01:00
Alejandro Martínez
5e06711b4b Use node-cartodb-querytables library 2016-02-22 12:24:05 +01:00
Raul Ochoa
028e0d1553 Add a valid SPDX license expression 2016-02-04 15:23:34 +01:00
Raul Ochoa
355c28fa77 Stubs next version 2016-02-02 01:30:12 +01:00
Raul Ochoa
8130d1fc6d Stubs next version 2016-02-01 17:59:12 +01:00
Raul Ochoa
9b0a3b190c Fix async-queue version and regenerate npm-shrinkwrap.json 2016-01-28 16:43:00 +01:00
Daniel García Aubert
e1e6a56277 Merge branch 'master' of github.com:CartoDB/CartoDB-SQL-API 2016-01-28 16:33:10 +01:00
Daniel García Aubert
a68d32e0ab Removed unused module in dev dependencies in package.json 2016-01-28 16:32:08 +01:00
Raul Ochoa
1b4f2ac7f3 Stubs next version 2016-01-28 16:19:10 +01:00
Daniel García Aubert
0e14251615 Stubs next version 2016-01-26 14:35:02 +01:00
Daniel García Aubert
2da35ac968 Merge branch 'master' of github.com:CartoDB/CartoDB-SQL-API into batch-api 2016-01-22 13:09:20 +01:00
Raul Ochoa
c096d843a2 Adds coverage tool 2016-01-22 12:18:20 +01:00
Daniel García Aubert
d11b4608aa Back to tabs with 4 spaces again 2015-12-23 17:32:57 +01:00
Daniel García Aubert
b16c0983c6 Implemented tests for batch API 2015-12-22 23:13:33 +01:00
Daniel García Aubert
3762ad7a39 Now jobs are stored in redis instead of user's database 2015-12-21 19:57:10 +01:00
Daniel García Aubert
43f759e96a Refactored Batch API using streams instead a interval to consume the job queue. Limited one job running at the same time per queue instead of using a job's counter to limit it. 2015-12-16 15:57:58 +01:00
Daniel García Aubert
0c6edc573a Used cartodb-redis instead redis-mpool 2015-12-09 12:18:33 +01:00
Daniel García Aubert
00721bcd02 Implementing batch service 2015-12-09 00:02:08 +01:00
Raul Ochoa
f816093036 Set Last-Modified header based on affected tables
Closes #101
2015-09-02 16:25:56 +02:00
Raul Ochoa
9b5a729a41 Stubs next version 2015-08-04 16:33:36 +02:00
Raul Ochoa
7c696317d0 New option to remove client from pool after error happens
This help to avoid issues with transactions.

Closes #241
2015-08-04 15:53:50 +02:00
Raul Ochoa
bb2cf83ff6 Upgrades cartodb-psql to 0.6.0 2015-08-04 15:35:31 +02:00
Raul Ochoa
283572c535 Stubs next version 2015-06-16 17:36:26 +02:00
Raul Ochoa
afdb385fcf Bumps versions for new SpatiaLite feature 2015-06-16 17:19:57 +02:00
Raul Ochoa
e9dda12ad3 Adds tests for big results in ogr formats 2015-06-16 15:54:13 +02:00
Francisco Dans
6e9eb9f43f adds sqlite3 as dev dep 2015-06-01 13:21:17 +02:00
Raul Ochoa
d052850cc9 Stubs next version 2015-05-26 10:19:47 +02:00
Raul Ochoa
db03235c4a Stubs next version 2015-05-14 13:18:58 +02:00
Raul Ochoa
513a4e747b Make jshint part of npm test 2015-05-13 13:13:16 +02:00
Raul Ochoa
b6f71eb180 Makefile with testing targets 2015-05-12 18:33:57 +02:00
Raul Ochoa
99390eb0ab Adds jshint dev dep and jshintrc config file 2015-05-12 17:31:30 +02:00
Raul Ochoa
36c498c0a2 Stubs next version 2015-04-09 10:50:30 +02:00
Raul Ochoa
269868ccd0 Update news and bumps version for new features 2015-04-09 10:45:03 +02:00
Raul Ochoa
6d413f9595 Stubs next version 2015-03-02 14:35:59 +01:00