diff --git a/src/app/item-detail/item-detail.component.html b/src/app/item-detail/item-detail.component.html
index d3cc547f..228d8716 100644
--- a/src/app/item-detail/item-detail.component.html
+++ b/src/app/item-detail/item-detail.component.html
@@ -16,7 +16,7 @@
class="fas fa-bars">
+ 0">
Max CPU usage
{{itemData.monitoring.cpu.max}}%
diff --git a/src/app/item-detail/item-detail.component.ts b/src/app/item-detail/item-detail.component.ts
index f9281ddf..609b30d1 100644
--- a/src/app/item-detail/item-detail.component.ts
+++ b/src/app/item-detail/item-detail.component.ts
@@ -35,6 +35,7 @@ export class ItemDetailComponent implements OnInit, OnDestroy {
baseId: null,
note: null,
plot: null,
+ resourcesLink: null,
extraPlotData: null,
reportStatus: null,
histogramPlotData: null,
@@ -56,9 +57,7 @@ export class ItemDetailComponent implements OnInit, OnDestroy {
statusChartOptions;
updateChartFlag = false;
updateScatterChartFlag = false;
- monitoringChart;
itemParams;
- hasErrorsAttachment;
Math: any;
token: string;
isAnonymous = false;
@@ -68,7 +67,6 @@ export class ItemDetailComponent implements OnInit, OnDestroy {
performanceAnalysisLines = null;
externalSearchTerm = null;
totalRequests = null;
- overallChart = null;
constructor(
diff --git a/src/app/items-api.service.ts b/src/app/items-api.service.ts
index 96c4eb97..eee275d8 100644
--- a/src/app/items-api.service.ts
+++ b/src/app/items-api.service.ts
@@ -30,7 +30,7 @@ export class ItemsApiService {
}
addNewTestItem(projectName: string, scenarioName: string,
- environment: string = null, note, hostname, status, kpiFile, name, errorFile?, monitoringFile?) {
+ environment: string = null, note, hostname, status, kpiFile, name, resourcesLink, errorFile?, monitoringFile?) {
const headers = new HttpHeaders();
headers.set("Content-Type", null);
headers.set("Accept", "multipart/form-data");
@@ -41,6 +41,7 @@ export class ItemsApiService {
formData.append("hostname", hostname);
formData.append("status", status);
formData.append("name", name);
+ formData.append("resourcesLink", resourcesLink);
if (errorFile) {
formData.append("errors", errorFile);
}
diff --git a/src/app/items.service.model.ts b/src/app/items.service.model.ts
index 8c6e6d8c..4b8ee71b 100644
--- a/src/app/items.service.model.ts
+++ b/src/app/items.service.model.ts
@@ -35,6 +35,7 @@ export interface ItemDetail {
baseId: string;
name: string;
note: string;
+ resourcesLink?: string;
hostname: string;
environment: string;
plot: ItemDataPlot;
diff --git a/src/app/scenario/add-new-item/add-new-item.component.html b/src/app/scenario/add-new-item/add-new-item.component.html
index 8627ecd0..9fd72b9c 100644
--- a/src/app/scenario/add-new-item/add-new-item.component.html
+++ b/src/app/scenario/add-new-item/add-new-item.component.html
@@ -46,6 +46,15 @@ Add test run
aria-describedby="inputGroup-sizing-default">
+
+
+
of(r)))
.subscribe(_ => {
this.itemDetailChange.emit({ note, environment, hostname, name });