We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78710ea commit c230247Copy full SHA for c230247
src/DIRAC/MonitoringSystem/Client/WebAppClient.py
@@ -0,0 +1,26 @@
1
+""" Module that contains client access to the WebApp handler.
2
+"""
3
+
4
+from DIRAC.Core.Base.Client import Client, createClient
5
6
7
+@createClient("MonitoringSystem/WebApp")
8
+class WebAppClient(Client):
9
+ """WebAppClient sets url for the WebAppHandler."""
10
11
+ def __init__(self, url=None, **kwargs):
12
+ """
13
+ Sets URL for WebApp handler
14
15
+ :param self: self reference
16
+ :param url: url of the WebAppHandler
17
+ :param kwargs: forwarded to the Base Client class
18
19
20
+ super().__init__(**kwargs)
21
22
+ if not url:
23
+ self.serverURL = "Monitoring/WebApp"
24
25
+ else:
26
+ self.serverURL = url
0 commit comments