Álvaro
5c491a25cf
Use env vars and fix tests
4 years ago
Daniel García Aubert
ffe19827fd
Rename factory and don't use the keyword 'new' to create server while testing
4 years ago
Daniel García Aubert
48c28aea0b
Do not bind logger to global object, now it's a part of serverOptions
4 years ago
Daniel García Aubert
163c546236
Replace log4js by pino as logger:
...
- Logs to stdout, disabled while testing
- Change log calls signature when needed
- Use development version of camshaft
- Removes unused log cofiguration
- Bind request id to log req/res
- Log req at the begining of the cycle and res at the end
4 years ago
Daniel García Aubert
f31e8b43b6
Duplicate
4 years ago
Daniel García Aubert
b97aeda53c
Adapt test-client to handle client query param
4 years ago
Daniel García Aubert
aff5c9a614
Add test to check the headers exist while instantiating a map
4 years ago
Daniel García Aubert
7e31b956bf
Send stat_tag metric when available
4 years ago
Daniel García Aubert
4e3ef96374
Add test to chek we still send events when errored map static tile
4 years ago
Daniel García Aubert
c88a14bf43
Send metrics for map instantiations (named, anonymous and static) with the new format.
4 years ago
Daniel García Aubert
89e349146d
Fix tests and stop using sinon as a dev dependency
4 years ago
Daniel García Aubert
a8fb51ba25
- Rename NamedMapProviderReporter by NamedMapProviderCacheReporter
...
- Extract getOnTileErrorStrategy to a module
- Stop using MapStore from windshaft while testing and create a custom one instead
5 years ago
Daniel García Aubert
a3bdbf6202
In tests, stop using mapnik module exposed by windshaft and require it from development dependencies
5 years ago
Esther Lozano
970be73052
Allow extra headers in the requests of test client
5 years ago
Daniel García Aubert
c877d0b964
Implement polygon filter
5 years ago
Daniel García Aubert
17f151cd5a
Implement circle filter for dataviews
5 years ago
Daniel García Aubert
b2af93dfec
Remove reference to unexistent file
5 years ago
Daniel García Aubert
eee59abfa1
Remove unused bash script
5 years ago
Daniel García Aubert
2c8a030ecb
Merge branch 'master' into eslint
5 years ago
Raúl Marín
3c586caba4
Qualify calls to cartodb extension so having it in the search_path isn't necessary
5 years ago
Daniel García Aubert
734c373f3d
Camel case
5 years ago
Daniel García Aubert
3bc3d19f40
Stop using legacy URL api
5 years ago
Daniel García Aubert
d5218a86f6
Enforce callback error handling
5 years ago
Daniel García Aubert
7a1d2ca205
Avoid calling Object.prototype methods directly on object instances
5 years ago
Daniel García Aubert
d89e785440
Stop using deprecated Buffer constructor
5 years ago
Daniel García Aubert
2423b5a4c4
Replace assert.deepEqual() by assert.deepStrictEqual()
5 years ago
Daniel García Aubert
1bee877b24
Replace assert.equal() by assert.strictEqual()
5 years ago
Daniel García Aubert
4d70ac0894
Apply automatic eslint fixes
5 years ago
Daniel G. Aubert
c82f17e5d2
Merge pull request #1126 from CartoDB/gears
...
Be able to inject middlewares from configuration
5 years ago
Raul Marin
69b11a8412
sec
5 years ago
Daniel García Aubert
98f3e8159e
Stop using __dirname in requires
5 years ago
Daniel García Aubert
f1de1b3b91
Rename test files: stop using underscores, use hyphens instead
5 years ago
Daniel García Aubert
a134ab3012
Rename server_options -> server-options
5 years ago
Daniel García Aubert
3acaac5403
Rename icu_data_env_setter -> icu-data-env-setter
5 years ago
Daniel García Aubert
281a079a62
Simplify folder structure
5 years ago
Raul Marin
9f2b5330d5
Install the cartodb extension directly
5 years ago
Raul Marin
9a552a7cc4
Adapt to fully qualification in the extension
5 years ago
Mario de Frutos Dieguez
022e6a2f89
Tests using PG11 and Postgis 2.5 ( #1093 )
6 years ago
Raul Marin
ae59c4f996
Merge remote-tracking branch 'blessed/master' into 1073-aggregation-false
6 years ago
Javier Goizueta
c5f5f43ccb
Fix test for disabling aggregations
...
See #1073
6 years ago
Daniel García Aubert
77d5d8ebd4
Be able to aggregate by a field
6 years ago
Daniel García Aubert
561be2e5e8
Add tests
6 years ago
Daniel García Aubert
c3df075d91
Draft
6 years ago
Daniel García Aubert
5f43db2e36
Remove POSTGIS_VERSION env variable and run test using mvt renderer always
6 years ago
Daniel García Aubert
47576358a2
Remove hack of stripping PARALLEL labels for PG releases before 9.6
6 years ago
Daniel García Aubert
d5af1bd9a2
Implement tests to check the limit error is the expected one
6 years ago
Daniel García Aubert
f3b1bb742a
Ensure all pg connections are being refreshed
6 years ago
Daniel García Aubert
af4b9f57f5
Skip just torque database timeout limit
6 years ago
Daniel García Aubert
40ccdfd9b3
Drain pool connection before
6 years ago
Daniel García Aubert
659b0ba889
Use pdql.end with callback
6 years ago