synyx / minos

Minos is a thin framework layer built on Spring, that helps you to develop applications in a modular way.
Apache License 2.0
2 stars 0 forks source link

Remove dummy users from core installer #243

Closed fabianbuch closed 12 years ago

fabianbuch commented 12 years ago

Currently the installer creates 100 dummy users for development purposes. We should extract this behaviour into a class only available in development.

fabianbuch commented 12 years ago

Comment of David Linsin: What's the problem? When you configure an instance (a set of modules), e.g. SampleApp, there can be multiple configuration files (@local.properties@/@production.properties@). Each module can bring its own config and due to none deterministic loading of modules in a WAR, you have no control of which configuration file is loaded first. That means you cannot define a "master" config in your instance, which overrides module configs.

How to solve the problem?

By convention, when you configure an instance, e.g. SampleApp, there's only one configuration file (@local.properties@/@production.properties@) allowed for all modules, encompassing this instance.

All modules can define a module-local configuration, which is immutable and cannot be overwritten by the main configuration of an instance.

How do you develop a single module?

You define your own @local.properties@, which are not checked in, and are only valid for your own development.

fabianbuch commented 12 years ago

Comment of David Linsin: implement as specified in https://redmine.synyx.org/wiki/minos/Infrastructure_configuration

fabianbuch commented 12 years ago

Comment of David Linsin: Applied in changeset r8201.