Skip to content

Support wildcard configtree imports #22958

@philwebb

Description

@philwebb

Currently our configtree:/... import support will create a flattened structure by replacing / with .. For example, configtree:/etc/config for the following:

etc/
  config/
    db/
       password
    mq/
       password

Would add a db.password and mq.password properties.

This works well to prevent name clashes, but might be a problem if a user prefer to only use the filenames as properties. For example:

etc/
  config/
    mydbservice/
       spring.datasource.password
    mymqservice/
       spring.mq.password

We should look at options that will help with the second case.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions