a142620b70
- In controllers: all reference to map config are now camelized, for instance: mapconfig -> mapConfig or mapconfigProvider -> mapConfigProvider - In controllers: all map config providers created in req/res cycle are saved into `res.locals` and `mapConfigProvider` as key. - In map-config-providers: all of them implement `.getAffectedTables()`, in order to calculate the tables involved for a given map-config. For that, `pgConnection` and `affectedTablesCache` are injected as constructor argument. - Named Map Provider: rename references from `affectedTablesAndLastUpdate` to `affectedTables`. - Named Map Provider Cache: In order to create new named map providers, needs affectedTablesCache. - Extract locals middlewares (surrogate-key and cache-channel) from controllers and create an unified version of them. - Extract last-modified middleware from named maps controller (draft). |
||
---|---|---|
.. | ||
authorize.js | ||
cache-channel-header.js | ||
clean-up-query-params.js | ||
cors.js | ||
credentials.js | ||
db-conn-setup.js | ||
error-middleware.js | ||
last-modified-header.js | ||
layergroup-token.js | ||
locals.js | ||
lzma.js | ||
rate-limit.js | ||
send-response.js | ||
stats.js | ||
surrogate-key-header.js | ||
user.js | ||
vector-error.js |