Rename named_maps_entry -> named-maps-entry

This commit is contained in:
Daniel García Aubert 2019-10-07 09:51:51 +02:00
parent 83f58288f9
commit 06357fa3f9
8 changed files with 8 additions and 9 deletions

View File

@ -28,7 +28,7 @@ const SurrogateKeysCache = require('../cache/surrogate_keys_cache');
const VarnishHttpCacheBackend = require('../cache/backend/varnish-http');
const FastlyCacheBackend = require('../cache/backend/fastly');
const NamedMapProviderCache = require('../cache/named_map_provider_cache');
const NamedMapsCacheEntry = require('../cache/model/named_maps_entry');
const NamedMapsCacheEntry = require('../cache/model/named-maps-entry');
const NamedMapProviderReporter = require('../stats/reporter/named-map-provider');
const SqlWrapMapConfigAdapter = require('../models/mapconfig/adapter/sql-wrap-mapconfig-adapter');

View File

@ -1,6 +1,6 @@
'use strict';
const NamedMapsCacheEntry = require('../../cache/model/named_maps_entry');
const NamedMapsCacheEntry = require('../../cache/model/named-maps-entry');
const NamedMapMapConfigProvider = require('../../models/mapconfig/provider/named-map-provider');
module.exports = function setSurrogateKeyHeader ({ surrogateKeysCache }) {

View File

@ -6,8 +6,7 @@ var assert = require('../../support/assert');
var step = require('step');
var FastlyPurge = require('fastly-purge');
var _ = require('underscore');
var NamedMapsCacheEntry = require(__dirname + '/../../../lib/cache/model/named_maps_entry');
var NamedMapsCacheEntry = require('../../../lib/cache/model/named-maps-entry');
var CartodbWindshaft = require(__dirname + '/../../../lib/server');
var nock = require('nock');

View File

@ -9,7 +9,7 @@ var mapnik = require('windshaft').mapnik;
var CartodbWindshaft = require(__dirname + '/../../lib/server');
var serverOptions = require(__dirname + '/../../lib/server_options');
var TemplateMaps = require('../../lib/backends/template_maps.js');
var NamedMapsCacheEntry = require('../../lib/cache/model/named_maps_entry');
var NamedMapsCacheEntry = require('../../lib/cache/model/named-maps-entry');
describe('named maps authentication', function() {
var server;

View File

@ -9,7 +9,7 @@ var mapnik = require('windshaft').mapnik;
var CartodbWindshaft = require(__dirname + '/../../lib/server');
var serverOptions = require(__dirname + '/../../lib/server_options');
var TemplateMaps = require('../../lib/backends/template_maps.js');
var NamedMapsCacheEntry = require('../../lib/cache/model/named_maps_entry');
var NamedMapsCacheEntry = require('../../lib/cache/model/named-maps-entry');
describe('named maps preview stats', function() {
var server;

View File

@ -6,7 +6,7 @@ var redis = require('redis');
var step = require('step');
var strftime = require('strftime');
var QueryTables = require('cartodb-query-tables').queryTables;
var NamedMapsCacheEntry = require('../../lib/cache/model/named_maps_entry');
var NamedMapsCacheEntry = require('../../lib/cache/model/named-maps-entry');
var redis_stats_db = 5;
// Pollute the PG environment to make sure

View File

@ -4,9 +4,9 @@ require('../../../../support/test_helper');
var assert = require('assert');
var _ = require('underscore');
var NamedMapsCacheEntry = require('../../../../../lib/cache/model/named_maps_entry');
var NamedMapsCacheEntry = require('../../../../../lib/cache/model/named-maps-entry');
describe('cache named_maps_entry', function() {
describe('cache named maps entry', function() {
var namedMapOwner = 'foo',
namedMapName = 'wadus_name',