Nuget updates
This commit is contained in:
@@ -18,7 +18,8 @@
|
|||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.11" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.11" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Hosting" 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="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" />
|
<PackageReference Include="Ratermania.Shopify" Version="1.3.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ namespace PartSource.Automation
|
|||||||
{
|
{
|
||||||
options.HasBaseInterval(new TimeSpan(0, 1, 0))
|
options.HasBaseInterval(new TimeSpan(0, 1, 0))
|
||||||
.HasMaxFailures(5)
|
.HasMaxFailures(5)
|
||||||
|
.HasJob<TestJob>(options => options.HasInterval(5))
|
||||||
//.HasJob<SyncronizeProducts>(options => options.HasInterval(new TimeSpan(24, 0, 0))
|
//.HasJob<SyncronizeProducts>(options => options.HasInterval(new TimeSpan(24, 0, 0))
|
||||||
// .HasJob<ProcessWhiFitment>(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))
|
//.HasJob<UpdateFitment>(options => options.HasInterval(new TimeSpan(24, 0, 0))
|
||||||
@@ -77,12 +78,12 @@ namespace PartSource.Automation
|
|||||||
// .StartsAt(DateTime.Today.AddHours(8))
|
// .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)))
|
// .HasJob<UpdatePricing>(options => options.HasInterval(new TimeSpan(24, 0, 0)))
|
||||||
//.HasDependency<ExecuteSsisPackages>()
|
//.HasDependency<ExecuteSsisPackages>()
|
||||||
//.StartsAt(DateTime.Now.AddMinutes(15))
|
//.StartsAt(DateTime.Now.AddMinutes(15))
|
||||||
)
|
//)
|
||||||
.AddApiServer(options => options.HasApiKey(Environment.GetEnvironmentVariable("AUTOMATION_API_KEY")));
|
.AddApiServer();
|
||||||
})
|
})
|
||||||
|
|
||||||
.AddSingleton<EmailService>()
|
.AddSingleton<EmailService>()
|
||||||
|
|||||||
21
nuget.config
Normal file
21
nuget.config
Normal 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>
|
||||||
Reference in New Issue
Block a user