Commit Graph

79 Commits (master)

Author SHA1 Message Date
Álvaro 5c491a25cf
Use env vars and fix tests
4 years ago
Daniel García Aubert 05e77b2aed Add test with mapconfig's query against a table to ensure cache buster metrics are sent with the right values.
4 years ago
Daniel García Aubert a196a26ab4 Get templateHash for static tile request and errored named map instantiations
4 years ago
Daniel García Aubert 8d73571f5b Simplify assertions
4 years ago
Daniel García Aubert d5348dd9d4 Rename fields from headers of metrics
4 years ago
Daniel García Aubert 7e31b956bf Send stat_tag metric when available
4 years ago
Daniel García Aubert dbc5d65d90 Send template_hash as part of the metrics event
4 years ago
Daniel García Aubert 798d010776 Ensure "map_id" and "cache_buster" as part of the event
4 years ago
Daniel García Aubert 70f0b6ea50 Avoid to use "pubsub" for the name of modules, middlewares, variables, etc..
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 7f5ed58a79 Add test
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 7d6a64d383 Do not expose functions just to be able to mock them while testing
4 years ago
Esther Lozano 34c446909e Trim fields when normalizing
5 years ago
Esther Lozano 583765a298 Normalize headers values for pubsub
5 years ago
Esther Lozano 4b1f0b5775 Add unit and integration tests for pubsub
5 years ago
Daniel García Aubert 734c373f3d Camel case
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 García Aubert f8e117a7b7 JSHint is not ready for modern javascript
5 years ago
Daniel García Aubert c4054f0ac9 Use develop branch of query-tables
5 years ago
Daniel García Aubert 73e1659378 Add suffix '-test' to every test-suite file
5 years ago
Daniel García Aubert e8cff194fc Rename template_maps -> template-maps
5 years ago
Daniel García Aubert f1de1b3b91 Rename test files: stop using underscores, use hyphens instead
5 years ago
Daniel García Aubert 7dbac5a565 Rename profiler_proxy -> profiler-proxy
5 years ago
Daniel García Aubert b1d5f0f9e8 Rename pg_query_runner -> pg-query-runner
5 years ago
Daniel García Aubert 7142e4db37 Rename pg_connection -> pg-connection
5 years ago
Daniel García Aubert 281a079a62 Simplify folder structure
5 years ago
Raul Marin a673e6d138 Update dependencies
5 years ago
Daniel García Aubert e2d27db828 Ise strict mode for moduler under test folder
6 years ago
Daniel García Aubert ba36a47228 Rename overviews metadata api by overviews metadata backend
7 years ago
Daniel García Aubert e0d8dc0334 Rename filter stats api by filter stats backend
7 years ago
Daniel García Aubert 6167562758 Meet application logic and folder struture
7 years ago
Daniel García Aubert d902476780 Fix assertions, now MapCofig.getLayer() return {} if layer not found
8 years ago
Ubuntu bc5dabef3c Revert "Fix assertions, now MapCofig.getLayer() return {} if layer not found"
8 years ago
Daniel García Aubert 024f1e4851 Fix assertions, now MapCofig.getLayer() return {} if layer not found
8 years ago
Raul Ochoa e74ce9dfd8 Analyses limit configuration allows to set other limits than timeout
8 years ago
Raul Ochoa 376573459c Default analyses limits can be defined in configuration
8 years ago
Raul Ochoa 5e6529363b Remove unused var
8 years ago
Raul Ochoa e9d1951d48 Use context for datasource 1/2
8 years ago
Raul Ochoa 7ad8a99373 Unify getMapConfig signature for overviews adapter
8 years ago
Raul Ochoa efcb73e0d1 Named layers adapter with getMapConfig signature
8 years ago
Raul Ochoa 6ccdb6cefd Overviews adapter with getMapConfig interface
8 years ago
Raul Ochoa 9f6ce64a31 Named maps adapter with getMapConfig interface
8 years ago
Raul Ochoa 69f40e6f6a Removed duplicated declaration
8 years ago
Raul Ochoa 20725900b6 Overviews adapter into adapters package
8 years ago
Raul Ochoa ab984729f5 Named layers adapter into adapters package
8 years ago