Skip to content

Externalize localConfig.json variables on dev (qa and prod) #7165

Closed

Description

Description

List of activities to be performed in order to clean up configuration and leverage the data_dir feature

  • remove references authkey to gs-stable (this repo)
    • remove authkey rule from web/client/configs/localConfig.json
  • investigate how mapstore product adapts if no catalog is available (map viewer, dashboard editor)
    • it works by providing an empty ui that at leas one must be added if one wants to use the services
  • remove references to DEV REST services in proxy settings (this repo)
    • dev server now points to dev-mapstore..., remove this dependency, use localhost:8080 (build/buildConfig.js)
    • create a command to start both back-end and front-end for dev instance
  • update documentation about changes of product above
    • migration guidelines?
    • dev doc
    • update ReadMe.md
    • update training?
    • release procedure - remove parts concerning auth
  • Configure DEV to use data dir with patch files
    • clean up db config and move it in data dir
    • prepare patch rule to set useCors urls for (gs-stable) in the datadir_dev/configs/localConfig.json.patch
    • prepare patch rule to apply authkey changes in the datadir_dev/configs/localConfig.json.patch
    • Set other specific configs for open id auth
      • mapstore-ovr.properties
      • configs/localConfig.json.patch
  • Configure QA to use data dir with patch files
    • clean up db config and move it in data dir
    • prepare patch rule to set useCors urls for (gs-stable) in the datadir_qa/configs/localConfig.json.patch
    • prepare patch rule to apply authkey changes in the datadir_qa/configs/localConfig.json.patch
  • Configure STABLE to use data dir with patch files
    • clean up db config and move it in data dir
    • prepare patch rule to set useCors urls for (gs-stable) in the datadir_release/configs/localConfig.json.patch
    • prepare patch rule to apply authkey changes in the datadir_release/configs/localConfig.json.patch
  • when everything before is done version data_dir settings in https://github.com/geosolutions-it/mapstore-datadir in the three branches
    • DEV will match datadir_dev
    • QA will match datadir_qa
    • STABLE will match datadir_release

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe: infrastructure settings

Other useful information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions