use of com.netflix.spinnaker.kork.plugins.update.downloader.Front50FileDownloader in project kork by spinnaker.
the class Front50PluginsConfiguration method front50FileDownloader.
@Bean
public static Front50FileDownloader front50FileDownloader(Environment environment, PluginOkHttpClientProvider pluginsOkHttpClientProvider, Map<String, PluginRepositoryProperties> pluginRepositoriesConfig) {
PluginRepositoryProperties front50RepositoryProps = pluginRepositoriesConfig.get(PluginsConfigurationProperties.FRONT5O_REPOSITORY);
URL front50Url = getFront50Url(environment, front50RepositoryProps);
return new Front50FileDownloader(pluginsOkHttpClientProvider.getOkHttpClient(), front50Url);
}
Aggregations