Skip to content

Commit

Permalink
Merged PR 12257: GB3-384: Using the new search API endpoint
Browse files Browse the repository at this point in the history
Modified all `runtime-configs` by replacing the search API URL. Fixed `runtime.prod.config` by adding the missing `geoshopApi` as well.
  • Loading branch information
wes-EBP committed Oct 26, 2023
2 parents 408f1f0 + a06dc06 commit fb1e9ec
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/shared/configs/runtime.dev-ebp.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
baseUrl: 'https://geolion.zh.ch',
},
searchApi: {
baseUrl: 'https://geo.zh.ch/geosearch',
baseUrl: 'https://maps.zh.ch/v3',
},
ktzhWebsite: {
baseUrl: 'https://www.zh.ch',
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/configs/runtime.local-gb2.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
baseUrl: 'https://www.geolion.zh.ch',
},
searchApi: {
baseUrl: 'https://geo.zh.ch/geosearch',
baseUrl: 'http://localhost:4200/v3',
},
ktzhWebsite: {
baseUrl: 'https://www.zh.ch',
Expand Down
7 changes: 5 additions & 2 deletions src/app/shared/configs/runtime.prod.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
baseUrl: 'https://geolion.ktzh.ch',
},
searchApi: {
baseUrl: 'https://geo.ktzh.ch/geosearch',
baseUrl: 'https://web.maps.zh.ch/v3',
},
ktzhWebsite: {
baseUrl: 'https://www.zh.ch',
Expand Down Expand Up @@ -65,7 +65,7 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
baseUrl: 'https://geolion.zh.ch',
},
searchApi: {
baseUrl: 'https://geo.zh.ch/geosearch',
baseUrl: 'https://maps.zh.ch/v3',
},
ktzhWebsite: {
baseUrl: 'https://www.zh.ch',
Expand All @@ -78,6 +78,9 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
twitterWidget: {
baseUrl: 'https://platform.twitter.com/widgets.js',
},
geoshopApi: {
baseUrl: 'https://geoservices.zh.ch/geoshopapi/v1',
},
},
authSettings: {
clientId: 'gb3',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
baseUrl: 'https://geolion.ktzh.ch',
},
searchApi: {
baseUrl: 'https://staging.geo.ktzh.ch/geosearch',
baseUrl: 'https://web.maps.zh.ch/v3',
},
ktzhWebsite: {
baseUrl: 'https://www.zh.ch',
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/configs/runtime.staging.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
baseUrl: 'https://testgeolion.kt.ktzh.ch',
},
searchApi: {
baseUrl: 'https://staging.geo.ktzh.ch/geosearch',
baseUrl: 'https://testmaps.kt.ktzh.ch/v3',
},
ktzhWebsite: {
baseUrl: 'https://www.zh.ch',
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/configs/runtime.uat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const defaultRuntimeConfig: RuntimeConfig[] = [
baseUrl: 'https://uatgeolion.kt.ktzh.ch',
},
searchApi: {
baseUrl: 'https://uat.geo.ktzh.ch/geosearch',
baseUrl: 'https://uatmaps.kt.ktzh.ch/v3',
},
ktzhWebsite: {
baseUrl: 'https://www.zh.ch',
Expand Down

0 comments on commit fb1e9ec

Please sign in to comment.