Nuget updates

This commit is contained in:
2021-03-30 21:08:25 -04:00
parent 3754beb035
commit e3172b4ea8
3 changed files with 27 additions and 4 deletions

View File

@@ -18,7 +18,8 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.11" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.11" />
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" Version="3.1.11" />
<PackageReference Include="Ratermania.Automation" Version="1.0.2" />
<PackageReference Include="Ratermania.Automation" Version="1.0.0" />
<PackageReference Include="Ratermania.Automation.Common" Version="1.0.0" />
<PackageReference Include="Ratermania.Shopify" Version="1.3.1" />
</ItemGroup>

View File

@@ -70,6 +70,7 @@ namespace PartSource.Automation
{
options.HasBaseInterval(new TimeSpan(0, 1, 0))
.HasMaxFailures(5)
.HasJob<TestJob>(options => options.HasInterval(5))
//.HasJob<SyncronizeProducts>(options => options.HasInterval(new TimeSpan(24, 0, 0))
// .HasJob<ProcessWhiFitment>(options => options.HasInterval(new TimeSpan(24, 0, 0))
//.HasJob<UpdateFitment>(options => options.HasInterval(new TimeSpan(24, 0, 0))
@@ -77,12 +78,12 @@ namespace PartSource.Automation
// .StartsAt(DateTime.Today.AddHours(8))
//)
.HasJob<ExecuteSsisPackages>(options => options.HasInterval(new TimeSpan(24, 0, 0))
//.HasJob<ExecuteSsisPackages>(options => options.HasInterval(new TimeSpan(24, 0, 0))
// .HasJob<UpdatePricing>(options => options.HasInterval(new TimeSpan(24, 0, 0)))
//.HasDependency<ExecuteSsisPackages>()
//.StartsAt(DateTime.Now.AddMinutes(15))
)
.AddApiServer(options => options.HasApiKey(Environment.GetEnvironmentVariable("AUTOMATION_API_KEY")));
//)
.AddApiServer();
})
.AddSingleton<EmailService>()

21
nuget.config Normal file
View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="Ratermania" value="https://ratermanianuget.blob.core.windows.net/nuget/index.json" />
</packageSources>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<bindingRedirects>
<add key="skip" value="False" />
</bindingRedirects>
<packageManagement>
<add key="format" value="0" />
<add key="disabled" value="False" />
</packageManagement>
</configuration>