@VisibleForTesting
  void parseRetryLibrary(InputStream in) {
    if (in != null) {
      ObjectMapper mapper = new ObjectMapper(new YAMLFactory());
      try {
        settings.put("retryLibrary", mapper.readValue(in, RetryStrategyLibrary.class));
      } catch (IOException e) {
        throw new RuntimeException("Could not parse extension settings", e);
      }
    }
  }
{@link SettingsExtension} that reads configuration from YAML files on the classpath.
extensions/config/portability-config-yaml/src/main/java/org/datatransferproject/config/yaml/YamlSettingsExtension.java