Various bugfixes concerning getMapKeys and getListSize methods.
Changes:
Implemented getMapKeys and getListSize methods for java properties files.
Fixed getMapKeys in SystemProperties configuration source - now returns list name instead of every list item
Changed getListSize behavior in Environment and SystemProperties configuration sources - now returns max index present instead of max consecutive index.
This enables definitions of arrays across multiple configuration sources. Example:
config.yml:
arr:
- a
- b
environment variables:
ARR2=c
ARR3=d
Added check if Optional present in ConfigBundleInterceptor.java, without which exception would be thrown if list is only partially defined.
Various bugfixes concerning getMapKeys and getListSize methods.
Changes:
Changed getListSize behavior in Environment and SystemProperties configuration sources - now returns max index present instead of max consecutive index.
This enables definitions of arrays across multiple configuration sources. Example: config.yml:
environment variables: