source: extensions/net.sf.basedb.opengrid/trunk/META-INF/extensions.xml @ 5992

Last change on this file since 5992 was 5992, checked in by Nicklas Nordborg, 17 months ago

Fixes #1261: Switch to BASE 3.16

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