use of com.netflix.spinnaker.kork.plugins.update.repository.Front50UpdateRepository in project kork by spinnaker.
the class Front50PluginsConfiguration method pluginFront50UpdateRepository.
@Bean
public static UpdateRepository pluginFront50UpdateRepository(Front50Service front50Service, Environment environment, Map<String, PluginRepositoryProperties> pluginRepositoriesConfig, FileDownloaderProvider fileDownloaderProvider) {
PluginRepositoryProperties front50RepositoryProps = pluginRepositoriesConfig.get(PluginsConfigurationProperties.FRONT5O_REPOSITORY);
URL front50Url = getFront50Url(environment, front50RepositoryProps);
return new Front50UpdateRepository(PluginsConfigurationProperties.FRONT5O_REPOSITORY, front50Url, fileDownloaderProvider.get(front50RepositoryProps.fileDownloader), new CompoundVerifier(), front50Service);
}
Aggregations