4062 |
25 Aug 16 |
nicklas |
1 |
<?xml version="1.0" encoding="UTF-8" ?> |
4062 |
25 Aug 16 |
nicklas |
2 |
<extensions xmlns="http://base.thep.lu.se/extensions.xsd"> |
4314 |
20 Jan 17 |
nicklas |
3 |
<about safe-resources="1" safe-scripts="1"> |
5986 |
10 Jul 20 |
nicklas |
4 |
<name>Job scheduler service package</name> |
4062 |
25 Aug 16 |
nicklas |
5 |
<description> |
4062 |
25 Aug 16 |
nicklas |
6 |
A package for submitting and monitoring of jobs on |
5986 |
10 Jul 20 |
nicklas |
7 |
an Open Grid Engine and Slurm cluster. |
4062 |
25 Aug 16 |
nicklas |
8 |
</description> |
7385 |
24 Oct 23 |
nicklas |
9 |
<version>1.13-dev</version> |
7058 |
13 Mar 23 |
nicklas |
10 |
<min-base-version>3.19.8</min-base-version> |
4062 |
25 Aug 16 |
nicklas |
11 |
<copyright>BASE development team</copyright> |
4062 |
25 Aug 16 |
nicklas |
12 |
<email>basedb-users@lists.sourceforge.net</email> |
6305 |
11 Jun 21 |
nicklas |
13 |
<url>https://baseplugins.thep.lu.se/wiki/net.sf.basedb.opengrid</url> |
4062 |
25 Aug 16 |
nicklas |
14 |
</about> |
4062 |
25 Aug 16 |
nicklas |
15 |
|
4245 |
21 Nov 16 |
nicklas |
16 |
<extension-point |
4245 |
21 Nov 16 |
nicklas |
17 |
id="net.sf.basedb.opengrid.job-complete" |
4245 |
21 Nov 16 |
nicklas |
18 |
> |
4245 |
21 Nov 16 |
nicklas |
19 |
<action-class>net.sf.basedb.opengrid.service.JobCompletionHandler</action-class> |
5986 |
10 Jul 20 |
nicklas |
20 |
<name>Job completion handler</name> |
4245 |
21 Nov 16 |
nicklas |
21 |
<description> |
4245 |
21 Nov 16 |
nicklas |
22 |
Extensions point for receiving notifications when a job |
5986 |
10 Jul 20 |
nicklas |
23 |
on a cluster has been completed. The client context |
4245 |
21 Nov 16 |
nicklas |
24 |
is initially (when prepareContext() is called) only populated |
4245 |
21 Nov 16 |
nicklas |
25 |
with a SessionControl where the root user is logged in. |
4245 |
21 Nov 16 |
nicklas |
26 |
|
4245 |
21 Nov 16 |
nicklas |
27 |
When getActions() is called the current job is available |
4245 |
21 Nov 16 |
nicklas |
28 |
as the current item and the "job-status" attribute contains |
4245 |
21 Nov 16 |
nicklas |
29 |
the current JobStatus for the job. The factory should use this |
4245 |
21 Nov 16 |
nicklas |
30 |
information to decide if actions should be created or not. |
4245 |
21 Nov 16 |
nicklas |
31 |
Note that the extension point is are called both for |
4245 |
21 Nov 16 |
nicklas |
32 |
successful and failed jobs. |
4245 |
21 Nov 16 |
nicklas |
33 |
|
4245 |
21 Nov 16 |
nicklas |
34 |
The action factory should return JobCompletionHandler actions. |
4245 |
21 Nov 16 |
nicklas |
35 |
The actions will receive most of the same information that |
4245 |
21 Nov 16 |
nicklas |
36 |
was passed in the client context, but the SessionControl |
4245 |
21 Nov 16 |
nicklas |
37 |
in this case is owned by the same user that owns the job |
4245 |
21 Nov 16 |
nicklas |
38 |
and a project has been activated if needed. |
4245 |
21 Nov 16 |
nicklas |
39 |
</description> |
4324 |
30 Jan 17 |
nicklas |
40 |
<error-handler-factory> |
4324 |
30 Jan 17 |
nicklas |
41 |
<factory-class>net.sf.basedb.util.extensions.RethrowErrorHandlerFactory</factory-class> |
4324 |
30 Jan 17 |
nicklas |
42 |
</error-handler-factory> |
4245 |
21 Nov 16 |
nicklas |
43 |
</extension-point> |
4245 |
21 Nov 16 |
nicklas |
44 |
|
4067 |
02 Sep 16 |
nicklas |
45 |
<extension |
4203 |
02 Nov 16 |
nicklas |
46 |
id="net.sf.basedb.opengrid.job-signal" |
4203 |
02 Nov 16 |
nicklas |
47 |
extends="net.sf.basedb.core.signal.job" |
4203 |
02 Nov 16 |
nicklas |
48 |
> |
4203 |
02 Nov 16 |
nicklas |
49 |
<about> |
5986 |
10 Jul 20 |
nicklas |
50 |
<name>Job scheduler signal handler</name> |
4203 |
02 Nov 16 |
nicklas |
51 |
<description> |
4203 |
02 Nov 16 |
nicklas |
52 |
Responds to signals sent from BASE. Support |
4203 |
02 Nov 16 |
nicklas |
53 |
for ABORT and STATUS signals. Prefix used in |
4203 |
02 Nov 16 |
nicklas |
54 |
signal URI:s is 'ogx://'. |
4203 |
02 Nov 16 |
nicklas |
55 |
</description> |
4203 |
02 Nov 16 |
nicklas |
56 |
</about> |
4203 |
02 Nov 16 |
nicklas |
57 |
<action-factory> |
4203 |
02 Nov 16 |
nicklas |
58 |
<factory-class> |
4203 |
02 Nov 16 |
nicklas |
59 |
net.sf.basedb.opengrid.service.OpenGridSignalHandlerFactory |
4203 |
02 Nov 16 |
nicklas |
60 |
</factory-class> |
4203 |
02 Nov 16 |
nicklas |
61 |
</action-factory> |
4203 |
02 Nov 16 |
nicklas |
62 |
</extension> |
4203 |
02 Nov 16 |
nicklas |
63 |
|
4203 |
02 Nov 16 |
nicklas |
64 |
<extension |
4314 |
20 Jan 17 |
nicklas |
65 |
id="net.sf.basedb.opengrid.service" |
4203 |
02 Nov 16 |
nicklas |
66 |
extends="net.sf.basedb.clients.web.services" |
4203 |
02 Nov 16 |
nicklas |
67 |
> |
4203 |
02 Nov 16 |
nicklas |
68 |
<about> |
5986 |
10 Jul 20 |
nicklas |
69 |
<name>Job scheduler service</name> |
4203 |
02 Nov 16 |
nicklas |
70 |
<description> |
5986 |
10 Jul 20 |
nicklas |
71 |
A service for submitting and managing jobs on computational |
5986 |
10 Jul 20 |
nicklas |
72 |
cluster systems. Current support include Open Grid Enging |
5986 |
10 Jul 20 |
nicklas |
73 |
and Slurm. It is possible to connect to, execute commands, |
4203 |
02 Nov 16 |
nicklas |
74 |
control jobs, etc. on configured hosts. |
4203 |
02 Nov 16 |
nicklas |
75 |
</description> |
4203 |
02 Nov 16 |
nicklas |
76 |
</about> |
4203 |
02 Nov 16 |
nicklas |
77 |
<action-factory> |
4203 |
02 Nov 16 |
nicklas |
78 |
<factory-class> |
4203 |
02 Nov 16 |
nicklas |
79 |
net.sf.basedb.opengrid.service.OpenGridServiceFactory |
4203 |
02 Nov 16 |
nicklas |
80 |
</factory-class> |
4203 |
02 Nov 16 |
nicklas |
81 |
</action-factory> |
4203 |
02 Nov 16 |
nicklas |
82 |
</extension> |
4062 |
25 Aug 16 |
nicklas |
83 |
|
4314 |
20 Jan 17 |
nicklas |
84 |
<extension |
4314 |
20 Jan 17 |
nicklas |
85 |
id="net.sf.basedb.opengrid.service.configure" |
4314 |
20 Jan 17 |
nicklas |
86 |
extends="net.sf.basedb.clients.web.services.list.actions" |
4314 |
20 Jan 17 |
nicklas |
87 |
> |
4314 |
20 Jan 17 |
nicklas |
88 |
<about> |
5986 |
10 Jul 20 |
nicklas |
89 |
<name>Job scheduler configuration</name> |
4314 |
20 Jan 17 |
nicklas |
90 |
<description> |
5986 |
10 Jul 20 |
nicklas |
91 |
A service for submitting and managing jobs on computational |
5986 |
10 Jul 20 |
nicklas |
92 |
cluster systems. Current support include Open Grid Enging |
5986 |
10 Jul 20 |
nicklas |
93 |
and Slurm. It is possible to connect to, execute commands, |
4314 |
20 Jan 17 |
nicklas |
94 |
control jobs, etc. on configured hosts. |
4314 |
20 Jan 17 |
nicklas |
95 |
</description> |
4314 |
20 Jan 17 |
nicklas |
96 |
</about> |
4314 |
20 Jan 17 |
nicklas |
97 |
<action-factory> |
4314 |
20 Jan 17 |
nicklas |
98 |
<factory-class> |
4314 |
20 Jan 17 |
nicklas |
99 |
net.sf.basedb.opengrid.service.OpenGridServiceConfigureFactory |
4314 |
20 Jan 17 |
nicklas |
100 |
</factory-class> |
4314 |
20 Jan 17 |
nicklas |
101 |
<parameters> |
4314 |
20 Jan 17 |
nicklas |
102 |
<id>opengrid-service-configure</id> |
4314 |
20 Jan 17 |
nicklas |
103 |
<title>Configure</title> |
4314 |
20 Jan 17 |
nicklas |
104 |
<tooltip>View and reload configuration settings.</tooltip> |
4314 |
20 Jan 17 |
nicklas |
105 |
<icon>/images/configure.png</icon> |
4314 |
20 Jan 17 |
nicklas |
106 |
<data-url>$HOME$/list-clusters.jsp</data-url> |
4314 |
20 Jan 17 |
nicklas |
107 |
<script>~/scripts/services-action.js</script> |
4314 |
20 Jan 17 |
nicklas |
108 |
</parameters> |
4314 |
20 Jan 17 |
nicklas |
109 |
</action-factory> |
4314 |
20 Jan 17 |
nicklas |
110 |
</extension> |
4314 |
20 Jan 17 |
nicklas |
111 |
|
4062 |
25 Aug 16 |
nicklas |
112 |
</extensions> |