From f074577942fb047f458cf92abac435b3df5e266b Mon Sep 17 00:00:00 2001 From: rupozzi Date: Thu, 13 Jan 2022 14:47:56 +0100 Subject: [PATCH 1/2] feat: added monitoring option for pilot submissions --- .../static/DIRAC/Accounting/classes/Accounting.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/WebAppDIRAC/WebApp/static/DIRAC/Accounting/classes/Accounting.js b/src/WebAppDIRAC/WebApp/static/DIRAC/Accounting/classes/Accounting.js index dfa6028ee..77e09080f 100644 --- a/src/WebAppDIRAC/WebApp/static/DIRAC/Accounting/classes/Accounting.js +++ b/src/WebAppDIRAC/WebApp/static/DIRAC/Accounting/classes/Accounting.js @@ -110,6 +110,17 @@ Ext.define("DIRAC.Accounting.classes.Accounting", { ["status", "Status"], ], }, + PilotMonitoring: { + title: "Pilot Submission Monitoring", + selectionConditions: [ + ["HostName", "HostName"], + ["SiteDirector", "SiteDirector"], + ["Site", "Site"], + ["CE", "CE"], + ["Queue", "Queue"], + ["Status", "Status"], + ], + }, }, }; @@ -126,6 +137,7 @@ Ext.define("DIRAC.Accounting.classes.Accounting", { ["WMSHistory", "WMS Monitoring"], ["ComponentMonitoring", "Component Monitoring"], ["RMSMonitoring", "RMS Monitoring"], + ["PilotMonitoring", "Pilot Submission Monitoring"] ], }; From c998edbda074101351d18c2c4e2ed179d65f2805 Mon Sep 17 00:00:00 2001 From: rupozzi Date: Thu, 13 Jan 2022 15:12:09 +0100 Subject: [PATCH 2/2] fix: fix pre-commit error --- .../WebApp/static/DIRAC/Accounting/classes/Accounting.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WebAppDIRAC/WebApp/static/DIRAC/Accounting/classes/Accounting.js b/src/WebAppDIRAC/WebApp/static/DIRAC/Accounting/classes/Accounting.js index 77e09080f..8b7c04a6f 100644 --- a/src/WebAppDIRAC/WebApp/static/DIRAC/Accounting/classes/Accounting.js +++ b/src/WebAppDIRAC/WebApp/static/DIRAC/Accounting/classes/Accounting.js @@ -137,7 +137,7 @@ Ext.define("DIRAC.Accounting.classes.Accounting", { ["WMSHistory", "WMS Monitoring"], ["ComponentMonitoring", "Component Monitoring"], ["RMSMonitoring", "RMS Monitoring"], - ["PilotMonitoring", "Pilot Submission Monitoring"] + ["PilotMonitoring", "Pilot Submission Monitoring"], ], };