Closed tdipisa closed 3 years ago
@mbarto can you please assign all new issues you open, that are related to the MS datadir, to this epic? In that way we are able to follow the progress on this activity. I know that you have alredy provided a support for the MS datadir but at the moment is not clear to me the precise status. Please let me know when we can enable this interesting support in MS DEV. I've moved in test #4984, that's correct? Can #3119 and #3688 be moved in test?
With the current implementation the MS data dir can be used only inside a MS's project (the documentation here). A first test will be performed after this PR merge in the georchestra project.
The idea is anyway to enable it also for the MS product by including a new data directory in the project that contains all the involved configurations (this will be the default data directory) with the possibility to externalize it.
Closing in favor of https://github.com/geosolutions-it/MapStore2/issues/7165
Description
The MS deploy must be improved including a MapStore Data Directory. By default the data directory can be internal but the possibility to externalize it will be implemented in MS. What has been done for geOrchestra here can be properly reviewed to be included in MS according to this requirements. Below all the elements that need to be extenalized within a data directory (they are mandatory):
[x] GeoStore configuration properties: it can be already externalized through a Java environment variable
[x] Http-Proxy configuration properties: the proxy has ben recently improved for geOrchestra so now its configuration properties can be externalized
[x] MapStore localConfig file: an issue already exists for this and connected to this issue as dependency
[ ] Annotation symbols: MS default and custom list of symbols can be externalized in the MS's data directory
[x] Print Configuration: externalize the config JAML file and PDF output directory (issue here is related and it has been put as a dependency of this issue)
[x] Installed extensions
This work must also include the related DEV guide update to explain:
What kind of improvement you want to add? (check one with "x", remove the others)
Other useful information
The location of the MS Data Directory will be externalized through a Java environment variable.