State of OMG-LEGION prior to merge
This commit is contained in:
@@ -73,24 +73,30 @@ namespace PartSource.Automation
|
||||
|
||||
//options.ApiKey = "9a533dad460321c6ce8f30bf5b8691ed";
|
||||
//options.ApiSecret = "dc9e28365d9858e544d57ac7af43fee7";
|
||||
//options.ApiVersion = "2020-01";
|
||||
//options.ApiVersion = "2021-01";
|
||||
//options.ShopDomain = "dev-partsource.myshopify.com";
|
||||
})
|
||||
|
||||
.AddAutomation(options =>
|
||||
{
|
||||
//options.HasBaseInterval(new TimeSpan(0, 15, 0))
|
||||
// .HasMaxFailures(3)
|
||||
// .HasJob<ExecuteSsisPackages>(options =>
|
||||
// options.HasInterval(new TimeSpan(24, 0, 0))
|
||||
// .StartsAt(DateTime.Today.AddHours(26))
|
||||
// )
|
||||
// .HasJob<UpdatePricing>(options =>
|
||||
// options.HasInterval(new TimeSpan(24, 0, 0))
|
||||
// .StartsAt(DateTime.Today.AddHours(27))
|
||||
// .HasDependency<ExecuteSsisPackages>()
|
||||
// );
|
||||
|
||||
options.HasBaseInterval(new TimeSpan(0, 15, 0))
|
||||
.HasMaxFailures(3)
|
||||
.HasJob<ExecuteSsisPackages>(options =>
|
||||
.HasJob<UpdateWiperFitment>(options =>
|
||||
options.HasInterval(new TimeSpan(24, 0, 0))
|
||||
.StartsAt(DateTime.Today.AddHours(26))
|
||||
)
|
||||
.HasJob<UpdatePricing>(options =>
|
||||
options.HasInterval(new TimeSpan(24, 0, 0))
|
||||
.StartsAt(DateTime.Today.AddHours(27))
|
||||
.HasDependency<ExecuteSsisPackages>()
|
||||
);
|
||||
//.AddApiServer();
|
||||
//.AddApiServer();
|
||||
})
|
||||
|
||||
.AddSingleton(builder.Configuration.GetSection("FtpServers:AzureConfiguration").Get<FtpConfiguration>())
|
||||
@@ -101,7 +107,6 @@ namespace PartSource.Automation
|
||||
.AddSingleton<VehicleService>()
|
||||
.AddSingleton<NexpartService>()
|
||||
|
||||
|
||||
.AddAutoMapper(typeof(PartSourceProfile));
|
||||
})
|
||||
.ConfigureLogging((builder, logging) =>
|
||||
|
||||
Reference in New Issue
Block a user