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

There are multiple places to enter configuration #9

Open
craig8 opened this issue May 18, 2015 · 0 comments
Open

There are multiple places to enter configuration #9

craig8 opened this issue May 18, 2015 · 0 comments

Comments

@craig8
Copy link
Contributor

craig8 commented May 18, 2015

I think that this will be true because of the way osgi works, everything is configurable through the file. However I think that there should be a way to change things so that we can use placeholders easier.

my.property = ${abc}

There should be a production environment file goss.environment.properties that is read on startup of felix and substitutes.

There should be a development environment file goss.dev.properties that is for development.

I think there should be a default.environment.properties file that is checked in to the repository that can be copied to goss.environment.properties and be used as a starting point.

To recap

  • Each bundle will still have its own property file capability (whether the bundle chooses to be part of the configuration is up to the bundle).
  • There is a global search and replace that happens during runtime to replace the ${..} values with values that are specified in goss.environtment.properties and goss.dev.properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant