Skip to content

Refactor properties handling #40

@GGoetzelmann

Description

@GGoetzelmann

The current properties handling in edu.kit.scc.dem.wapsrv.app.WapServerConfig seems to be overly complicated and may circumvent spring functionalities in regards to properties loading.

I am a bit scared to refactor because of the generation of the application properties file on install - and because I do not have enough knowledge about spring.

Things to consider:

  • properties are not defined in a default application properties. It seems to be difficult to extend or change properties without breaking anything.
  • wap server specific properties do not have a prefix, which might hinder some of the usual spring properties handling. Fixing/Changing this would break backwards compatibility in regards to existing configuration files in deployment, so a migration would be necessary.
  • There is a updateConfigFromOldVersions functionality which may rewrite existing properties files. I do not really get what it does / why it is necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions