Refactor FileRead and ProcessData classes; update recipe handling in FromIQS and Job classes
- Changed the site constant in FileRead to "els" and updated the monInURL accordingly. - Modified FromIQS to include 'TBI01' in the SQL query for job names. - Updated Job class to include 'TBI01' in the mapping for MET08DDUPSP1TBI. - Made GetDefault method in Description static and added GetDefaultJsonElement method. - Refactored GetExtractResult in FileRead to improve clarity and efficiency, including changes to how logistics and JSON elements are handled. - Removed unused fields and methods in ProcessData, simplifying the class structure. - Added a method to add print files in Run class to streamline file handling. - Updated AdaptationTesting to prevent directory creation for paths containing "10.". - Improved string comparison in recipes-and-patterns.js for case-insensitive matching.
This commit is contained in:
@ -97,9 +97,9 @@ public class FileRead : Shared.FileRead, IFileRead
|
||||
|
||||
private void CallbackInProcessCleared(string sourceArchiveFile, string traceDummyFile, string targetFileLocation, string monARessource, string inProcessDirectory, long sequence, bool warning)
|
||||
{
|
||||
const string site = "sjc";
|
||||
const string site = "els";
|
||||
string stateName = string.Concat("Dummy_", _EventName);
|
||||
const string monInURL = "http://moninhttp.sjc.infineon.com/input/text";
|
||||
const string monInURL = $"http://moninhttp.{site}.infineon.com/input/text";
|
||||
MonIn monIn = MonIn.GetInstance(monInURL);
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user