diff --git a/PARR.GeneratorTemplatesWorker/Program.cs b/PARR.GeneratorTemplatesWorker/Program.cs index 83bc1129..51b7b729 100644 --- a/PARR.GeneratorTemplatesWorker/Program.cs +++ b/PARR.GeneratorTemplatesWorker/Program.cs @@ -2,6 +2,7 @@ using Elastic.CommonSchema.Serilog; using PARR.GeneratorTemplates; using PARR.GeneratorTemplatesWorker; using Serilog; +using PARR.TemplateDistributor; var builder = Host.CreateApplicationBuilder(); @@ -24,6 +25,7 @@ builder.Services.AddLogging(config => builder.Services.InstallGeneratorTemplateServices(builder.Configuration); builder.Configuration.AddGeneratorTemplateConfigurations(builder.Services); builder.Services.AddGeneratorTemplateSettings(builder.Configuration); +builder.Services.InstallTemplateDistributorSerivces(builder.Configuration); builder.Services.AddHostedService();