Sandro Santilli
cf01f01bc9
Upgrades windshaft to 0.19.1 with many performance improvements
...
Among others:
- Improve speed of instanciating a map
- Give meaningful error on attempts to use map tokens with
attribute service
Closes #156 -- CDB-1796 #resolve
Closes #147
Closes #159
Closes #165
2014-02-26 17:26:17 +01:00
Sandro Santilli
5d0c71d292
Prepare for 1.8.3
2014-02-25 11:10:56 +01:00
Sandro Santilli
b3d3269d3d
Release 1.8.2
2014-02-25 10:52:55 +01:00
Sandro Santilli
a13c1f61af
Do not log an error for a legit request requiring no X-Cache-Channel
2014-02-24 17:34:00 +01:00
Sandro Santilli
4064b8f254
Add test for lack of X-Cache-Channel in response to root request
2014-02-24 16:24:01 +01:00
Sandro Santilli
5c466c51a8
Revert order of hostname components for statsd.prefix
2014-02-21 17:25:10 +01:00
Sandro Santilli
36628ce78e
Also enable the profiler in the example test config
...
This is again for #157 without closing it
2014-02-21 17:06:29 +01:00
Sandro Santilli
d2d7bba357
Add statsd prefix in test example config
...
Still doesn't add automated testing (#157 ) but makes manual
testing easier.
2014-02-21 16:57:02 +01:00
Sandro Santilli
8e68716d16
Give more info on failure
2014-02-21 16:56:50 +01:00
Sandro Santilli
6824c09916
Change example test user and database names
...
This is to avoid a clash with cartodb test databases
2014-02-20 18:03:43 +01:00
Sandro Santilli
09ea924eb2
Allow using GET with sql-api for queries shorter than configured len
...
Introduces new sqlapi.max_get_sql_length directive, defaults to 2048.
Closes #155
Includes testcases.
2014-02-20 10:17:48 +01:00
Sandro Santilli
c8a042abdd
Expand "addCacheChannel" stats
2014-02-19 18:10:33 +01:00
Sandro Santilli
019540e622
Set example statsd prefix with :host placeholder
2014-02-19 16:16:39 +01:00
Sandro Santilli
9a5243ade3
Fix munin plugin after log format changes
...
Closes #154
2014-02-19 15:38:14 +01:00
Sandro Santilli
b4fc8ec4a5
Allow using ":host" as part of statsd.prefix
...
It'll be replaced with hostname.
Closes #153
2014-02-19 15:31:12 +01:00
Sandro Santilli
30a2d85e92
Prepare for 1.8.2
2014-02-19 15:26:43 +01:00
Sandro Santilli
98603594b1
Release 1.8.1
2014-02-19 12:24:43 +01:00
Sandro Santilli
7410d98d56
Require windsahft 0.19.0 final
2014-02-19 11:25:42 +01:00
Sandro Santilli
1f552a9e24
Do not duplicate date in logs (already injected by logger)
2014-02-19 11:16:37 +01:00
Sandro Santilli
6c6f3d02f6
Always generate X-Cache-Channel for token-based tile responses
...
Closes #152
2014-02-19 10:09:54 +01:00
Sandro Santilli
36a135f02b
Refactor addCacheChannel using Step
2014-02-19 07:19:41 +01:00
Sandro Santilli
1c3734fde7
Make server_option a callable function, to reduce globals
...
Updates acceptance test for #152 to not mess wit internals
2014-02-19 06:45:29 +01:00
Sandro Santilli
3c09be64ce
Add pending test for X-Cache-Channel on tiler restart ( #152 )
2014-02-18 18:33:00 +01:00
Sandro Santilli
719346a472
Use log4js logger
...
Closes #138 .
The logger will be automatically used by Windshaft on upgrade
to 0.18.1, see https://github.com/CartoDB/Windshaft/issues/140
2014-02-18 15:12:08 +01:00
Sandro Santilli
69693acea0
Add statsd prefix in example configs
2014-02-18 10:38:15 +01:00
Sandro Santilli
3873fdf5db
Prepare for 1.8.1
2014-02-18 10:38:01 +01:00
Sandro Santilli
c3a05e5041
Set 1.8.0 release date
2014-02-18 10:09:17 +01:00
Sandro Santilli
4c0ab92771
Default to installed mapnik_version during testing
...
See https://github.com/CartoDB/Windshaft/issues/117
2014-02-18 09:55:00 +01:00
Sandro Santilli
c14378ca5d
Avoid checking for table privacy when not using table maps
...
See #147
2014-02-17 18:20:18 +01:00
Sandro Santilli
26b9c8123d
Set maxSocket to allow more than 5 concurrent connections to sql-api
2014-02-17 18:03:11 +01:00
Sandro Santilli
5a504ac1dc
Require Windshaft-0.18.2 for statsd-profiler integration
2014-02-17 16:56:44 +01:00
Sandro Santilli
8401dcf6d7
Use /api/v1/map route for unified map api in the examples
...
Closes #146
2014-02-17 16:29:23 +01:00
Sandro Santilli
1f2e4edd35
Comments cleanup
2014-02-17 11:10:08 +01:00
Sandro Santilli
212eec2ca6
Pass profiler back to windshaft on createLayergroup
2014-02-17 08:50:12 +01:00
Sandro Santilli
935826ed1a
Integrate statsd in template instanciation endpoint
...
NOTE: stats are only enabled using windshaft 0.18.2+
2014-02-15 08:23:43 +01:00
Sandro Santilli
8f3c6c3c87
Add profiler calls in template instanciation endpoint
2014-02-15 08:06:57 +01:00
Sandro Santilli
cd3f8dcf89
Only print layergroupid on template instanciation
2014-02-14 17:33:20 +01:00
Sandro Santilli
9ff192366a
Add example mapconfig
2014-02-14 17:24:18 +01:00
Sandro Santilli
63401ca3df
Use a single redis client in SignedMap.isAuthorized
2014-02-14 17:07:52 +01:00
Sandro Santilli
8e323a6c07
Remove more commas (see previous commit)
2014-02-14 16:08:32 +01:00
xavijam
d50c6c6dc3
close #144 - removed unnecessary comma
2014-02-14 13:12:52 +01:00
Sandro Santilli
def474c611
Skip getting geometry type if request has no table
2014-02-14 12:26:34 +01:00
Sandro Santilli
c1b2d16119
rename tablePrivacy_getUserDBName profile label
2014-02-14 11:47:43 +01:00
Sandro Santilli
678d653ee9
Allow configuring TTL of mapConfigs via "mapConfigTTL"
2014-02-13 15:44:54 +01:00
Sandro Santilli
4a6af108b4
Fix use of maxUserTemplate configuration variable
2014-02-13 15:01:58 +01:00
Sandro Santilli
e4cd37647e
Allow limiting number of allowed user templates
...
Adds maxUserTemplates directive.
Closes #136
2014-02-13 14:55:31 +01:00
Sandro Santilli
4254f56093
Fix output from list_template to be more readable
2014-02-13 12:56:44 +01:00
Sandro Santilli
f7cef9dcd8
Fix bogus reference in SignedMaps when globals.environment is not set
2014-02-13 10:57:41 +01:00
Sandro Santilli
1c69eb1ae4
Add example template to use with the commandline tools
2014-02-13 10:31:28 +01:00
Sandro Santilli
b673cb2a1f
Add more detailed profile info about the "authorize" step
...
Closes #142
2014-02-13 10:25:28 +01:00