HttpSelfHostServer

This commit is contained in:
Mike Phares 2023-06-09 15:27:24 -07:00
parent afd4cf8efe
commit fb3c3ce699
31 changed files with 393 additions and 48 deletions

View File

@ -0,0 +1,28 @@
.kanbn-column-wip .kanbn-column-task-list {
border-color: #6929c4;
}
.kanbn-column-next .kanbn-column-task-list {
border-color: #1192e8;
}
.kanbn-column-wait .kanbn-column-task-list {
border-color: #005d5d;
}
.kanbn-column-later .kanbn-column-task-list {
border-color: #9f1853;
}
.kanbn-column-maybe .kanbn-column-task-list {
border-color: #fa4d56;
}
.kanbn-column-friday .kanbn-column-task-list {
border-color: #570408;
}
.kanbn-column-done .kanbn-column-task-list {
border-color: #198038;
}
.kanbn-task-data-workload {
display: none;
}
.kanbn-task-data-relation {
display: block;
color: #198038;
}

View File

@ -0,0 +1,30 @@
---
startedColumns:
- 'In Progress'
completedColumns:
- Done
---
# Mesa FI Backlog
## Backlog
- [post-one-to-user-story](tasks/post-one-to-user-story.md)
- [in-tab-form-text-area-to-paste-over-excel](tasks/in-tab-form-text-area-to-paste-over-excel.md)
- [list-record-that-are-different](tasks/list-record-that-are-different.md)
- [list-records-that-are-out-of-sync](tasks/list-records-that-are-out-of-sync.md)
- [list-uat-tasks-that-are-no-longer-in-excel](tasks/list-uat-tasks-that-are-no-longer-in-excel.md)
## Todo
- [get-one-api](tasks/get-one-api.md)
## In Progress
- [nginx-static-html-in-old-school-form](tasks/nginx-static-html-in-old-school-form.md)
- [get-all-api](tasks/get-all-api.md)
- [switch-to-infragistics-data-grid](tasks/switch-to-infragistics-data-grid.md)
## Done
- [remove-static-file-controller](tasks/remove-static-file-controller.md)

View File

@ -0,0 +1,10 @@
---
created: 2023-05-27T14:11:17.265Z
updated: 2023-05-27T14:25:10.299Z
assigned: ""
progress: 0
tags: []
started: 2023-05-27T14:17:47.867Z
---
# Get All API

View File

@ -0,0 +1,9 @@
---
created: 2023-05-27T14:12:23.972Z
updated: 2023-05-27T14:18:00.018Z
assigned: ""
progress: 0
tags: []
---
# Get One API

View File

@ -0,0 +1,9 @@
---
created: 2023-05-27T14:14:11.591Z
updated: 2023-05-27T14:14:11.582Z
assigned: ""
progress: 0
tags: []
---
# In tab form text area to paste over Excel

View File

@ -0,0 +1,9 @@
---
created: 2023-05-27T14:14:31.083Z
updated: 2023-05-27T14:14:31.076Z
assigned: ""
progress: 0
tags: []
---
# List record that are different

View File

@ -0,0 +1,9 @@
---
created: 2023-05-27T14:14:43.826Z
updated: 2023-05-27T14:14:43.819Z
assigned: ""
progress: 0
tags: []
---
# List records that are out of sync

View File

@ -0,0 +1,9 @@
---
created: 2023-05-27T14:16:12.555Z
updated: 2023-05-27T14:16:12.547Z
assigned: ""
progress: 0
tags: []
---
# List UAT Tasks that are no longer in Excel

View File

@ -0,0 +1,10 @@
---
created: 2023-05-27T14:13:06.940Z
updated: 2023-05-27T14:17:56.583Z
assigned: ""
progress: 0
tags: []
started: 2023-05-27T14:17:56.583Z
---
# nginx Static HTML in old school form

View File

@ -0,0 +1,9 @@
---
created: 2023-05-27T14:12:09.089Z
updated: 2023-05-27T14:12:09.080Z
assigned: ""
progress: 0
tags: []
---
# Post one to User Story

View File

@ -0,0 +1,30 @@
---
created: 2023-05-27T14:29:10.454Z
updated: 2023-05-27T14:32:05.873Z
assigned: ""
progress: 1
tags: []
completed: 2023-05-27T00:00:00.000Z
---
# Remove StaticFile Controller
```c#
_ = config.Routes.MapHttpRoute("Static", "{*url}", new { controller = "StaticFiles", action = "Index" });
public class StaticFilesController : ApiController
{
[HttpGet]
public HttpResponseMessage Index(string url)
{
if (string.IsNullOrWhiteSpace(url))
url = "index.html";
//var path = GeneratePath(url);
var response = new HttpResponseMessage();
//response.Content = new StringContent(File.ReadAllText(path));
//response.Content.Headers.ContentType = ContentType(url);
return response;
}
}
```

View File

@ -0,0 +1,9 @@
---
created: 2023-05-27T14:17:35.499Z
updated: 2023-05-27T14:17:35.492Z
assigned: ""
progress: 0
tags: []
---
# Switch to Infragistics Data Grid

View File

@ -10,11 +10,10 @@ public class FIBacklogMesa
string requestor, string requestor,
string assignedTo, string assignedTo,
string secondResource, string secondResource,
string title, string subject,
string epiLine, string epiLine,
string area, string area,
string systemS, string systemS,
string priSort,
string priority, string priority,
string status, string status,
string definition, string definition,
@ -23,7 +22,7 @@ public class FIBacklogMesa
string commitDate, string commitDate,
string reCommitDate, string reCommitDate,
string uATAsOf, string uATAsOf,
string cMPDate, string cmpDate,
string f20, string f20,
string f21, string f21,
string f22, string f22,
@ -44,11 +43,10 @@ public class FIBacklogMesa
Requestor = requestor; Requestor = requestor;
AssignedTo = assignedTo; AssignedTo = assignedTo;
SecondResource = secondResource; SecondResource = secondResource;
Title = title; Subject = subject;
EpiLine = epiLine; EpiLine = epiLine;
Area = area; Area = area;
SystemS = systemS; SystemS = systemS;
PriSort = priSort;
Priority = priority; Priority = priority;
Status = status; Status = status;
Definition = definition; Definition = definition;
@ -57,7 +55,7 @@ public class FIBacklogMesa
CommitDate = commitDate; CommitDate = commitDate;
ReCommitDate = reCommitDate; ReCommitDate = reCommitDate;
UATAsOf = uATAsOf; UATAsOf = uATAsOf;
CMPDate = cMPDate; CMPDate = cmpDate;
F20 = f20; F20 = f20;
F21 = f21; F21 = f21;
F22 = f22; F22 = f22;
@ -74,17 +72,18 @@ public class FIBacklogMesa
F33 = f33; F33 = f33;
} }
[JsonPropertyName("Req ")]
public string Req { get; set; } // { init; get; } public string Req { get; set; } // { init; get; }
public string Submitted { get; set; } // { init; get; } public string Submitted { get; set; } // { init; get; }
public string Requestor { get; set; } // { init; get; } public string Requestor { get; set; } // { init; get; }
[JsonPropertyName("Assigned To ")] [JsonPropertyName("Assigned To")]
public string AssignedTo { get; set; } // { init; get; } public string AssignedTo { get; set; } // { init; get; }
[JsonPropertyName("Second Resource")] [JsonPropertyName("Second Resource")]
public string SecondResource { get; set; } // { init; get; } public string SecondResource { get; set; } // { init; get; }
public string Title { get; set; } // { init; get; }
[JsonPropertyName("Subject - from Requestor")]
public string Subject { get; set; } // { init; get; }
[JsonPropertyName("Epi Line")] [JsonPropertyName("Epi Line")]
public string EpiLine { get; set; } // { init; get; } public string EpiLine { get; set; } // { init; get; }
@ -93,24 +92,26 @@ public class FIBacklogMesa
[JsonPropertyName("System(s)")] [JsonPropertyName("System(s)")]
public string SystemS { get; set; } // { init; get; } public string SystemS { get; set; } // { init; get; }
[JsonPropertyName("Pri Sort")]
public string PriSort { get; set; } // { init; get; }
public string Priority { get; set; } // { init; get; } public string Priority { get; set; } // { init; get; }
public string Status { get; set; } // { init; get; } public string Status { get; set; } // { init; get; }
[JsonPropertyName("Definition - from FI")]
public string Definition { get; set; } // { init; get; } public string Definition { get; set; } // { init; get; }
public string Updates { get; set; } // { init; get; } public string Updates { get; set; } // { init; get; }
[JsonPropertyName("Est Effort _(days)")] [JsonPropertyName("Est Effort _(days)")]
public string EstEffortDays { get; set; } // { init; get; } public string EstEffortDays { get; set; } // { init; get; }
[JsonPropertyName("Commit Date ")] [JsonPropertyName("Commit Date")]
public string CommitDate { get; set; } // { init; get; } public string CommitDate { get; set; } // { init; get; }
[JsonPropertyName("Re-Commit Date ")] [JsonPropertyName("Re-Commit Date")]
public string ReCommitDate { get; set; } // { init; get; } public string ReCommitDate { get; set; } // { init; get; }
[JsonPropertyName("UAT as of ")] [JsonPropertyName("UAT as of")]
public string UATAsOf { get; set; } // { init; get; } public string UATAsOf { get; set; } // { init; get; }
[JsonPropertyName("CMP _Date")]
public string CMPDate { get; set; } // { init; get; } public string CMPDate { get; set; } // { init; get; }
public string F20 { get; set; } // { init; get; } public string F20 { get; set; } // { init; get; }
public string F21 { get; set; } // { init; get; } public string F21 { get; set; } // { init; get; }

View File

@ -99,9 +99,7 @@ public class ProcessData : IProcessData
value = value.Replace("\"", "\\\""); value = value.Replace("\"", "\\\"");
if (value.Contains("\n")) if (value.Contains("\n"))
value = value.Replace("\n", "<br />"); value = value.Replace("\n", "<br />");
name = table.Columns[j].ColumnName.ToString(); name = table.Columns[j].ColumnName.ToString().Trim();
if (name == ",")
name = "Title";
if (name.Contains("\"")) if (name.Contains("\""))
name = name.Replace("\"", "\\\""); name = name.Replace("\"", "\\\"");
if (name.Contains("\n")) if (name.Contains("\n"))
@ -134,7 +132,7 @@ public class ProcessData : IProcessData
FIBacklogMesa[]? fIBacklogMesaCollection = JsonSerializer.Deserialize<FIBacklogMesa[]>(json, new JsonSerializerOptions() { PropertyNameCaseInsensitive = true }); FIBacklogMesa[]? fIBacklogMesaCollection = JsonSerializer.Deserialize<FIBacklogMesa[]>(json, new JsonSerializerOptions() { PropertyNameCaseInsensitive = true });
if (fIBacklogMesaCollection is null || !fIBacklogMesaCollection.Any()) if (fIBacklogMesaCollection is null || !fIBacklogMesaCollection.Any())
throw new NullReferenceException(); throw new NullReferenceException();
json = JsonSerializer.Serialize(fIBacklogMesaCollection.OrderBy(l => l.Req), new JsonSerializerOptions() { WriteIndented = true }); json = JsonSerializer.Serialize(from l in fIBacklogMesaCollection orderby l.Req.Length, l.Req select l, new JsonSerializerOptions() { WriteIndented = true });
_Details.Add(json); _Details.Add(json);
} }

View File

@ -0,0 +1,29 @@
using Adaptation.FileHandlers.ConvertExcelToJson;
using System.Linq;
using System.Net;
using System.Web.Http;
namespace Adaptation.FileHandlers.json;
public class BacklogController : ApiController
{
#pragma warning disable CA1822
public FIBacklogMesa[] GetAllRecords()
#pragma warning restore CA1822
{
FIBacklogMesa[] results = Helper.GetFIBacklogMesaRecords(FileRead.Json);
return results;
}
#pragma warning disable CA1822
public FIBacklogMesa GetRecordById(string id)
#pragma warning restore CA1822
{
FIBacklogMesa[] fIBacklogMesaRecords = Helper.GetFIBacklogMesaRecords(FileRead.Json);
FIBacklogMesa product = fIBacklogMesaRecords.FirstOrDefault(l => l.Req == id) ??
throw new HttpResponseException(HttpStatusCode.NotFound);
return product;
}
}

View File

@ -14,25 +14,29 @@ using System.Net.Http;
using System.Net.Http.Headers; using System.Net.Http.Headers;
using System.Text; using System.Text;
using System.Text.Json; using System.Text.Json;
using System.Web.Http;
using System.Web.Http.SelfHost;
namespace Adaptation.FileHandlers.json; namespace Adaptation.FileHandlers.json;
public class FileRead : Shared.FileRead, IFileRead public class FileRead : Shared.FileRead, IFileRead
{ {
private string _Json; internal static string Json { get; private set; }
private readonly string _API; private readonly string _API;
private readonly string _Query; private readonly string _Query;
private readonly string _Project; private readonly string _Project;
private readonly string _BasePage; private readonly string _BasePage;
private readonly HttpClient _HttpClient; private readonly HttpClient _HttpClient;
private readonly HttpSelfHostServer _HttpSelfHostServer;
private readonly WorkItemTrackingHttpClient _WorkItemTrackingHttpClient; private readonly WorkItemTrackingHttpClient _WorkItemTrackingHttpClient;
public FileRead(ISMTP smtp, Dictionary<string, string> fileParameter, string cellInstanceName, int? connectionCount, string cellInstanceConnectionName, FileConnectorConfiguration fileConnectorConfiguration, string equipmentTypeName, string parameterizedModelObjectDefinitionType, IList<ModelObjectParameterDefinition> modelObjectParameters, string equipmentDictionaryName, Dictionary<string, List<long>> dummyRuns, Dictionary<long, List<string>> staticRuns, bool useCyclicalForDescription, bool isEAFHosted) : public FileRead(ISMTP smtp, Dictionary<string, string> fileParameter, string cellInstanceName, int? connectionCount, string cellInstanceConnectionName, FileConnectorConfiguration fileConnectorConfiguration, string equipmentTypeName, string parameterizedModelObjectDefinitionType, IList<ModelObjectParameterDefinition> modelObjectParameters, string equipmentDictionaryName, Dictionary<string, List<long>> dummyRuns, Dictionary<long, List<string>> staticRuns, bool useCyclicalForDescription, bool isEAFHosted) :
base(new Description(), false, smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null) base(new Description(), false, smtp, fileParameter, cellInstanceName, connectionCount, cellInstanceConnectionName, fileConnectorConfiguration, equipmentTypeName, parameterizedModelObjectDefinitionType, modelObjectParameters, equipmentDictionaryName, dummyRuns, staticRuns, useCyclicalForDescription, isEAFHosted: connectionCount is null)
{ {
_MinFileLength = 10; _MinFileLength = 10;
_Json = string.Empty; Json = string.Empty;
_NullData = string.Empty; _NullData = string.Empty;
_Logistics = new(this); _Logistics = new(this);
if (_FileParameter is null) if (_FileParameter is null)
@ -58,6 +62,11 @@ public class FileRead : Shared.FileRead, IFileRead
VssConnection connection = new(new(string.Concat(baseAddress, basePage)), credential); VssConnection connection = new(new(string.Concat(baseAddress, basePage)), credential);
_WorkItemTrackingHttpClient = connection.GetClient<WorkItemTrackingHttpClient>(); _WorkItemTrackingHttpClient = connection.GetClient<WorkItemTrackingHttpClient>();
_BasePage = basePage; _BasePage = basePage;
string httpSelfHostConfigurationBaseAddress = GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, string.Concat("CellInstance.", cellInstanceName, ".HttpSelfHostConfiguration.BaseAddress"));
HttpSelfHostConfiguration config = new(httpSelfHostConfigurationBaseAddress);
_ = config.Routes.MapHttpRoute("API Default", "api/{controller}/{id}", new { id = RouteParameter.Optional });
_HttpSelfHostServer = new(config);
_HttpSelfHostServer.OpenAsync().Wait();
} }
void IFileRead.Move(Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResults, Exception exception) => Move(extractResults); void IFileRead.Move(Tuple<string, Test[], JsonElement[], List<FileInfo>> extractResults, Exception exception) => Move(extractResults);
@ -130,7 +139,7 @@ public class FileRead : Shared.FileRead, IFileRead
Tuple<string, Test[], JsonElement[], List<FileInfo>> results = new(string.Empty, null, null, new List<FileInfo>()); Tuple<string, Test[], JsonElement[], List<FileInfo>> results = new(string.Empty, null, null, new List<FileInfo>());
_Logistics = new Logistics(reportFullPath, $"LOGISTICS_1{'\t'}A_JOBID={"BACKLOG"};A_MES_ENTITY={"BACKLOG"};"); _Logistics = new Logistics(reportFullPath, $"LOGISTICS_1{'\t'}A_JOBID={"BACKLOG"};A_MES_ENTITY={"BACKLOG"};");
string json = File.ReadAllText(reportFullPath); string json = File.ReadAllText(reportFullPath);
if (_Json == json) if (Json == json)
results.Item4.Add(_Logistics.FileInfo); results.Item4.Add(_Logistics.FileInfo);
else else
{ {
@ -140,7 +149,7 @@ public class FileRead : Shared.FileRead, IFileRead
if (!iProcessData.Details.Any()) if (!iProcessData.Details.Any())
throw new Exception(string.Concat("B) No Data - ", dateTime.Ticks)); throw new Exception(string.Concat("B) No Data - ", dateTime.Ticks));
results = iProcessData.GetResults(this, _Logistics, results.Item4); results = iProcessData.GetResults(this, _Logistics, results.Item4);
_Json = json; Json = json;
} }
return results; return results;
} }

View File

@ -0,0 +1,21 @@
using Adaptation.FileHandlers.ConvertExcelToJson;
using System;
using System.Text.Json;
namespace Adaptation.FileHandlers.json;
public class Helper
{
#nullable enable
internal static FIBacklogMesa[] GetFIBacklogMesaRecords(string json)
{
FIBacklogMesa[]? results;
results = JsonSerializer.Deserialize<FIBacklogMesa[]>(json, new JsonSerializerOptions() { PropertyNameCaseInsensitive = true });
if (results is null)
throw new NullReferenceException();
return results;
}
}

View File

@ -237,7 +237,7 @@ public class ProcessData : IProcessData
document = new(); document = new();
AddPatch(document, "/fields/System.AreaPath", project); AddPatch(document, "/fields/System.AreaPath", project);
AddPatch(document, "/fields/System.IterationPath", project); AddPatch(document, "/fields/System.IterationPath", project);
AddPatch(document, "/fields/System.Title", keyValuePair.Value.Title); AddPatch(document, "/fields/System.Title", keyValuePair.Value.Subject);
AddPatch(document, "/fields/System.Description", $"{description}<br />{keyValuePair.Value.Definition}"); AddPatch(document, "/fields/System.Description", $"{description}<br />{keyValuePair.Value.Definition}");
// AddPatch(document, "/fields/System.AssignedTo", "Mike.Phares@infineon.com"); // AddPatch(document, "/fields/System.AssignedTo", "Mike.Phares@infineon.com");
workItemTask = workItemTrackingHttpClient.CreateWorkItemAsync(document, project, "Bug"); workItemTask = workItemTrackingHttpClient.CreateWorkItemAsync(document, project, "Bug");

View File

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>FI Backlog Mesa</title>
<link href="/igniteui/css/themes/bootstrap3/default/infragistics.theme.css?v=2023-06-09-15-01" rel="stylesheet" />
<link href="/igniteui/css/structure/infragistics.css?v=2023-06-09-15-01" rel="stylesheet" />
<script src="/js/jquery-3.6.0.min.js?v=2023-06-09-15-01" type="text/javascript"></script>
<script src="/js/jquery-ui.min.js?v=2023-06-09-15-01" type="text/javascript"></script>
<script src="/js/site.js?v=2023-06-09-15-01" type="text/javascript"></script>
<script src="/igniteui/js/infragistics.core.js?v=2023-06-09-15-01" type="text/javascript"></script>
<script src="/igniteui/js/infragistics.lob.js?v=2023-06-09-15-01" type="text/javascript"></script>
<script src="/igniteui/js/infragistics.dv.js?v=2023-06-09-15-01" type="text/javascript"></script>
</head>
<body>
<h2>FI Backlog Mesa</h2>
<div style="height: 550px;" id="HeaderGridDiv">
<table id="HeaderGrid"></table>
</div>
<script>
$(document).ready(function () {
initIndex("/json/data.json");
});
</script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,36 @@
function compareFunction(a, b) {
return a['Priority'][0] - b['Priority'][0] || a['Req '].length - b['Req '].length || a['Req '] - b['Req '];
}
function initIndex(url) {
$.getJSON(url, function (data) {
for (var i = data.length - 1; i > -1; i--) {
if (data[i].Submitted !== '')
continue;
data.splice(i, 1);
}
data.sort(compareFunction);
$("#HeaderGrid").igGrid({
autoGenerateColumns: false,
dataSource: data,
height: "100%",
width: "100%",
columns: [
{ key: "Req", dataType: "number" },
{ key: "Submitted", dataType: "date", format: "date" },
{ key: "Requestor", dataType: "string" },
{ key: "Assigned To", dataType: "string" },
{ key: "Second Resource", dataType: "string" },
{ key: "Subject - from Requestor", dataType: "string" },
{ key: "System(s)", dataType: "string" },
{ key: "Priority", dataType: "string" },
],
features: [
{ name: "Paging", type: "local", recordCountKey: "TotalRows", pageSize: 25, pageSizeUrlKey: "pageSize", "pageIndexUrlKey": "page", showPageSizeDropDown: false },
{ name: "Selection", mode: "row", multipleSelection: false },
{ name: "Filtering", type: "local" },
{ name: "Sorting", type: "local" },
],
});
});
}

View File

@ -0,0 +1,36 @@
[
{
"Req": "",
"Submitted": "",
"Requestor": "",
"Assigned To": "",
"Second Resource": "",
"Subject - from Requestor": null,
"Epi Line": null,
"Area": null,
"System(s)": "",
"Priority": "",
"Status": "",
"Definition": null,
"Updates": "",
"Est Effort _(days)": "",
"Commit Date": "",
"Re-Commit Date": "",
"UAT as of": "",
"CMP Date": null,
"F20": "",
"F21": "",
"F22": "",
"F23": "",
"F24": "",
"F25": "",
"F26": "",
"F27": "",
"F28": "",
"F29": "",
"F30": "",
"F31": "",
"F32": "",
"F33": ""
}
]

View File

@ -33,7 +33,7 @@
<DefineConstants>Linux</DefineConstants> <DefineConstants>Linux</DefineConstants>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="coverlet.collector" Version="3.2.0" /> <PackageReference Include="coverlet.collector" Version="6.0.0" />
<PackageReference Include="FFMpegCore" Version="5.1.0" /> <PackageReference Include="FFMpegCore" Version="5.1.0" />
<PackageReference Include="IKVM.AWT.WinForms" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference> <PackageReference Include="IKVM.AWT.WinForms" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
<PackageReference Include="IKVM.OpenJDK.Core" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference> <PackageReference Include="IKVM.OpenJDK.Core" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
@ -43,6 +43,8 @@
<PackageReference Include="IKVM.OpenJDK.XML.API" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference> <PackageReference Include="IKVM.OpenJDK.XML.API" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
<PackageReference Include="IKVM.Runtime" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference> <PackageReference Include="IKVM.Runtime" Version="7.2.4630.5"><NoWarn>NU1701</NoWarn></PackageReference>
<PackageReference Include="Instances" Version="3.0.0" /> <PackageReference Include="Instances" Version="3.0.0" />
<PackageReference Include="Microsoft.AspNet.WebApi.SelfHost" Version="5.2.9" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.5" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" /> <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="7.0.4" />
<PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" /> <PackageReference Include="Microsoft.Extensions.Configuration.CommandLine" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" /> <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
@ -53,10 +55,10 @@
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.5.0" /> <PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.1" />
<PackageReference Include="Microsoft.Win32.SystemEvents" Version="7.0.0" /> <PackageReference Include="Microsoft.Win32.SystemEvents" Version="7.0.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.0.2" /> <PackageReference Include="MSTest.TestAdapter" Version="3.0.4" />
<PackageReference Include="MSTest.TestFramework" Version="3.0.2" /> <PackageReference Include="MSTest.TestFramework" Version="3.0.4" />
<PackageReference Include="Pdfbox" Version="1.1.1"><NoWarn>NU1701</NoWarn></PackageReference> <PackageReference Include="Pdfbox" Version="1.1.1"><NoWarn>NU1701</NoWarn></PackageReference>
<PackageReference Include="RoboSharp" Version="1.2.8" /> <PackageReference Include="RoboSharp" Version="1.2.8" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" /> <PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" />
@ -68,8 +70,8 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="16.205.1" /> <PackageReference Include="Microsoft.TeamFoundationServer.Client" Version="16.205.1" />
<PackageReference Include="Infineon.Yoda" Version="5.4.1" /> <PackageReference Include="Infineon.Yoda.DotNetCore" Version="5.4.1" />
<PackageReference Include="Tibco.Rendezvous" Version="8.5.0" /> <PackageReference Include="Tibco.Rendezvous.DotNetCore" Version="8.5.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Infineon.Mesa.PDF.Text.Stripper" Version="4.8.0.1"><NoWarn>NU1701</NoWarn></PackageReference> <PackageReference Include="Infineon.Mesa.PDF.Text.Stripper" Version="4.8.0.1"><NoWarn>NU1701</NoWarn></PackageReference>

View File

@ -47,9 +47,7 @@ public class BACKLOG_EQPT : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose(); EAFLoggingUnitTesting?.Dispose();
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__BACKLOG_EQPT__DownloadExcelFile() public void Development__v2_49_0__BACKLOG_EQPT__DownloadExcelFile()
{ {

View File

@ -47,9 +47,7 @@ public class BACKLOG : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose(); EAFLoggingUnitTesting?.Dispose();
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__BACKLOG__ConvertExcelToJson() public void Development__v2_49_0__BACKLOG__ConvertExcelToJson()
{ {

View File

@ -47,9 +47,7 @@ public class MESAFIBACKLOG : EAFLoggingUnitTesting
EAFLoggingUnitTesting?.Dispose(); EAFLoggingUnitTesting?.Dispose();
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__MESAFIBACKLOG__json() public void Development__v2_49_0__MESAFIBACKLOG__json()
{ {

View File

@ -29,15 +29,11 @@ public class BACKLOG_EQPT
catch (Exception) { } catch (Exception) { }
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__BACKLOG_EQPT__DownloadExcelFile() => _BACKLOG_EQPT.Development__v2_49_0__BACKLOG_EQPT__DownloadExcelFile(); public void Development__v2_49_0__BACKLOG_EQPT__DownloadExcelFile() => _BACKLOG_EQPT.Development__v2_49_0__BACKLOG_EQPT__DownloadExcelFile();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__BACKLOG_EQPT__DownloadExcelFile637961178824025822__Normal() public void Development__v2_49_0__BACKLOG_EQPT__DownloadExcelFile637961178824025822__Normal()
{ {

View File

@ -33,15 +33,11 @@ public class BACKLOG
catch (Exception) { } catch (Exception) { }
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__BACKLOG__ConvertExcelToJson() => _BACKLOG.Development__v2_49_0__BACKLOG__ConvertExcelToJson(); public void Development__v2_49_0__BACKLOG__ConvertExcelToJson() => _BACKLOG.Development__v2_49_0__BACKLOG__ConvertExcelToJson();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__BACKLOG__ConvertExcelToJson637961178824025822__Normal() public void Development__v2_49_0__BACKLOG__ConvertExcelToJson637961178824025822__Normal()
{ {

View File

@ -33,15 +33,11 @@ public class MESAFIBACKLOG
catch (Exception) { } catch (Exception) { }
} }
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__MESAFIBACKLOG__json() => _MESAFIBACKLOG.Development__v2_49_0__MESAFIBACKLOG__json(); public void Development__v2_49_0__MESAFIBACKLOG__json() => _MESAFIBACKLOG.Development__v2_49_0__MESAFIBACKLOG__json();
#if DEBUG
[Ignore] [Ignore]
#endif
[TestMethod] [TestMethod]
public void Development__v2_49_0__MESAFIBACKLOG__json637961251829737445__Normal() public void Development__v2_49_0__MESAFIBACKLOG__json637961251829737445__Normal()
{ {

View File

@ -54,6 +54,7 @@
<Reference Include="System.IO.Compression" /> <Reference Include="System.IO.Compression" />
<Reference Include="System.IO.Compression.FileSystem" /> <Reference Include="System.IO.Compression.FileSystem" />
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Web" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" /> <Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
@ -106,7 +107,9 @@
<Compile Include="Adaptation\FileHandlers\DownloadExcelFile\FileRead.cs" /> <Compile Include="Adaptation\FileHandlers\DownloadExcelFile\FileRead.cs" />
<Compile Include="Adaptation\FileHandlers\Dummy\FileRead.cs" /> <Compile Include="Adaptation\FileHandlers\Dummy\FileRead.cs" />
<Compile Include="Adaptation\FileHandlers\IQSSi\FileRead.cs" /> <Compile Include="Adaptation\FileHandlers\IQSSi\FileRead.cs" />
<Compile Include="Adaptation\FileHandlers\json\BacklogController.cs" />
<Compile Include="Adaptation\FileHandlers\json\FileRead.cs" /> <Compile Include="Adaptation\FileHandlers\json\FileRead.cs" />
<Compile Include="Adaptation\FileHandlers\json\Helper.cs" />
<Compile Include="Adaptation\FileHandlers\json\ProcessData.cs" /> <Compile Include="Adaptation\FileHandlers\json\ProcessData.cs" />
<Compile Include="Adaptation\FileHandlers\json\WIQL\Column.cs" /> <Compile Include="Adaptation\FileHandlers\json\WIQL\Column.cs" />
<Compile Include="Adaptation\FileHandlers\json\WIQL\Field.cs" /> <Compile Include="Adaptation\FileHandlers\json\WIQL\Field.cs" />
@ -179,12 +182,21 @@
<PackageReference Include="Microsoft.TeamFoundationServer.Client"> <PackageReference Include="Microsoft.TeamFoundationServer.Client">
<Version>16.205.1</Version> <Version>16.205.1</Version>
</PackageReference> </PackageReference>
<PackageReference Include="Microsoft.AspNet.WebApi.SelfHost">
<Version>5.2.7</Version>
</PackageReference>
<PackageReference Include="System.Text.Json"> <PackageReference Include="System.Text.Json">
<Version>6.0.3</Version> <Version>6.0.3</Version>
</PackageReference> </PackageReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Adaptation\FileHandlers\StaticFileServerPath\" /> <Content Include="Adaptation\FileHandlers\json\StaticSite\index.html" />
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\jquery-3.6.0.min.js" />
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\jquery-ui.min.js" />
<Content Include="Adaptation\FileHandlers\json\StaticSite\js\site.js" />
</ItemGroup>
<ItemGroup>
<None Include="Adaptation\FileHandlers\json\StaticSite\json\data.json" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project> </Project>