Daniel García Aubert
06a47a8afc
Changed folder structure to reflect application functionallity. Renamed files using hyphens instead of underscore to have a more consistent naming across the whole project
2019-10-03 18:24:39 +02:00
Daniel García Aubert
b5bb06db6c
Add test to validate custom middlewares
2019-10-02 19:10:32 +02:00
Román Jiménez
e7eb2083f2
Add Rate limit headers to CORS ( #618 )
2019-09-27 09:52:51 +02:00
Raúl Marín
d57f00c4e5
query_tables_update: Update to 0.6.0 ( #613 )
2019-09-13 13:45:43 +02:00
Raúl Marín
df523960a2
Fix test timeouts ( #612 )
...
* Tests: Work with re-runs
* Test: Adapt copyfrom test
- Reduce timeout from 10 to 1 ms.
- Increase the size of the file from 6 to 2016 rows.
* Use node-cartodb-psql 0.14.0
Ref: https://github.com/CartoDB/CartoDB-SQL-API/pull/612
2019-09-13 11:28:37 +02:00
Raul Marin
7b02bf13af
Add tests for x-sqlapi-log length
2019-07-31 15:58:05 +02:00
Daniel García Aubert
fcb7591051
Extract query may write middleware
2019-07-26 18:23:14 +02:00
Daniel García Aubert
2aed90392e
Unify query params parsing in same middleware with differente strategies
2019-07-26 16:06:53 +02:00
Daniel García Aubert
668b809e3f
Extract query params parses to its middleware
2019-07-26 11:27:46 +02:00
Daniel García Aubert
46190008f5
Remove table cache
2019-07-24 17:44:04 +02:00
Daniel García Aubert
b3de428adb
Add test
2019-07-05 16:12:09 +02:00
Daniel García Aubert
9408be108b
Add missing test
2019-07-04 12:24:42 +02:00
Daniel García Aubert
50a35fa8c7
Add test
2019-07-04 12:21:31 +02:00
Daniel García Aubert
ccb0bbfb86
Set directive 'max-age' to 5 min when there are affacted tables where we can't know when were updated for the last time, e.g: non cartodified tables or foreing tables without cartodb support
2019-07-04 10:45:35 +02:00
Daniel García Aubert
4a342bce83
Merge branch 'master' into 498-pgtypes
2019-06-03 20:49:10 +02:00
Daniel García Aubert
88f8ad3013
Fix assertion
2019-06-03 20:48:12 +02:00
Daniel García Aubert
bd9de97b79
Add tests
2019-06-03 20:42:49 +02:00
Raul Marin
f971565ca7
Docker: Install cartodb extension
2019-06-03 17:45:04 +02:00
Raul Marin
be9f657958
Tests: Stop downloading individual files and use the full cartodb extension
2019-06-03 17:42:54 +02:00
Raul Marin
f6f8836152
Test: Remove some console.log calls
2019-06-03 17:42:19 +02:00
Daniel García Aubert
6417a734a0
Retrieve exact Pg field type information in JSON format
2019-06-03 17:37:40 +02:00
Daniel García Aubert
8ab98f705d
Going green, be able to handle post method for copyto endpoint
2019-05-31 11:54:20 +02:00
Daniel García Aubert
12a8fad251
Going red: test to check copyto endpoint through POST method
2019-05-31 10:55:00 +02:00
Daniel García Aubert
f20a38b3c8
Revert "typo"
...
This reverts commit 1eb7c86562
.
2019-05-31 10:38:36 +02:00
Daniel García Aubert
1eb7c86562
typo
2019-05-31 10:34:30 +02:00
Daniel García Aubert
2b86abbeba
Please, jshint
2019-05-28 19:30:17 +02:00
Daniel García Aubert
6676260b17
Implement a throttler stream to check input data speed
2019-05-28 19:24:29 +02:00
Daniel García Aubert
fbc958f8e1
Materialize table creation as test setup
2019-05-16 12:17:24 +02:00
Daniel García Aubert
2208fb9764
Implement a cancel backend through query instead of node-postgres protocol
2019-05-14 15:39:54 +02:00
Raul Marin
055f56005c
Remove workaround for PARALLEL tags
2019-04-10 11:53:14 +02:00
Daniel García Aubert
1905a2bd28
Please, jshint
2019-04-04 15:16:44 +02:00
Daniel García Aubert
2e2e233b68
Use 'bunyan' logger instead of 'debug' to log debug messages
2019-04-04 14:31:41 +02:00
Simon Martín
23149ce7bf
remving length test
2019-02-28 16:55:01 +01:00
Simon Martín
9cf68f2f16
Batch API Queries with fallbacks tests
2019-02-28 16:02:34 +01:00
Simon Martín
52e4dfa728
using the new TYPES
2019-02-28 11:49:05 +01:00
Simon Martín
d5470ac556
testing config parameters usage
2019-02-27 12:50:23 +01:00
Simon Martín
c53ed67252
typo
2019-02-27 11:57:36 +01:00
Simon Martín
1c6cb293d4
testing log middleware
2019-02-27 10:09:08 +01:00
Simon Martín
cd6bbaddab
remove 'only'
2019-02-26 16:29:07 +01:00
Simon Martín
157786a7bd
batch queries tests
2019-02-26 16:22:39 +01:00
Simon Martín
9f4adbc3de
Handle query middleware failing tests
2019-02-26 15:43:14 +01:00
Simon Martín
9ab3f71f03
Handle query middleware acceptance test
2019-02-26 15:37:03 +01:00
Simon Martín
799b767505
remove old query log system
2019-02-26 13:58:01 +01:00
Daniel García Aubert
26f8ccc3cf
Drop support for Node.js 6, npm 3, Postgres 9.5, PostGIS 2.2, and Redis 3
2019-02-21 18:55:27 +01:00
Daniel G. Aubert
76a7053414
version 6 to 6.9.2 in travis
...
Co-Authored-By: oleurud <oleurud@pm.me>
2019-02-13 10:48:09 +01:00
Simon Martín
3eae5ec5ab
test with new docker image
2019-02-12 18:52:57 +01:00
Daniel García Aubert
955b72a87c
Upgrade to mocha 5 to fix vulns
2019-01-16 18:13:17 +01:00
Simon Martín
60702faa57
adding Authorization to Access-Control-Allow-Headers
2019-01-10 15:55:08 +01:00
Raul Marin
03701ae695
Set platform limits message on streaming responses too
2019-01-02 16:21:33 +01:00
Raul Marin
7eb412cf59
Test: Accept PG11 error messages
2019-01-02 16:21:33 +01:00