Strip JDE/CMS data-sync from OLD/ for v5 POC
Remove JDE/CMS source-system integration: JDE/CMS query classes, SQL files, WorkerService UpdateProcessor pipeline, dsconfig data-source configs, and Oracle/Sybase/DDTek driver references. WorkProcessor now goes straight to processing queued searches against the existing local SQL Server cache; DB schema (DataUpdate table, MatchMis function) is left intact. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,15 +1,10 @@
|
||||
using System;
|
||||
using System.Data.SqlClient;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Threading.Tasks;
|
||||
using Dapper;
|
||||
using DataModel;
|
||||
using Topshelf;
|
||||
using WorkerService.Helpers;
|
||||
using WorkerService.Models;
|
||||
using WorkerService.Models.Reporting;
|
||||
using WorkerService.Process;
|
||||
|
||||
namespace WorkerService
|
||||
@@ -32,20 +27,6 @@ namespace WorkerService
|
||||
SqlMapper.Settings.CommandTimeout = 1200 * 50;
|
||||
Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);
|
||||
|
||||
DataSourceConfig dsConfig = UpdateProcessor.configs.FirstOrDefault(c => c.TableName.Contains("User"));
|
||||
UpdateProcessor.DoUpdate(dsConfig.TableName);
|
||||
|
||||
return;
|
||||
|
||||
if (args.Length > 0 && args[0].Equals("REFRESH_ARCHIVE", StringComparison.CurrentCultureIgnoreCase))
|
||||
{
|
||||
Parallel.ForEach(UpdateProcessor.configs.Where(c => c.TableName.Contains("Hist")), config =>
|
||||
{
|
||||
UpdateProcessor.DoUpdate(config.TableName);
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
Host host = HostFactory.New(x =>
|
||||
{
|
||||
x.UseNLog();
|
||||
|
||||
Reference in New Issue
Block a user