opensearch-project / dashboards-maps

:globe_with_meridians: User interface for the backend geospatial plugin which can be integrated with OpenSearch Dashboards and a home for all other map related features.
https://opensearch.org/docs/latest/dashboards/geojson-regionmaps/#custom-vector-maps-with-geojson
Apache License 2.0
17 stars 44 forks source link

Support multi data source in region map #614

Closed junqiu-lei closed 4 months ago

junqiu-lei commented 4 months ago

Description

This PR add the ability to use multi data source in region map for the custom import map feature upload api.

Test will be added in functional test repo where has remote cluster mock resources.

This PR contains API updates for:

POST api/custom_import_map/_upload
POST api/custom_import_map/_indices

Meanwhile another related PR in OSD: https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6654 is merged

Demo

https://github.com/opensearch-project/dashboards-maps/assets/90288540/461cdb63-ce71-485f-b8da-6d8a9bf484fd

Issues Resolved

Part of https://github.com/opensearch-project/dashboards-maps/issues/584

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

junqiu-lei commented 4 months ago

CI failure is unrelated to this PR, local test passed.