From 09292c4aaa232cd962e6cefa2b8c543a399aee0b Mon Sep 17 00:00:00 2001 From: serenaponta <42769540+serenaponta@users.noreply.github.com> Date: Thu, 24 Mar 2022 17:17:44 +0100 Subject: [PATCH 1/5] added construct counter to deps rest api --- .../src/main/java/org/eclipse/steady/backend/model/Library.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-backend/src/main/java/org/eclipse/steady/backend/model/Library.java b/rest-backend/src/main/java/org/eclipse/steady/backend/model/Library.java index 0b4daba64..405565e5a 100644 --- a/rest-backend/src/main/java/org/eclipse/steady/backend/model/Library.java +++ b/rest-backend/src/main/java/org/eclipse/steady/backend/model/Library.java @@ -461,7 +461,7 @@ public Set getDevelopedIn() { * @return a {@link org.eclipse.steady.backend.model.ConstructIdFilter} object. */ @JsonProperty(value = "constructTypeCounters") - @JsonView(Views.CountDetails.class) + @JsonView(Views.Default.class) @JsonIgnoreProperties( value = {"constructTypeCounters"}, allowGetters = true) From d54882f7fbea43ea4ff45d70f29a22884ef17d61 Mon Sep 17 00:00:00 2001 From: serenaponta <42769540+serenaponta@users.noreply.github.com> Date: Thu, 24 Mar 2022 18:08:16 +0100 Subject: [PATCH 2/5] added deps column --- frontend-apps/src/main/webapp/view/Component.view.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/frontend-apps/src/main/webapp/view/Component.view.xml b/frontend-apps/src/main/webapp/view/Component.view.xml index b2293dd5c..da4b23599 100755 --- a/frontend-apps/src/main/webapp/view/Component.view.xml +++ b/frontend-apps/src/main/webapp/view/Component.view.xml @@ -333,6 +333,15 @@ + + + + + From 09f216c5ab3fd16b17730af797bfa35d6d98cf0e Mon Sep 17 00:00:00 2001 From: serenaponta <42769540+serenaponta@users.noreply.github.com> Date: Mon, 28 Mar 2022 14:52:04 +0200 Subject: [PATCH 3/5] added filter property --- frontend-apps/src/main/webapp/view/Component.view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-apps/src/main/webapp/view/Component.view.xml b/frontend-apps/src/main/webapp/view/Component.view.xml index da4b23599..a363f8b4a 100755 --- a/frontend-apps/src/main/webapp/view/Component.view.xml +++ b/frontend-apps/src/main/webapp/view/Component.view.xml @@ -249,14 +249,14 @@ + sortProperty="scope" filterProperty="scope"> + sortProperty="transitive" filterProperty="transitive"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + sortProperty="reachExecConstructsCounter" + filterProperty="reachExecConstructsCounter" filtered="false"> + + sortProperty="tracedExecConstructsCounter" + filterProperty="tracedExecConstructsCounter" filtered="false"> - + + +
From f4e0e95b75d1defa3697e0aa279224d4b27972fd Mon Sep 17 00:00:00 2001 From: serenaponta <42769540+serenaponta@users.noreply.github.com> Date: Thu, 31 Mar 2022 16:55:16 +0200 Subject: [PATCH 5/5] adapt row count; improved text --- .../src/main/webapp/view/Component.controller.js | 9 +++++---- frontend-apps/src/main/webapp/view/Component.view.xml | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend-apps/src/main/webapp/view/Component.controller.js b/frontend-apps/src/main/webapp/view/Component.controller.js index e26130570..dd5fbd717 100755 --- a/frontend-apps/src/main/webapp/view/Component.controller.js +++ b/frontend-apps/src/main/webapp/view/Component.controller.js @@ -104,6 +104,7 @@ sap.ui.controller("view.Component", { archiveTraced.setText("Archives Traced: " + traced); archiveReachable.setText("Archives Reachable: " + reachable); archiveTotalTraces.setText("Total Number of Traces: " + traces); + }, // includeTestDeps: function(){ @@ -172,11 +173,12 @@ sap.ui.controller("view.Component", { }); this.getView().byId("idBloatList").getBinding("rows").filter(tableFilter); - } - - else + else{ this.getView().byId("idBloatList").getBinding("rows").filter(); + } + this.getView().byId("idBloatList").setVisibleRowCount(this.getView().byId("idBloatList").getBinding("rows").iLength); + }, // Vulnerabilities tab: Sets the 2 counters @@ -466,7 +468,6 @@ sap.ui.controller("view.Component", { oArchiveView.setModel(oArchiveModel); oArchiveView.setBusy(false); - oBloatView.setVisibleRowCount(oArchiveModel.getObject("/").length); oBloatView.setModel(oArchiveModel); scopeColumn.setFilterValue("!=TEST"); scopeColumn.setFiltered(true); diff --git a/frontend-apps/src/main/webapp/view/Component.view.xml b/frontend-apps/src/main/webapp/view/Component.view.xml index 9f985c81a..dcef462ec 100755 --- a/frontend-apps/src/main/webapp/view/Component.view.xml +++ b/frontend-apps/src/main/webapp/view/Component.view.xml @@ -380,7 +380,7 @@ - + @@ -452,7 +452,7 @@ -