/** * Replace the dots in the property with underscore and * transform to uppercase. * * @param dottedProperty The property with dots, example - a.b.c * @return The converted value */ public static String convertDotToUnderscore(String dottedProperty) { return convertDotToUnderscore(dottedProperty, true); }
/** * Reads the value of MICRONAUT_CONFIG_FILES environment variable. * * @return The comma-separated list of files */ protected String readPropertySourceListKeyFromEnvironment() { return System.getenv(StringUtils.convertDotToUnderscore(Environment.PROPERTY_SOURCES_KEY)); }
/** * Reads the value of MICRONAUT_CONFIG_FILES environment variable. * * @return The comma-separated list of files */ protected String readPropertySourceListKeyFromEnvironment() { return System.getenv(StringUtils.convertDotToUnderscore(Environment.PROPERTY_SOURCES_KEY)); }