Closed catmorales closed 1 year ago
having a directory in the datadir with maps/contexts made available by mapstore would also allow easily to migrate them from instance to instance, instead of having to export from the db via an api/import in another platform.
But yes, having an import/export button in the context manager saving a json file would be nice.
The implementation expects to improve the context manager UI to allow an export of each single context from the context card and provide a generic import button (the design aspects will be reviewed again before the implementation if needed). The context will be imported as it was exported.
The context will be imported as it was exported.
i'm not 100% sure that's the intent, to clarify:
sure, one could enforce relative urls (eg /geoserver/ows
) in its contexts to make sure this doesnt happen, but:
@catmorales sounds right ?
Description
Ability to import/export an application context from the context manager UI The base URL can be changed in the import and in the export, Import specific : A control on the layers's, plugins and roles must be done and a message displayed if some components are missing in the destiny platform. Customized configurations of the plugins should be export too. In fact the entire context configuration which is stored in the database must be exported
Functionnality just for administrators. Use case : We have a test geOrchestra's instance (portail-test.sig.rennesmetropole.fr) and a production geOrchestra's instance (portail.sig.rennesmetropole.fr). Both have the same components (geoserver, mapstore,...) and the same layers published. When an application context is Ok in the test platform, we need to deploy it in the production platform, we need a tool to do it from the UI.
Note
Related MS issue https://github.com/geosolutions-it/MapStore2/issues/9248