Infineon.EAF.Runtime v2.59.0

This commit is contained in:
2025-02-21 13:13:36 -07:00
parent ba2835f07b
commit 4c31d530b0
14 changed files with 285 additions and 53 deletions

View File

@ -58,26 +58,26 @@ public class WC : LoggingUnitTesting, IDisposable
[Ignore]
#endif
[TestMethod]
public void Staging()
public void Production()
{
MethodBase methodBase = new StackFrame().GetMethod();
StringBuilder results = new();
(string cellInstanceName, string cellInstanceVersionName)[] collection = new (string, string)[]
{
new("WC6INCH1-EQPT", "v2.57.0"),
new("WC6INCH2-EQPT", "v2.57.0"),
new("WC6INCH3-EQPT", "v2.57.0"),
new("WC6INCH4-EQPT", "v2.57.0"),
new("WC8INCH1-EQPT", "v2.57.0"),
new("WC8INCH2-EQPT", "v2.57.0"),
new("WC8INCH3-EQPT", "v2.57.0"),
new("WC6INCH1-EQPT", "v2.59.0"),
new("WC6INCH2-EQPT", "v2.59.0"),
new("WC6INCH3-EQPT", "v2.59.0"),
new("WC6INCH4-EQPT", "v2.59.0"),
new("WC8INCH1-EQPT", "v2.59.0"),
new("WC8INCH2-EQPT", "v2.59.0"),
new("WC8INCH3-EQPT", "v2.59.0"),
};
string staging = "http://mestsa07ec.infineon.com:9003/CellInstanceServiceV2";
string production = "http://messa08ec.infineon.com:9003/CellInstanceServiceV2";
Shared.PasteSpecialXml.EAF.XML.API.CellInstance.CellInstanceVersion cellInstanceVersion;
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
foreach ((string cellInstanceName, string cellInstanceVersionName) in collection)
{
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{staging}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
cellInstanceVersion = AdaptationTesting.GetCellInstanceVersion($"{production}/{cellInstanceName}/{cellInstanceVersionName}/configuration");
_ = results.AppendLine($"{cellInstanceName}\t{cellInstanceVersionName}\t{cellInstanceVersion.EdaConnection.PortNumber}");
}
string sourceDirectory = "D:/Tmp/cellInstanceVersion.EdaConnection.PortNumber";