Commit Graph

1684 Commits

Author SHA1 Message Date
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
d685585d5c Release 1.36.0 2016-09-30 17:13:02 +02:00
Raul Ochoa
1321eeae65 Bump version and update news 2016-09-30 17:12:41 +02:00
Raul Ochoa
b0dfe1d509 Only reload log files if logger exists 2016-09-30 17:10:52 +02:00
Raul Ochoa
f8a8d3316c Merge pull request #368 from CartoDB/367-batch-logger
Implement batch logger to log query times
2016-09-30 17:05:06 +02:00
Raul Ochoa
72fb851db7 Fix typo 2016-09-30 16:55:33 +02:00
Raul Ochoa
20573a7f67 Always log queries from fallback jobs
- Add query id if exists
- Only log analyses for expected format
- Log with query start and end times
2016-09-30 16:54:10 +02:00
Raul Ochoa
ba34412ce3 Return on boolean on log 2016-09-30 16:51:34 +02:00
Raul Ochoa
9555a2cbde Bring back log logic for FallbackJob 2016-09-30 16:47:37 +02:00
Raul Ochoa
60546de147 Move log logic to each job 2016-09-30 16:44:39 +02:00
Daniel García Aubert
59e5c10f85 Set batch queries log path 2016-09-29 15:37:14 +02:00
Daniel García Aubert
2cce19c3ff Regenerated npm shrinkwrap 2016-09-29 15:23:39 +02:00
Daniel García Aubert
ed27b67cec Simplified batch logger construction 2016-09-29 15:17:25 +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
0e03bcd1d3 Delete table so suite ends clear 2016-09-26 18:28:15 +02:00
Raul Ochoa
89f9a99e44 Delete table so suite ends clear 2016-09-26 18:26:00 +02:00
Raul Ochoa
3cc942b0a2 Regenerate npm-shrinkwrap.json 2016-09-26 18:18:12 +02:00
Raul Ochoa
2712d81d50 Remove unused server utils 2016-09-26 18:13:08 +02:00
Raul Ochoa
b29358a0ed Remove old response from assert 2016-09-26 18:11:40 +02:00
Raul Ochoa
2aa1f045ff Use .status() API 2016-09-26 18:10:20 +02:00
Raul Ochoa
96fc32b24a Concurrency test with assert.response 2016-09-26 18:10:09 +02:00
Raul Ochoa
1a20ca0bc3 Use listener for test 2016-09-26 18:09:50 +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
8487008ee0 Merge pull request #365 from CartoDB/assert-response
Assert response callback signature
2016-09-26 15:00:18 +02:00
Raul Ochoa
a4aba62e9c Fix name clash for err vars 2016-09-26 14:51:41 +02:00
Raul Ochoa
90e4600a6c Rename vars to avoid name clash 2016-09-26 14:42:50 +02:00
Raul Ochoa
3dce6af20f Remove unused param 2016-09-26 14:42:35 +02:00
Raul Ochoa
9bd240ef6c Remove unused params 2016-09-26 14:42:24 +02:00
Raul Ochoa
26400342f3 Remove unused param 2016-09-26 14:42:14 +02:00
Raul Ochoa
c47dde1a29 Short hand method 2016-09-26 14:42:02 +02:00
Raul Ochoa
c9846a2437 Change callback signature in assert.response 2016-09-26 14:37:40 +02:00
Raul Ochoa
8d74b9dcda Remove best practice about updating a job as it's no longer possible 2016-09-16 15:43:06 +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
1a6897b961 Merge pull request #363 from CartoDB/external-config
Allow to use `--config /path/to/config.js` to specify config file
2016-09-15 01:25:59 +02:00
Raul Ochoa
4dfdb2eaea Fix example 2016-09-15 00:40:25 +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
510f1cd7d7 Rename var 2016-09-14 23:10:14 +02:00
Raul Ochoa
0d54604428 Remove setMaxListeners from tests 2016-09-14 21:24:22 +02:00
Raul Ochoa
50ec05e685 Merge pull request #362 from CartoDB/external-config
Remove settings and app_root dependency
2016-09-14 21:23:10 +02:00
Raul Ochoa
4ffadb725d Use before_install hook for travis 2016-09-14 21:18:54 +02:00
Raul Ochoa
84b80547c2 Remove settings' app_root 2016-09-14 21:02:56 +02:00
Raul Ochoa
f92d50cccf Rename from app to server
Removes app_root dependency in requires
2016-09-14 20:54:53 +02:00
Raul Ochoa
97ac1b8db6 Merge pull request #361 from CartoDB/logs-conf
Allow to use absolute paths for log files
2016-09-14 20:16:09 +02:00
Raul Ochoa
e315e77525 Allow to use absolute paths for log files
Fixes #355
2016-09-14 20:03:16 +02:00
Raul Ochoa
6b2c5b40e7 Merge pull request #360 from CartoDB/remove-rollbar
Removes support for optional rollbar logging
2016-09-14 19:58:28 +02:00
Raul Ochoa
0626d80e24 Removes support for optional rollbar logging 2016-09-14 19:22:31 +02:00
csobier
ea94716eb9 Merge pull request #359 from CartoDB/358-enhance-batch-description
added another best practice to batch queries content
2016-09-13 11:16:29 -04:00
Daniel García Aubert
80445c7d49 Removed unneeded file 2016-09-13 16:54:29 +02:00