Closed t83714 closed 2 weeks ago
The region mapping data (used by frontend region filter map) that served by Search API is not configurable at this moment.
A hardcoded file here: https://github.com/magda-io/magda/blob/d1b28cbe77d400f8b0a05369dd1ad38c0ad71831/magda-search-api/src/main/resources/regionMapping.json will always be served at this moment.
This ticket is about making the region mapping data configurable via Search API helm chart, appConfig.regionMapping key.
appConfig.regionMapping
The config value should be valid YAML equivalent to the default region mapping json data.
When the config is not provided, the hardcoded default region mapping file will still be served.
closed via PR: https://github.com/magda-io/magda/pull/3542
Make the region mapping served by search api configurable
The region mapping data (used by frontend region filter map) that served by Search API is not configurable at this moment.
A hardcoded file here: https://github.com/magda-io/magda/blob/d1b28cbe77d400f8b0a05369dd1ad38c0ad71831/magda-search-api/src/main/resources/regionMapping.json will always be served at this moment.
This ticket is about making the region mapping data configurable via Search API helm chart,
appConfig.regionMapping
key.The config value should be valid YAML equivalent to the default region mapping json data.
When the config is not provided, the hardcoded default region mapping file will still be served.