Skip to content

Commit

Permalink
Updated the domain for the MyVIC endpoints in the MyVIC Maps. (#573)
Browse files Browse the repository at this point in the history
* Updated the domain for the MyVIC endpoints in the MyVIC Maps.

* Fixing some remaining myvic endpoints.
  • Loading branch information
kurtfoster authored and tim-yao committed Oct 17, 2019
1 parent 72504be commit 8d6581d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/components/Molecules/Map/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const methods = {
outputFormat: 'application/json'// ,
// filter: ol.format.filter.equalTo('ssc_name', area, false)
})
fetch('https://myvic-app-dev-gis.beta.vic.gov.au/geoserver/myvic/wfs', {
fetch('https://gis-app-cdn.prod.myvictoria.vic.gov.au/geoserver/myvic/wfs', {
method: 'POST',
body: new XMLSerializer().serializeToString(featureRequest)
}).then((response) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ const customMethods = {
const themeSource = new ol.source.Vector({
format: new ol.format.GeoJSON(),
url: extent =>
`https://myvic-app-dev-gis.beta.vic.gov.au/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=myvic:family_violence&outputFormat=application/json&srsname=EPSG:3857&bbox=${extent.join()},EPSG:3857`,
`https://gis-app-cdn.prod.myvictoria.vic.gov.au/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=myvic:family_violence&outputFormat=application/json&srsname=EPSG:3857&bbox=${extent.join()},EPSG:3857`,
strategy: ol.loadingstrategy.bbox
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const customMethods = {
const themeSource = new ol.source.Vector({
format: new ol.format.GeoJSON(),
url: extent => `https://prod-gis.myvictoria.vic.gov.au/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=myvic:public_wifi&outputFormat=application/json&srsname=EPSG:3857&bbox=${extent.join()},EPSG:3857`,
url: extent => `https://gis-app-cdn.prod.myvictoria.vic.gov.au/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=myvic:public_wifi&outputFormat=application/json&srsname=EPSG:3857&bbox=${extent.join()},EPSG:3857`,
strategy: ol.loadingstrategy.bbox
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default async function fetchDataFromExternalSource (newConfig) {
const config = {
requestSource: 'gis',
requestName: 'wifimap',
apiUrl: 'https://prod-gis.myvictoria.vic.gov.au'
apiUrl: 'https://gis-app-cdn.prod.myvictoria.vic.gov.au'
}

try {
Expand Down
2 changes: 1 addition & 1 deletion src/storybook-components/MapVicFreeWifi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const customMethods = {
const themeSource = new ol.source.Vector({
format: new ol.format.GeoJSON(),
url: extent => `https://prod-gis.myvictoria.vic.gov.au/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=myvic:public_wifi&outputFormat=application/json&srsname=EPSG:3857&bbox=${extent.join()},EPSG:3857`,
url: extent => `https://gis-app-cdn.prod.myvictoria.vic.gov.au/geoserver/wfs?service=WFS&version=1.1.0&request=GetFeature&typename=myvic:public_wifi&outputFormat=application/json&srsname=EPSG:3857&bbox=${extent.join()},EPSG:3857`,
strategy: ol.loadingstrategy.bbox
})
Expand Down

0 comments on commit 8d6581d

Please sign in to comment.