Skip to content

Commit 6d6ca9a

Browse files
committed
fix: removed unused Broker field
1 parent 687f187 commit 6d6ca9a

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

src/WebAppDIRAC/WebApp/handler/PilotMonitorHandler.py

-11
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,6 @@ def web_getSelectionData(self):
108108
else:
109109
site = [["Error during RPC call"]]
110110
callback["site"] = site
111-
if "Broker" in result and len(result["Broker"]) > 0:
112-
broker = []
113-
for i in result["Broker"]:
114-
broker.append([str(i)])
115-
else:
116-
broker = [["Nothing to display"]]
117-
callback["broker"] = broker
118111
if "Owner" in result and len(result["Owner"]) > 0:
119112
owner = []
120113
for i in result["Owner"]:
@@ -139,10 +132,6 @@ def __request(self):
139132
if pilotId:
140133
req["PilotJobReference"] = pilotId
141134

142-
broker = list(json.loads(self.get_argument("broker", "[]")))
143-
if broker:
144-
req["broker"] = broker
145-
146135
status = list(json.loads(self.get_argument("status", "[]")))
147136
if status:
148137
req["Status"] = status

src/WebAppDIRAC/WebApp/static/DIRAC/PilotMonitor/classes/PilotMonitor.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ Ext.define("DIRAC.PilotMonitor.classes.PilotMonitor", {
100100
name: "BenchMark",
101101
type: "float",
102102
},
103-
{
104-
name: "Broker",
105-
},
106103
{
107104
name: "GridSite",
108105
},
@@ -184,7 +181,6 @@ Ext.define("DIRAC.PilotMonitor.classes.PilotMonitor", {
184181
computingElement: "Computing Element",
185182
VO: "VO",
186183
owner: "Owner",
187-
broker: "Broker",
188184
};
189185

190186
var map = [
@@ -193,7 +189,6 @@ Ext.define("DIRAC.PilotMonitor.classes.PilotMonitor", {
193189
["computingElement", "computingElement"],
194190
["VO", "VO"],
195191
["owner", "owner"],
196-
["broker", "broker"],
197192
];
198193

199194
me.leftPanel = Ext.create("Ext.dirac.utils.DiracBaseSelector", {
@@ -347,9 +342,6 @@ Ext.define("DIRAC.PilotMonitor.classes.PilotMonitor", {
347342
ComputingElement: {
348343
dataIndex: "DestinationSite",
349344
},
350-
Broker: {
351-
dataIndex: "Broker",
352-
},
353345
CurrentJobID: {
354346
dataIndex: "CurrentJobID",
355347
},
@@ -435,7 +427,7 @@ Ext.define("DIRAC.PilotMonitor.classes.PilotMonitor", {
435427
mode: "local",
436428
store: new Ext.data.ArrayStore({
437429
fields: ["category"],
438-
data: [["Status"], ["Site"], ["Computing Element"], ["VO"], ["Owner"], ["Broker"]],
430+
data: [["Status"], ["Site"], ["Computing Element"], ["VO"], ["Owner"]],
439431
}),
440432
triggerAction: "all",
441433
value: "Status",

0 commit comments

Comments
 (0)