align staging urls with new endpoints (#22691) (#22718)

This commit is contained in:
Thomas Neirynck 2018-09-05 14:10:47 -04:00 committed by GitHub
parent 73a6391bce
commit 21db47e4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View file

@ -36,9 +36,9 @@ import afterdatachangeandresizePng from './afterdatachangeandresize.png';
import aftercolorchangePng from './aftercolorchange.png';
import changestartupPng from './changestartup.png';
const manifestUrl = 'https://staging-dot-catalogue-dot-elastic-layer.appspot.com/v1/manifest';
const tmsManifestUrl = `"https://tiles-maps-stage.elastic.co/v2/manifest`;
const vectorManifestUrl = `"https://staging-dot-elastic-layer.appspot.com/v1/manifest`;
const manifestUrl = 'https://catalogue-staging.maps.elastic.co/v2/manifest';
const tmsManifestUrl = `https://tiles-maps-stage.elastic.co/v2/manifest`;
const vectorManifestUrl = `https://vector-staging.maps.elastic.co/v2/manifest`;
const manifest = {
'services': [{
'id': 'tiles_v2',
@ -185,7 +185,7 @@ describe('RegionMapsVisualizationTests', function () {
'attribution': '<p><a href="http://www.naturalearthdata.com/about/terms-of-use">Made with NaturalEarth</a> | <a href="https://www.elastic.co/elastic-maps-service">Elastic Maps Service</a></p>&#10;',
'name': 'World Countries',
'format': 'geojson',
'url': 'https://staging-dot-elastic-layer.appspot.com/blob/5715999101812736?elastic_tile_service_tos=agree&my_app_version=7.0.0-alpha1',
'url': 'https://vector-staging.maps.elastic.co/blob/5715999101812736?elastic_tile_service_tos=agree&my_app_version=7.0.0-alpha1',
'fields': [{ 'name': 'iso2', 'description': 'Two letter abbreviation' }, {
'name': 'iso3',
'description': 'Three letter abbreviation'

View file

@ -58,7 +58,7 @@ const legacyMetadata = {
},
mapConfig: {
includeElasticMapsService: true,
manifestServiceUrl: 'https://staging-dot-catalogue-dot-elastic-layer.appspot.com/v1/manifest'
manifestServiceUrl: 'https://catalogue-staging.maps.elastic.co/v2/manifest'
},
vegaConfig: {
enabled: true,

View file

@ -50,7 +50,7 @@ function mockRawData() {
mockRawData();
const manifestUrl = 'https://staging-dot-catalogue-dot-elastic-layer.appspot.com/v1/manifest';
const manifestUrl = 'https://catalogue-staging.maps.elastic.co/v2/manifest';
const tmsManifestUrl = `"https://tiles-maps-stage.elastic.co/v2/manifest`;
const manifest = {
'services': [{