Skip to content

Configuration file improvements #20

@thekid

Description

@thekid

Currently the INI file for ConfiguredBindings works as follows:

Type bindings

com.example.ServiceURL=com.example.UseRequest

Instance bindings

web.session.Sessions=web.session.InFileSystem("/tmp")

Named bindings

string[secret]=${secret.ldap-pass}

All of these are in the global section of the INI file.


However, there are a couple of problems:

  • Most files consist of lots of named string-bindings without any hierarchy or oder
  • No support for arrays, we have to use strings and split them, e.g. string[allowed]=172.23.,172.19.,10.30.,10.46.
  • Class names can get quite long, and the use=package hack isn't intuitive

Example:

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions