Commit Graph
932 Commits
Author SHA1 Message Date
Daniel García Aubert f1e421db05 Create an api router isolated from heath checks 2018-04-03 19:08:56 +02:00
Daniel García Aubert b6989ac82a Create a controllers factory where all collaborators are created and controllers are mounted afterwards 2018-04-02 19:02:31 +02:00
Daniel f2a7953d9d Merge pull request #915 from CartoDB/unify-headers-middlewared
Unify headers middlewares
2018-03-27 12:38:23 +02:00
Simon Martín d28c915635 jshint happy 2018-03-23 15:57:30 +01:00
Simon Martín f19eeff899 returning error mvt on rate limit 2018-03-23 13:30:47 +01:00
Simon Martín 1ce908177e correct error message in rate limit tests 2018-03-23 11:47:28 +01:00
Simon Martín fb784d6a91 removing retry after when no necessary 2018-03-23 10:23:57 +01:00
Daniel 771eaf97c8 Merge pull request #909 from CartoDB/spread-prepare-context-middleware
Spread `prepareContext` middleware
2018-03-22 10:48:37 +01:00
Daniel García Aubert 72c4a7abd6 Extract cache control header middleware 2018-03-21 16:38:37 +01:00
Raul Marin 0906ae3c93 PG11: Modify regex match to accept pg11 errors 2018-03-20 11:34:30 +01:00
Daniel García Aubert f8d1e159f4 Please jshint 2018-03-20 11:09:05 +01:00
Daniel García Aubert df999e040c Merge branch 'spread-prepare-context-middleware' into unify-middlewares 2018-03-20 11:06:31 +01:00
Daniel García Aubert 2e13bc42a1 Merge branch 'master' into spread-prepare-context-middleware 2018-03-20 11:01:13 +01:00
Daniel García Aubert bb170ee208 Please, jshint 2018-03-19 19:27:38 +01:00
Daniel García Aubert d463d35906 Remove mocha filter 2018-03-19 14:56:20 +01:00
Daniel García Aubert 5cde325d9a Fix ported test related to cache_buster from layergroup token 2018-03-19 13:51:03 +01:00
Daniel García Aubert b038763b7b Fix skipped test, port is configured via app configuration. It's no longer configurable via query-params 2018-03-19 12:48:52 +01:00
Daniel García Aubert 73397ab500 Typo 2018-03-16 20:04:39 +01:00
Daniel García Aubert a7f6eafd5c Remove unused porperties from ported server options 2018-03-16 20:04:29 +01:00
Daniel García Aubert ed9083de24 Remove req2params middleware from ported server options 2018-03-16 20:02:18 +01:00
Daniel García Aubert a2fa92abf1 Fix ported test ny adding host header to the request 2018-03-16 19:58:29 +01:00
Daniel García Aubert fa1e1fd779 Fix ported test by adding host header to the requests 2018-03-16 19:56:34 +01:00
Daniel García Aubert adde66bc57 Fix more ported test 2018-03-16 18:59:07 +01:00
Daniel García Aubert db08fc3da2 Remove meaningless test 2018-03-16 18:58:42 +01:00
Daniel García Aubert 97e603b215 Fix ported test 2018-03-16 18:33:47 +01:00
Daniel García Aubert 29936d76b1 Fix ported test by adding host header to request 2018-03-16 18:18:06 +01:00
Daniel García Aubert 3f88aaae64 Fix ported test by adding host header to requests 2018-03-16 18:15:37 +01:00
Daniel García Aubert fccf46c67d Add host header to test-client (ported) 2018-03-16 18:06:31 +01:00
Daniel García Aubert 970aca1c9d Add host header to test_client (ported) 2018-03-16 17:55:04 +01:00
Daniel García Aubert 5e494f0982 Add host headers to attributes test (ported) 2018-03-16 17:51:48 +01:00
Simon Martín cbfeb0158e adding type and subtype to rate limit error 2018-03-14 17:27:59 +01:00
Simon Martín bbedc5f41b Updating headers on tests 2018-03-14 12:15:07 +01:00
Simon Martín 0e43c54214 Merge branch 'master' into rateLimits 2018-03-13 18:09:44 +01:00
Eneko Lakasta 5ad1e1b645 merge master 2018-03-12 11:52:38 +01:00
Eneko Lakasta f9cbb3aac8 use assert.equal instead of assert.ok 2018-03-07 10:51:17 +01:00
Eneko Lakasta 0185cdf785 please jshint 2018-03-06 15:34:29 +01:00
Eneko Lakasta b0eacb2a79 add vary header to honor authorization header when caching 2018-03-06 12:46:38 +01:00
Simon Martín 31a554d94f updating tests to use cartodb-redis 2018-03-03 14:46:58 +01:00
Simon Martín a2bf235553 Merge branch 'master' into rateLimits 2018-03-02 21:21:10 +01:00
Simon Martín 9c27447b17 refactoring rate limit tests 2018-03-02 20:52:06 +01:00
Daniel García Aubert f03d98cd0d Going green: fix test 2018-03-02 18:37:13 +01:00
Daniel García Aubert fdd4c4aaa0 Going red: get default named map vector tile 2018-03-02 18:22:53 +01:00
Simon Martín 335d91b42d separate rate limit logic from middleware and EVALSHA 2018-02-28 13:11:18 +01:00
Simon Martín 254991c56c changing endpoint groups constant keys 2018-02-27 17:57:25 +01:00
Simon Martín b0d63b2ec0 changing module exports and middleware name 2018-02-27 16:52:27 +01:00
Simon Martín ae50dbd47c updating test to own redis-cell 2018-02-26 17:03:56 +01:00
Simon Martín b48dcc1418 moving tests to right folder type 2018-02-26 16:23:42 +01:00
Simon Martín f03ee4b836 removing hardcoded user 2018-02-26 11:20:31 +01:00
Simon Martín b34f05690c updating rate limit tests supporting multiple limits 2018-02-23 17:42:54 +01:00
Simon Martín d0024409df removing tests of redis-cell 2018-02-23 16:23:59 +01:00