Commit Graph

  • 219d2c9044 Shortcuts for serializers Daniel García Aubert 2020-06-03 15:10:31 +0200
  • 1e89821d97 Use standard serializers for error, request, and response Daniel García Aubert 2020-06-03 14:28:35 +0200
  • 29c6505252 Do not set header 'x-tiler-profiler' and log it instead Daniel García Aubert 2020-06-02 17:09:06 +0200
  • 7d8d05b865 Log errors and do not send 'X-Tiler-Errors' header Daniel García Aubert 2020-06-02 16:11:39 +0200
  • afeb91dc86 Bring back logger for windshaft Daniel García Aubert 2020-06-02 13:20:57 +0200
  • b7b3392bdd Be able to set log level from env variable LOG_LEVEL Daniel García Aubert 2020-06-02 13:16:26 +0200
  • b60116410a Use req/res logger instead of the one bound to global object Daniel García Aubert 2020-06-02 12:31:18 +0200
  • ffe19827fd Rename factory and don't use the keyword 'new' to create server while testing Daniel García Aubert 2020-06-02 11:57:11 +0200
  • 48c28aea0b Do not bind logger to global object, now it's a part of serverOptions Daniel García Aubert 2020-06-02 11:49:54 +0200
  • 62d66f2dbc Do not use global logger in middlewares, use the one initialized in res.locals instead Daniel García Aubert 2020-06-02 09:00:45 +0200
  • e644201756 Merge branch 'master' into dgaubert/ch78384/maps-api-replace-log4js-logger-by-pino Daniel García Aubert 2020-06-01 19:23:21 +0200
  • 481a5928c4
    Merge pull request #1169 from CartoDB/update-deps Daniel G. Aubert 2020-06-01 19:21:34 +0200
  • 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 Daniel García Aubert 2020-06-01 19:18:15 +0200
  • 656bc9344b Update deps Daniel García Aubert 2020-06-01 13:50:09 +0200
  • b79a8587fa Update deps to fix some security vuln Daniel García Aubert 2020-06-01 12:35:31 +0200
  • 1d109cc57a ES6 class syntax origin/es6 Daniel García Aubert 2020-05-29 18:54:27 +0200
  • 0cfcb6088f ES6 class syntax Daniel García Aubert 2020-05-29 18:23:23 +0200
  • 73284c9941 Merge branch 'master' into es6 Daniel García Aubert 2020-05-29 16:17:20 +0200
  • 17337974a2
    Merge pull request #1168 from CartoDB/dgaubert/ch77050/data-in-headers Daniel G. Aubert 2020-05-29 16:16:19 +0200
  • 6bcf477532 Avoid custom headers to be undefined Daniel García Aubert 2020-05-29 16:06:16 +0200
  • bf7e8a6ec6
    Merge pull request #1167 from CartoDB/dgaubert/ch77050/data-in-headers Daniel G. Aubert 2020-05-26 17:14:32 +0200
  • f31e8b43b6 Duplicate Daniel García Aubert 2020-05-26 17:03:53 +0200
  • 0090811510 Typo Daniel García Aubert 2020-05-26 16:56:50 +0200
  • b97aeda53c Adapt test-client to handle client query param Daniel García Aubert 2020-05-26 16:52:13 +0200
  • f82232194c Under if Daniel García Aubert 2020-05-26 16:31:53 +0200
  • aff5c9a614 Add test to check the headers exist while instantiating a map Daniel García Aubert 2020-05-26 16:28:44 +0200
  • ddefb1a6ca Add 'Carto-Stat-Tag', 'Carto-User-Id', and 'Carto-Client' headers Daniel García Aubert 2020-05-26 13:15:35 +0200
  • 4d06fee1e2
    Merge pull request #1164 from CartoDB/node-12 Daniel G. Aubert 2020-05-20 15:57:46 +0200
  • 8febd81ed2 Merge branch 'master' into node-12 origin/node-12 Daniel García Aubert 2020-05-20 09:15:05 +0200
  • e575f01bef Upgrade gc-stats to version 1.4.0 Daniel García Aubert 2020-05-14 19:32:47 +0200
  • f25f507945
    Merge pull request #1165 from Algunenano/clang9 Raúl Marín 2020-05-14 18:11:15 +0200
  • bdbb529ea8 Force clang-9 to be used Raúl Marín 2020-05-14 16:15:20 +0200
  • 0aac942aa1 Make query idempotent among PG versions Daniel García Aubert 2020-05-14 13:13:32 +0200
  • 8cc24bc665 - Drop support for Node.js < 12 - Support Node.js 12 - Upgrade windshaft to version 7.0.0 - Upgrade camshaft to version 0.65.3 - Upgrade cartodb-redis to version 3.0.0 Daniel García Aubert 2020-05-14 13:00:23 +0200
  • 09029d9612 ES 6 class, arrow function for callback, use const/let, syntax, don't use underscore. Daniel García Aubert 2020-05-08 18:11:19 +0200
  • 478ea66678
    Merge pull request #1162 from CartoDB/dgaubert/ch71093/update-maps-api-to-new-event-format Daniel G. Aubert 2020-05-01 13:34:57 +0200
  • 4dfc898587 Don't log when metrics where sent successfully Daniel García Aubert 2020-05-01 13:25:03 +0200
  • 05e77b2aed Add test with mapconfig's query against a table to ensure cache buster metrics are sent with the right values. Daniel García Aubert 2020-05-01 11:43:37 +0200
  • 24863b6393 Update NEWS Daniel García Aubert 2020-05-01 10:51:33 +0200
  • 3cf17c8bab typo Daniel García Aubert 2020-05-01 10:40:56 +0200
  • 8c38ecf808 Missing substring Daniel García Aubert 2020-04-30 13:24:41 +0200
  • a196a26ab4 Get templateHash for static tile request and errored named map instantiations Daniel García Aubert 2020-04-30 13:09:12 +0200
  • 8d73571f5b Simplify assertions Daniel García Aubert 2020-04-30 12:30:31 +0200
  • d5348dd9d4 Rename fields from headers of metrics Daniel García Aubert 2020-04-29 18:48:10 +0200
  • 7e31b956bf Send stat_tag metric when available Daniel García Aubert 2020-04-29 18:25:01 +0200
  • dbc5d65d90 Send template_hash as part of the metrics event Daniel García Aubert 2020-04-29 17:26:33 +0200
  • c91d78fe51 Also export template hash Daniel García Aubert 2020-04-29 16:44:14 +0200
  • 798d010776 Ensure "map_id" and "cache_buster" as part of the event Daniel García Aubert 2020-04-29 14:32:08 +0200
  • 70f0b6ea50 Avoid to use "pubsub" for the name of modules, middlewares, variables, etc.. Daniel García Aubert 2020-04-29 10:40:45 +0200
  • 4e3ef96374 Add test to chek we still send events when errored map static tile Daniel García Aubert 2020-04-29 10:28:10 +0200
  • c88a14bf43 Send metrics for map instantiations (named, anonymous and static) with the new format. Daniel García Aubert 2020-04-28 19:17:00 +0200
  • 7f5ed58a79 Add test Daniel García Aubert 2020-04-27 18:40:28 +0200
  • 89e349146d Fix tests and stop using sinon as a dev dependency Daniel García Aubert 2020-04-27 18:02:06 +0200
  • c5cb2ea4cb Add FIXME comment Daniel García Aubert 2020-04-27 13:35:19 +0200
  • fe9610abe9 Missing logger argument Daniel García Aubert 2020-04-27 13:35:07 +0200
  • 1bbde4f5e3 Let to the caller to choose how to handle the call to a method Daniel García Aubert 2020-04-27 13:27:05 +0200
  • e90c196598 Simplified metrics middleware and backend Daniel García Aubert 2020-04-27 12:46:27 +0200
  • 6a2333be64 Topic name's lifetime is longer than pubsub backend, we can keep it as property. Daniel García Aubert 2020-04-27 12:13:54 +0200
  • 7d6a64d383 Do not expose functions just to be able to mock them while testing Daniel García Aubert 2020-04-27 11:59:36 +0200
  • 42dc2915ea Send pubsub metrics once the response has finished Daniel García Aubert 2020-04-27 11:41:37 +0200
  • 3cec6b5a90 Missing callback Daniel García Aubert 2020-04-27 11:06:09 +0200
  • c31e3d6e3f Consistent interface when returning no event for eventa data in metrics Daniel García Aubert 2020-04-27 10:58:37 +0200
  • 6e4c8a6639 Follow Node.js callback pattern Daniel García Aubert 2020-04-27 10:23:11 +0200
  • 809c267419
    Merge pull request #1161 from CartoDB/fix_parsing_columns_histograms_1160 Manuel J. Morillo 2020-04-23 13:12:32 +0200
  • 5ac27d1002 Update NEWS manmorjim 2020-04-10 14:34:02 +0200
  • 7237fb04a8 Adding test for column date type in numeric histograms manmorjim 2020-04-10 14:33:38 +0200
  • d1696425fd Prevent using cast column from alias __ctx_query manmorjim 2020-04-10 14:09:44 +0200
  • a614fb1ef6
    Merge pull request #1159 from Algunenano/travis_12 Raúl Marín 2020-04-09 15:09:07 +0200
  • aa38dd3b59 Travis: Add pg12 Raúl Marín 2020-04-09 13:03:40 +0200
  • 2ac050501b
    Merge pull request #1158 from CartoDB/get-tile-promises Daniel G. Aubert 2020-04-05 13:23:18 +0200
  • 03abe187ce Update NEWS and prepera next major release version Daniel García Aubert 2020-04-05 13:16:45 +0200
  • a83d0cf7af Update windshaft to released version 6.0.0 Daniel García Aubert 2020-04-05 12:59:58 +0200
  • 8bb4fbec12 Get the rendererCache's config right and avoid to set the NamedMapCacheReporter's interval to 'undefined' Daniel García Aubert 2020-04-04 18:51:22 +0200
  • a8fb51ba25 - Rename NamedMapProviderReporter by NamedMapProviderCacheReporter - Extract getOnTileErrorStrategy to a module - Stop using MapStore from windshaft while testing and create a custom one instead Daniel García Aubert 2020-04-04 17:46:08 +0200
  • 24efc37737 Update windshaft development version Daniel García Aubert 2020-04-04 17:42:52 +0200
  • c25678cc28 Remove /version endpoint and bootstrapFonts at process startup (now done in windshaft) Daniel García Aubert 2020-04-04 17:42:26 +0200
  • 44970b78a1 TODO Daniel García Aubert 2020-04-04 17:35:09 +0200
  • a3bdbf6202 In tests, stop using mapnik module exposed by windshaft and require it from development dependencies Daniel García Aubert 2020-04-04 17:34:22 +0200
  • f583a4240a Remove jshint comments Daniel García Aubert 2020-04-04 17:29:33 +0200
  • 4054c6923f Use new signature for onTileErrorStrategy Daniel García Aubert 2020-03-27 19:38:28 +0100
  • 7a1d84a3fb Update windshaft Daniel García Aubert 2020-03-27 16:59:30 +0100
  • 58ed7c0093 Lint Daniel García Aubert 2020-03-23 10:07:24 +0100
  • f56e79ed1f Update windshaft Daniel García Aubert 2020-03-23 10:01:54 +0100
  • 45c423bbaf Update windshaft Daniel García Aubert 2020-03-21 18:53:32 +0100
  • 78f47e5873 Update windshaft and send more metrics Daniel García Aubert 2020-03-21 18:30:38 +0100
  • 21d1a56953 Update windshaft and use the new method that reports stats about cached renderers Daniel García Aubert 2020-03-21 14:13:53 +0100
  • 69a02bcee0 Fix stat named map providers cache count Daniel García Aubert 2020-03-20 18:50:22 +0100
  • d2c0f553fc Update windshaft to development version Daniel García Aubert 2020-03-18 19:50:35 +0100
  • 3967aecfdc Fix test where http-fallback-image renderer was failing quietly Daniel García Aubert 2020-03-18 19:45:31 +0100
  • 7b8cc0a8b8
    Add response time to pubsub events (#1155) Esther Lozano 2020-03-10 11:40:01 +0100
  • 28c4e89ab5
    Merge pull request #1156 from CartoDB/camshaft-0.65.3 Daniel G. Aubert 2020-03-05 12:14:52 +0100
  • 8c42ac9053 Update NEWS and project version Daniel García Aubert 2020-03-05 11:40:41 +0100
  • 86987f9e69 Upgade camshaft to version 0.65.3 Daniel García Aubert 2020-03-05 11:36:23 +0100
  • 33a8267d2c
    Merge pull request #1154 from CartoDB/add-pubsub-metrics Simon Martín 2020-02-27 11:14:32 +0100
  • 779a8a8927 Fix linter Esther Lozano 2020-02-26 17:44:53 +0100
  • 1888302cee Avoid normalizing empty fields Esther Lozano 2020-02-26 17:41:41 +0100
  • 34c446909e Trim fields when normalizing Esther Lozano 2020-02-26 14:50:41 +0100
  • 583765a298 Normalize headers values for pubsub Esther Lozano 2020-02-26 13:24:46 +0100
  • 4b1f0b5775 Add unit and integration tests for pubsub Esther Lozano 2020-02-25 14:14:44 +0100
  • 8f81c810e0 Continue middleware chain after response or error Esther Lozano 2020-02-25 14:14:20 +0100