@Override public void onConfigurationInitialized(ConfigInitializedArguments configInitializedArguments) throws IOException { final CorePlugin corePlugin = configInitializedArguments.getConfiguration().getConfig(CorePlugin.class); final Collection<String> elasticsearchConfigurationSourceIds = corePlugin.getElasticsearchConfigurationSourceProfiles(); if (!elasticsearchConfigurationSourceIds.isEmpty()) { addElasticsearchConfigurationSources(configInitializedArguments.getConfiguration(), corePlugin, elasticsearchConfigurationSourceIds); } if (!corePlugin.getRemotePropertiesConfigUrls().isEmpty()) { logger.debug("RemotePropertiesConfigurationSource is enabled"); addRemotePropertiesConfigurationSources(configInitializedArguments.getConfiguration(), corePlugin); } }