I have to evaluate, how to use Apache Commons Configuration for our configuration structure.
I only find how to handle hierarchical structuring for configurations that comes from within 1 file. But how can I handle hierarchical structures like shown in the two screen.
I have numerous configuration files stored in an increasing number of subdirectories. You can see a minimized example in the folder structure screen folder structure
Each subdirectory contains files of the same configuration type and each file contains hierarchical organized information.
The number of configuration types will increase in the near future and may increase on the long hall even more
The directory will contain at the moment round about 100 files. Each file represents information for one customer.
To have the configuration provided in files structured by the file system is chosen for a good number of reasons, and to explain them here would go far off topic.
- root means root directory
- provider, and customer are subdirectories of the root dir
- elkconfiguration is a configuration stored in the root dir
- the next level are files like e.g. swiss or customerB
- the next levels is configured within files
To have the configuration in files and use the file system to structure them as a tree is set for a good number of reason. To explain these reasons would go off-topic. What is not set yet, is Apache Common Configuration. If there is open source, that suites our needs better, than I am happy to hear your advise.