Commit Graph

76 Commits

Author SHA1 Message Date
Simon Martín
791967877c addining gzip support to copyfrom 2018-05-11 13:33:54 +02:00
Simon Martín
a2d0163ece ensuring works with sql parameter in query string 2018-05-08 12:51:52 +02:00
Simon Martín
41a585d761 test of copyfrom 2018-05-03 18:32:39 +02:00
Simon Martín
7e71f8dc3b supporting multipart requests 2018-05-03 18:32:15 +02:00
Simon Martín
bb929bf3dc adding rediscell files for linux and mac 2018-03-27 12:14:28 +02:00
Daniel García Aubert
418ec1304f Fix issue with auth fallback, it wasn't authenticated when apikey master was provided 2018-02-26 18:13:49 +01:00
Daniel García Aubert
bcf88093e9 Support basic-auth for batch api 2018-02-16 11:52:57 +01:00
Daniel García Aubert
2cadfe6f18 Add support for Basic Auth 2018-02-16 10:46:58 +01:00
Daniel García Aubert
ea6e8b5315 Implement fallback mechanism to be able to authenticate as usual in case of apikey is not found 2018-02-14 16:22:36 +01:00
Daniel García Aubert
974d219aad Add test for batch api 2018-02-13 19:47:00 +01:00
Daniel García Aubert
7ba95d28cc Add test to check regular api keys 2018-02-13 17:53:27 +01:00
Daniel García Aubert
5c7f5fbaa5 Merge branch 'master' into auth-api 2018-02-12 16:30:09 +01:00
Daniel García Aubert
d13dd9549e Implemtent first acceptance test to check auth-api happy cases 2017-11-23 17:39:28 +01:00
Simon Martín
63238ddd89 fix EOF line and forgotten 'only' 2017-11-17 13:17:42 +01:00
Simon Martín
3a5c28cced py_sleep postgres function 2017-11-17 13:09:37 +01:00
Daniel García Aubert
102a17c12b Fix test 2017-09-20 16:17:33 +02:00
Daniel García Aubert
b774a0ff5c Use method 'psql.end' exposed by 'cartodb-psql' instead of using the pg's one directly 2017-08-11 15:11:07 +02:00
Daniel García Aubert
fd39027c6c Add TODOs 2017-08-09 18:56:51 +02:00
Daniel García Aubert
74b92bc782 Implement tests 2017-08-09 12:53:59 +02:00
Daniel García Aubert
ee9709199a Expose method to configure user's
metadata
2017-08-09 12:51:21 +02:00
Daniel García Aubert
d7d2c73c3a Add test to check that export api handles user timeout limit 2017-08-04 17:12:49 +02:00
Daniel García Aubert
8b6ec95108 Add test to check timeout error while exporting 2017-08-03 19:15:24 +02:00
Raul Ochoa
afcb25be76 Dont debug that much 2016-12-19 15:30:03 +01:00
Raul Ochoa
38c3c4b4b0 More debug 2016-12-19 15:29:52 +01:00
Raul Ochoa
e2c916f4ea Add debugging info in assert.response 2016-12-19 15:29:41 +01:00
Raul Ochoa
7a666a8f57 Rename untitle_table_4 dependant objects 2016-12-09 10:28:51 +01:00
Daniel García Aubert
9a63006719 Validate job response using the internal reference 2016-11-24 15:40:09 +01:00
Daniel García Aubert
a0eea98940 Implement custom assert for batch test client 2016-11-24 13:25:14 +01:00
Daniel García Aubert
363a550633 Fix error message 2016-11-24 13:09:33 +01:00
Daniel García Aubert
ce51fb8860 Set tiemout for test client to 5s 2016-11-24 00:15:17 +01:00
Daniel García Aubert
f7a41d3a0d Try to cancel a job 2016-11-23 20:46:19 +01:00
Daniel García Aubert
5eca803fc8 Add support to get some specific job status 2016-11-23 19:20:44 +01:00
Daniel García Aubert
93a8fcc2f9 Make customizable timeout value for request 2016-11-23 12:30:16 +01:00
Daniel García Aubert
37b9eda6c3 Fix typo 2016-11-22 18:33:46 +01:00
Daniel García Aubert
23054034b4 Add mechanism to avoid infiniy request to check job status 2016-11-22 14:26:21 +01:00
Daniel García Aubert
172c9d91e8 Set request timeout to 4sec 2016-11-22 11:54:22 +01:00
Daniel García Aubert
d152aa7ec9 Set request timeout to 5sec 2016-11-22 11:41:35 +01:00
Daniel García Aubert
0f5a67833f Set default timeout for assert response to 4 sec 2016-11-21 18:29:46 +01:00
Daniel García Aubert
4a64d37c6c Add work in progrees list endpoint 2016-10-28 15:08:42 +02:00
Raul Ochoa
5030fddc9c Allow to override test client 2016-10-19 16:56:43 +02:00
Raul Ochoa
cdde1be29e Re-use redis pool as much as possible 2016-10-17 15:02:34 +02:00
Raul Ochoa
f6dc991ab5 Allow to override configuration per API call 2016-10-17 10:52:35 +02:00
Raul Ochoa
b86f82d3ca Batch.stop removes all listeners 2016-10-12 16:43:18 +02:00
Raul Ochoa
66820a67bb Make possible to specify a name for batch 2016-10-10 19:46:07 +02:00
Raul Ochoa
ece95afc95 Add test client to run plain queries 2016-10-10 15:37:46 +02:00
Raul Ochoa
8ac656492f Move to support directory 2016-10-10 15:22:50 +02:00
Raul Ochoa
b07e2d3de5 Merge pull request #346 from CartoDB/fix-batch-api-test
Removed duplicated config
2016-10-04 13:01:46 +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
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