Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert and rename app.config to ors-config.json #1017

Closed
4 of 5 tasks
TheGreatRefrigerator opened this issue Jul 21, 2021 · 0 comments · Fixed by #1020
Closed
4 of 5 tasks

Convert and rename app.config to ors-config.json #1017

TheGreatRefrigerator opened this issue Jul 21, 2021 · 0 comments · Fixed by #1020

Comments

@TheGreatRefrigerator
Copy link
Contributor

TheGreatRefrigerator commented Jul 21, 2021

Why:

  • app.config already has JSON structure -> should be JSON file
  • automatic IDE linting etc.
  • further possibility to manage key-value access with json parser

What:

  • rename app.config throughout repo
  • deprecate app.config loading
    • default loading from ors-config.json
    • still support app.config but issue warning if loaded from or exists
  • rename in external sources e.g. ask forum
@TheGreatRefrigerator TheGreatRefrigerator self-assigned this Jul 21, 2021
TheGreatRefrigerator added a commit that referenced this issue Jul 27, 2021
This deprecates the usage of, and issues warnings when using, the:
- 'app.config' file
- 'ors_app_config' system property
- 'ORS_APP_CONFIG' environment variable

The preferred alternatives are the:
- 'ors-config.json' file
- 'ors_config' system property
- 'ORS_CONFIG' environment variable

Also renames app.config.sample to ors-config-sample.json

refers to #1017
TheGreatRefrigerator added a commit that referenced this issue Jul 27, 2021
- rename deprecated names
- change `APP_CONFIG` argument to `ORS_CONFIG`
- extend output for config handling in docker-entrypoint.sh

refers to #1017
TheGreatRefrigerator added a commit that referenced this issue Jul 27, 2021
TheGreatRefrigerator added a commit that referenced this issue Jul 27, 2021
- in github workflow
- openrouteservice folder
- template files

refers to #1017
TheGreatRefrigerator added a commit that referenced this issue Jul 27, 2021
This deprecates the usage of, and issues warnings when using, the:
- 'app.config' file
- 'ors_app_config' system property
- 'ORS_APP_CONFIG' environment variable

The preferred alternatives are the:
- 'ors-config.json' file
- 'ors_config' system property
- 'ORS_CONFIG' environment variable

Also renames app.config.sample to ors-config-sample.json

refers to #1017
TheGreatRefrigerator added a commit that referenced this issue Jul 27, 2021
- rename deprecated names
- change `APP_CONFIG` argument to `ORS_CONFIG`
- extend output for config handling in docker-entrypoint.sh

refers to #1017
TheGreatRefrigerator added a commit that referenced this issue Jul 27, 2021
TheGreatRefrigerator added a commit that referenced this issue Jul 27, 2021
- in github workflow
- openrouteservice folder
- template files

refers to #1017
takb added a commit that referenced this issue Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant