Moved the update check code from the External azure service into Ombi at /api/v1/update/BRANCH

This commit is contained in:
Jamie 2018-01-10 10:30:55 +00:00
commit 498c019f5d
11 changed files with 516 additions and 9 deletions

View file

@ -50,8 +50,10 @@ using Ombi.Store.Repository.Requests;
using Ombi.Updater;
using PlexContentCacher = Ombi.Schedule.Jobs.Plex;
using Ombi.Api.Telegram;
using Ombi.Core.Processor;
using Ombi.Schedule.Jobs.Plex.Interfaces;
using Ombi.Schedule.Jobs.SickRage;
using Ombi.Schedule.Processor;
namespace Ombi.DependencyInjection
{
@ -107,6 +109,7 @@ namespace Ombi.DependencyInjection
services.AddTransient<ITelegramApi, TelegramApi>();
services.AddTransient<IGithubApi, GithubApi>();
services.AddTransient<ISickRageApi, SickRageApi>();
services.AddTransient<IAppVeyorApi, AppVeyorApi>();
}
public static void RegisterStore(this IServiceCollection services) {
@ -143,6 +146,7 @@ namespace Ombi.DependencyInjection
services.AddTransient<IMattermostNotification, MattermostNotification>();
services.AddTransient<IPushoverNotification, PushoverNotification>();
services.AddTransient<ITelegramNotification, TelegramNotification>();
services.AddTransient<IChangeLogProcessor, ChangeLogProcessor>();
}
public static void RegisterJobs(this IServiceCollection services)