Manual copy for now
This commit is contained in:
parent
fb3c3ce699
commit
172f45aa67
@ -11,8 +11,6 @@ public class FIBacklogMesa
|
|||||||
string assignedTo,
|
string assignedTo,
|
||||||
string secondResource,
|
string secondResource,
|
||||||
string subject,
|
string subject,
|
||||||
string epiLine,
|
|
||||||
string area,
|
|
||||||
string systemS,
|
string systemS,
|
||||||
string priority,
|
string priority,
|
||||||
string status,
|
string status,
|
||||||
@ -44,8 +42,6 @@ public class FIBacklogMesa
|
|||||||
AssignedTo = assignedTo;
|
AssignedTo = assignedTo;
|
||||||
SecondResource = secondResource;
|
SecondResource = secondResource;
|
||||||
Subject = subject;
|
Subject = subject;
|
||||||
EpiLine = epiLine;
|
|
||||||
Area = area;
|
|
||||||
SystemS = systemS;
|
SystemS = systemS;
|
||||||
Priority = priority;
|
Priority = priority;
|
||||||
Status = status;
|
Status = status;
|
||||||
@ -85,10 +81,6 @@ public class FIBacklogMesa
|
|||||||
[JsonPropertyName("Subject - from Requestor")]
|
[JsonPropertyName("Subject - from Requestor")]
|
||||||
public string Subject { get; set; } // { init; get; }
|
public string Subject { get; set; } // { init; get; }
|
||||||
|
|
||||||
[JsonPropertyName("Epi Line")]
|
|
||||||
public string EpiLine { get; set; } // { init; get; }
|
|
||||||
public string Area { get; set; } // { init; get; }
|
|
||||||
|
|
||||||
[JsonPropertyName("System(s)")]
|
[JsonPropertyName("System(s)")]
|
||||||
public string SystemS { get; set; } // { init; get; }
|
public string SystemS { get; set; } // { init; get; }
|
||||||
|
|
||||||
@ -111,7 +103,7 @@ public class FIBacklogMesa
|
|||||||
[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")]
|
[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; }
|
||||||
|
@ -121,6 +121,7 @@ public class FileRead : Shared.FileRead, IFileRead
|
|||||||
}
|
}
|
||||||
if (_IsEAFHosted)
|
if (_IsEAFHosted)
|
||||||
File.WriteAllText(fileName, json);
|
File.WriteAllText(fileName, json);
|
||||||
|
File.WriteAllText("D:/Web-sites/Backlog/json/data.json", json);
|
||||||
results = iProcessData.GetResults(this, _Logistics, results.Item4);
|
results = iProcessData.GetResults(this, _Logistics, results.Item4);
|
||||||
}
|
}
|
||||||
return results;
|
return results;
|
||||||
|
@ -14,8 +14,8 @@ 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;
|
||||||
using System.Web.Http.SelfHost;
|
//using System.Web.Http.SelfHost;
|
||||||
|
|
||||||
namespace Adaptation.FileHandlers.json;
|
namespace Adaptation.FileHandlers.json;
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ public class FileRead : Shared.FileRead, IFileRead
|
|||||||
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 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) :
|
||||||
@ -62,11 +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"));
|
//string httpSelfHostConfigurationBaseAddress = "http://localhost:5159"; // GetPropertyValue(cellInstanceConnectionName, modelObjectParameters, string.Concat("CellInstance.", cellInstanceName, ".HttpSelfHostConfiguration.BaseAddress"));
|
||||||
HttpSelfHostConfiguration config = new(httpSelfHostConfigurationBaseAddress);
|
//HttpSelfHostConfiguration config = new(httpSelfHostConfigurationBaseAddress);
|
||||||
_ = config.Routes.MapHttpRoute("API Default", "api/{controller}/{id}", new { id = RouteParameter.Optional });
|
//_ = config.Routes.MapHttpRoute("API Default", "api/{controller}/{id}", new { id = RouteParameter.Optional });
|
||||||
_HttpSelfHostServer = new(config);
|
//_HttpSelfHostServer = new(config);
|
||||||
_HttpSelfHostServer.OpenAsync().Wait();
|
//_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);
|
||||||
|
@ -5,14 +5,14 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width" />
|
<meta name="viewport" content="width=device-width" />
|
||||||
<title>FI Backlog Mesa</title>
|
<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/themes/bootstrap3/default/infragistics.theme.css?v=2023-06-09-16-27" rel="stylesheet" />
|
||||||
<link href="/igniteui/css/structure/infragistics.css?v=2023-06-09-15-01" rel="stylesheet" />
|
<link href="/igniteui/css/structure/infragistics.css?v=2023-06-09-16-27" 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-3.6.0.min.js?v=2023-06-09-16-27" type="text/javascript"></script>
|
||||||
<script src="/js/jquery-ui.min.js?v=2023-06-09-15-01" type="text/javascript"></script>
|
<script src="/js/jquery-ui.min.js?v=2023-06-09-16-27" type="text/javascript"></script>
|
||||||
<script src="/js/site.js?v=2023-06-09-15-01" type="text/javascript"></script>
|
<script src="/js/site.js?v=2023-06-09-16-27" 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.core.js?v=2023-06-09-16-27" 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.lob.js?v=2023-06-09-16-27" type="text/javascript"></script>
|
||||||
<script src="/igniteui/js/infragistics.dv.js?v=2023-06-09-15-01" type="text/javascript"></script>
|
<script src="/igniteui/js/infragistics.dv.js?v=2023-06-09-16-27" type="text/javascript"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h2>FI Backlog Mesa</h2>
|
<h2>FI Backlog Mesa</h2>
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
function compareFunction(a, b) {
|
function compareFunction(a, b) {
|
||||||
return a['Priority'][0] - b['Priority'][0] || a['Req '].length - b['Req '].length || a['Req '] - b['Req '];
|
return a.Priority[0] - b.Priority[0] || a.Req.length - b.Req.length || a.Req - b.Req;
|
||||||
}
|
}
|
||||||
|
|
||||||
function initIndex(url) {
|
function initIndex(url) {
|
||||||
$.getJSON(url, function (data) {
|
$.getJSON(url, function (data) {
|
||||||
for (var i = data.length - 1; i > -1; i--) {
|
for (var i = data.length - 1; i > -1; i--) {
|
||||||
|
if (data[i]['Subject - from Requestor'].length > 255)
|
||||||
|
data[i]['Subject - from Requestor'] = data[i]['Subject - from Requestor'].substring(0, 255) + '...';
|
||||||
if (data[i].Submitted !== '')
|
if (data[i].Submitted !== '')
|
||||||
continue;
|
continue;
|
||||||
data.splice(i, 1);
|
data.splice(i, 1);
|
||||||
@ -21,8 +23,7 @@ function initIndex(url) {
|
|||||||
{ key: "Requestor", dataType: "string" },
|
{ key: "Requestor", dataType: "string" },
|
||||||
{ key: "Assigned To", dataType: "string" },
|
{ key: "Assigned To", dataType: "string" },
|
||||||
{ key: "Second Resource", dataType: "string" },
|
{ key: "Second Resource", dataType: "string" },
|
||||||
{ key: "Subject - from Requestor", dataType: "string" },
|
{ key: "Subject - from Requestor", dataType: "string", width: "30%" },
|
||||||
{ key: "System(s)", dataType: "string" },
|
|
||||||
{ key: "Priority", dataType: "string" },
|
{ key: "Priority", dataType: "string" },
|
||||||
],
|
],
|
||||||
features: [
|
features: [
|
||||||
|
@ -182,9 +182,6 @@
|
|||||||
<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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user